http://www.perlmonks.org?node_id=466225

ruoso has asked for the wisdom of the Perl Monks concerning the following question:

hi,

Which would be a good way of using Template::Toolkit together with:

So, what do you say?

Update: For the gettext question, I've already found a good way to do it using a FILTER (thanks davidrw and deliria) (BTW, this example presumes a i18n filter that translates and sprintf the string):

[%"Text to be translated"|i18n%] [%"You gained %d experience points"|i18n($xpdelta)%]
or
[% | i18n %]A Long Text that is better to stay out[% END %]
daniel