php-gettext is a library for emulating gettext (a widely used framework for internationalization) in PHP.
The following example works on Mac OS X with Apache, i.e. I get the translated string echoed back. But …
php ubuntu gettext php-gettextThis is a little code snippet from php manual: putenv('LC_ALL=zh_CN'); setlocale(LC_ALL, 'zh_CN'); bindtextdomain(…
php gettext php-gettext