[Catalyst] What are the best practices for using phrasebooks
robrwo at gmail.com
Tue Jan 31 19:03:29 GMT 2012
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:
> 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.
More information about the Catalyst