Re: About I18N
| From: | Marcos Lois Bermúdez | Date: | Thu, 21 Nov 2002 16:43:53 +0000 |
| Subject: | Re: About I18N | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-2791@lists.php.net to get a copy of this message | ||
I see the code of the I18N package and it use a database for tranlations, if the web server are heavy loaded and the pages are complex with a lot of strings to translate, this implementation can overload a bit the database??
Anybody test the performance of this package??
Regards.
At 20:26 20/11/2002 +0100, you wrote:
i am using the i18n in all my applications and it works fine. what the I18N_Message_Translate is meant for is to work against a db where you have a sourceLanguage and any number of destination languages. it really makes sense when using with a template engine that compiles the tempaltes and you just translate the compiled templates once. so they only need to be retranslated when a change in the template occured, which actually doesnt happen in a productive environment. examples are in the i18n package. the l10n package is also on the way, until it goes into pear you can download it from http://opensource.visionp.de/modules/project/l10n.php regards wolfram Marcos Lois Bermúdez wrote:----------------------------------------------- Marcos Lois Bermúdez marcos.lois@iqc-services.com IQC - Services Avda. Garcia Barbón, 90 / 4ºB 36201 Vigo (Pontevedra) Tel: +34 986.884.244 Fax: +34 986.415.074 http://www.iqc-services.com -----------------------------------------------I want to make a portal in PHP, and use the PEAR code library, at this point i use DB, SOAP, an such others. I need to implement I18n, I10n, for the site, my main headsache are the performance, in other proyects for message translation i use set_locale and gettext I see that a I18n packet are in PEAR, i question if anybody have test it, and where i can get a example of translate messages, to check the performence. Is a good idea make a warper around the gettext function in the I18n package? if it's interesting i can collaborate on them. Any help are apreciated. ----------------------------------------------- Marcos Lois Bermúdez marcos.lois@iqc-services.com IQC - Services Avda. Garcia Barbón, 90 / 4ºB 36201 Vigo (Pontevedra) Tel: +34 986.884.244 Fax: +34 986.415.074 http://www.iqc-services.com ------------------------------------------------- Wolfram ... translating template engine .... http://sf.net/projects/simpletpl ... authentication system .... http://sf.net/projects/auth -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php