English
欢迎访问www.CanadaSky.com,本站快捷网址:www.caSky.com
本站免费二级域名:YourName.caSky.com
帮助信息 服务条款
网站简介 隐私保护
客户服务 联系我们
免费注册 忘记密码
电脑技术文档索引 Red Hat Linux 9 设置指南 Red Hat Linux 9 入门指南 Red Hat Linux 9 安装指南 FreeBSD中文参考手册
PHP参考手册 Apache 2 中文参考手册 MySQL4.1中文参考手册 QMail中文参考手册 PostgreSQL 8.0.0 中文文档

Gettext

XXXV. Gettext

介绍

The gettext functions implement an NLS (Native Language Support) API which can be used to internationalize your PHP applications. Please see the gettext documentation for your system for a thorough explanation of these functions or view the docs at http://www.gnu.org/software/gettext/manual/index.html.

需求

To use these functions you must download and install the GNU gettext package from http://www.gnu.org/software/gettext/gettext.html

安装

To include GNU gettext support in your PHP build you must add the option --with-gettext[=DIR] where DIR is the gettext install directory, defaults to /usr/local.

Note to Win32 Users: In order to enable this module on a Windows environment, you must copy gnu_gettext.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32). Starting with PHP 4.2.3 the name changed to libintl-1.dll, this requires also iconv.dll to be copied.

运行时配置

该扩展模块未定义任何设置指令。

资源类型

该扩展模块未定义任何资源类型。

预定义常量

该扩展模块未定义任何常量。

目录
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


自动支持 1024x768 和 800x600 最佳页面显示效果, 请使用IE4.0以上浏览器浏览本站
版权所有© 2002-2005 加拿大晴空网 网站简介 帮助信息 服务条款 隐私保护 广告业务 客户服务 联系我们