Thanks. This works well.
One question: how do I configure Catalyst to watch the locales directory and
restart when they are changed (at least while in debugging mode)?
On 27/01/12 13:45 Octavian Rasnita wrote:
> :
> :
> If the terminology differs, then you may use I18N.
>
> You could define your own "languages" for all the terminologies you need, set
> the current "language" with:
>
> $c->languages([$language]);
>
> and then you'll just need to use something like:
>
> [% l('widgets') | html %]
>
> where l() is a macro defined with:
>
> [% MACRO l(text,args) BLOCK; c.localize(text,args) || text; END ~%]
>
> It may work unless the site already needs to use I18N for real languages.
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/