PHP ʖ²ἯTH
º/A
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/manual/gettext/index.html.
Шdz
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
ԋАʱŤփ
¸À©չģ¿鎴¶¨ҥȎºΉ薃ָn¡£
Դ Ѝ
¸À©չģ¿鎴¶¨ҥȎºΗʔ´ Ѝ¡£
Ԥ¶¨ҥ³£
¸À©չģ¿鎴¶¨ҥȎºγ£¡£
Ŀ¼ 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
º/A
ưµ㼯A
unregister_tick_function
ɏһ¼¶
bind_textdomain_codeset