[Catalyst] getting TT to translate automatically

Uwe Voelker uwe.voelker at gmx.de
Sun Apr 9 22:59:35 CEST 2006


Hello Daniel,

> <module code>
> package Catalyst::Plugin::TTL10n;

A similar module already exists:
http://search.cpan.org/~chansen/Catalyst-Plugin-I18N-0.05/

It works really well.

> <body>
> [% c.l10n('some text that needs translation') %]
> </body>

[% c.loc('text') %]


Bye, Uwe



More information about the Catalyst mailing list