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





_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to