PHP gettext - Summary
This project is not part of the GNU Project.
GNU gettext library is one of best localization libraries (if not the best). Unfortunately, in order to use it with most widespread (and ugly) language of PHP, the system has to support desired locale, and library itself must be installed.
Since this is rarely the case, PHP-gettext is developed to be able to read gettext MO files directly, without requiring anything other than PHP.
Currently, it's usable if you develop most of the infrastructure for choosing language on your own, because it's possible to use both gettext() and ngettext() calls. In the near future, it should also be fully compatible drop-in replacement for all of gettext functionality written in PHP.
Since I'm not very fond of PHP the language, there'll be a lot to fix, so feel free to track development and post your fixes and suggestions, or to report bugs.
No mailing list for now, but feel free to contact me at <danilo EATS kvota AND net>.
Registration Date: Sat 01 Nov 2003 10:41:51 PM UTC
License: GNU General Public License v2 or later
Development Status: 4 - Beta
posted by bascelik, Tue 07 Feb 2006 09:58:39 PM UTC - 0 replies
php-gettext 1.0.7 is out providing more goodness to emulation layer.
Instead of requiring you to use LANG environment variable, you should now use T_setlocale() to replace your setlocale() calls. For maximum portability, you should also replace ...
[Read more]
posted by bascelik, Thu 02 Feb 2006 08:26:31 PM UTC - 0 replies
Time for a new php-gettext release!
This one includes a fix by Nico Kaiser (this time for plural forms handling), and a couple of simple anonymous fixes from Savannah bug tracker.
But the biggest news is that I finally integrated Steven ...
[Read more]
posted by bascelik, Fri 29 Jul 2005 06:23:18 AM UTC - 0 replies
PHP gettext 1.0.4 and 1.0.5 were released fixing all important bugs in code (I was too quick in releasing 1.0.4, so I followed it up with 1.0.5).
The most important bugfix is handling of plural-forms header field with some unusual, yet valid PO files.
Bug fixes:
https://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=13771
https://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=13850
posted by bascelik, Mon 28 Feb 2005 09:44:34 AM UTC - 0 replies
Nico Kaiser <nico siriux net> has done tremendous work in improving speed performance of PHP gettext, and his work is now available in the latest PHP gettext tarball:
http://savannah.nongnu.org/download/php-gettext/php-gettext-1.0.3.tar.gz
If code is any more readable now, it's also thanks to Nico, so send him a cheer!
There're several other fixes (notably, PHP5 compatibility, due to a PHP5 bug), so start spreading the joy to the masses!
[Submit News]
[4 news in archive]


