i'm trying to translate attributes, but doesn't work...
i have my_var defined as translation_key

translations.po has defined translation_key as:

msgid "translation_key"
msgstr "my Page"

when i try to translate i do something like

/<a i18n:attributes="title my_var" i18n:translate="my_var"/>/

this case prints

/<a title="my_var">my Page</a>/

after that, i tried to do:

/<a i18n:attributes="title ${my_var}" i18n:translate="my_var"/>/

this case prints

/<a title="translation_key">my Page</a>/

i have no idea what to do...

thanks for attention...

from Colombia
PHPTAL mailing list

Reply via email to