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 based on the plural form defined in PO files.
My question :

>From where would you start in phptal code to change this behavior?

How can I hook into i18n namespace and implement my own modifier?

PHPTAL mailing list

Reply via email to