Re: About I18N
| From: | Wolfram Kriesing | Date: | Wed, 20 Nov 2002 19:26:14 +0000 |
| Subject: | Re: About I18N | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2778@lists.php.net to get a copy of this message | ||
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:
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