Gettext
简介
gettext函数实现了NLS (Native Language Support) API,他可以用来国际化您的PHP程序. 请参阅gettext的文档,为您的系统进行国际化功能的详尽的解释 或查看文档 » https://www.gnu.org/software/gettext/manual/gettext.html.
- 安装/配置
- Gettext 函数
- _ — 别名 gettext
- bind_textdomain_codeset — Specify or get the character encoding in which the messages from the DOMAIN message catalog will be returned
- bindtextdomain — Sets or gets the path for a domain
- dcgettext — Overrides the domain for a single lookup
- dcngettext — Plural version of dcgettext
- dgettext — Override the current domain
- dngettext — Plural version of dgettext
- gettext — Lookup a message in the current domain
- ngettext — Plural version of gettext
- textdomain — Sets the default domain
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
