[Templates] i18n with Template-Toolkit (localization, internationalization, multiple languages, multilingual)
Éric Cholet
cholet at logilune.com
Thu Jul 17 18:08:11 BST 2008
Le 17 juil. 08 à 06:03, Tosh Cooey a écrit :
> So in addition to the methods from Eric:
> http://mail.template-toolkit.org/pipermail/templates/2008-July/010293.html
> and Lee:
> http://mail.template-toolkit.org/pipermail/templates/2008-July/010292.html
>
> there's also this from PM: http://www.perlmonks.org/?node_id=466269
>
That's just syntactic sugar though, not a new method. Once you're
using Locale::MakeText, it's easy to use
[% lh.maketext('some message') %]
[% loc('some message') %]
[% 'some message' | loc %]
depending on your aesthetic preference.
--
Éric Cholet
More information about the templates
mailing list