On 02.04.2010, at 14:20, Florent wrote:
>
> I know that phptal i18n gettext implementation is fetching translations
> at run time.
> Performance-wise, it would be interesting to fetch translations at parse
> time and cache one compiled template per locale.
> Some workaround would be needed for plu
As part of my integration into Zend Framework, I wrote a replacement translator
service for phptal. you basically just write a class that implements
PHPTAL_TranslationService and then when you create the phptal instance you call
its 'setTranslator' method and pass in an instance of your class.
Hi,
I know that phptal i18n gettext implementation is fetching translations
at run time.
Performance-wise, it would be interesting to fetch translations at parse
time and cache one compiled template per locale.
Some workaround would be needed for plural translation, probably some generated
code ba