Re: Translation class proposal
| From: | Bertrand Mansion | Date: | Fri, 20 Sep 2002 10:50:38 +0000 |
| Subject: | Re: Translation class proposal | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-9253@lists.php.net to get a copy of this message | ||
le 20/09/02 12:45, Wojciech Zielin´ski à voyteck@caffe.com.pl a écrit :
> I laready mentioned on this list about this - but now I would like to
> raise an "official" proposal:
> Translation class - class that allows user to store all the strings and
> their translations in many languages in the DB and quick'n'easy get them
> from there.
> As Brent Cook already mentioned - this class is somewhy similar to
> gettext native PHP function, however my class is doing this using DB
> instead of (in my oppinion) slower flat files. Besides using DB allows
> much easier management of the strings in the site.
> You can see this class working and also download the class and examples
> on http://voyteck3.free.komrel.net/translation/
> I'll be very gratefull for any comments :)
A bit off topic, but I was wondering if using .ini files and a
parse_ini_file() function wouldn't be faster to store and access strings ?
Just an idea...
Bertrand Mansion
Mamasam