# Gettext

# 简介

gettext函数实现了NLS (Native Language Support) API，他可以用来国际化您的PHP程序. 请参阅gettext的文档，为您的系统进行国际化功能的详尽的解释 或查看文档 » http://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

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open