Thanks for your advice @phptal plural forms. It is working but i stuck on other problem - how to add plural translation in a tal variable?

for example:
<div i18n:translate="structure session/message"/>

and session/message for $n = 5 looks like:
'Added <tal:block i18n:name="n" tal:replace="string:5"/> pictures into queue';

phptal is ommitting whole <tal:block> element.

afaik phptal is always ommiting attributes in variables, can it be tackled someway?

PHPTAL mailing list

Reply via email to