RE: [PHP-I18N] gettext

From: Date: Thu, 28 Mar 2002 17:29:55 +0000
Subject: RE: [PHP-I18N] gettext
References: 1  Groups: php.i18n 
Request: Send a blank email to php-i18n+get-246@lists.php.net to get a copy of this message
Hi Andres, I have developed I18N_Messages class and put it in PEAR. It translates text like gettext does and does not need gettext to be installed on your server. Actually, it is meant to be an abstruction layer of how messages are translated. Currently, there is only I18N_Messages_File class that you can use to do the job. You can find it in CVS. You can look at it at http://cvs.php.net/cvs.php/pear/I18N/Messages I am working on gettext wrapper with the exact same API of I18N_Messages_File. That means when it's ready, you can switch back to gettext with little configuration change. Additionally, there is a plan on making I18N_Messages_DB. This class will fetch translated text from the database. Hope it might help, Naoki Shima naoki@avantexchange.com

« previous php.i18n (#246) next »