i'm trying to translate attributes, but doesn't work...
example...
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
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to