« Gender\Gender::similarNames
简介 »
PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境
PHP Manual
国际化与字符编码支持
Gettext
Gettext
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
Gettext 函数
bind_textdomain_codeset
— Specify the character encoding in which the messages from the DOMAIN message catalog will be returned
bindtextdomain
— Sets 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