Translation class proposal
| From: | Wojciech Zieliński | Date: | Fri, 20 Sep 2002 10:45:05 +0000 |
| Subject: | Translation class proposal | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-9252@lists.php.net to get a copy of this message | ||
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 :)
Regards
Wojciech Zieliński