Re: I18N Translations
| From: | Alessandro Astarita | Date: | Mon, 25 Nov 2002 13:27:25 +0000 |
| Subject: | Re: I18N Translations | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-11078@lists.php.net to get a copy of this message | ||
Wolfram Kriesing wrote:
> - a unique interface for all those data source
> like: $translate = new I18N_Message( 'mysql://user@host' );
> $translate = new I18N_Message( 'gettext://directory' );
> $translate = new I18N_Message( 'plainFile://file.xxx' );
> etc.
>
> help/suggestions/implementations would be great :-)
I have written a class that reads gnu gettext mo binary file and wrap
the php gettext functions:
http://asterix.capri.it/i18n.inc.txt
I think can be useful.
--
Alessandro 'Asterix' Astarita <aleast@capri.it>
CapriOnLine S.r.l. http://www.caprionline.com/
"Unix is user friendly, it's just selective about who is friend are"