[Catalyst] Localizing output in Catalyst plugins using $c->loc

Tomas Doran bobtfish at bobtfish.net
Mon Sep 3 19:43:20 GMT 2012


On 3 Sep 2012, at 08:53, Jan Grmela wrote:
> What is the best way to localize strings in a Catalyst plugin?

If it's a 'real' plugin, then it's already composed onto the app, and so you can just use $c->loc - do you instead mean a model or other component that doesn't have such easy access?

Cheers
t0m




More information about the Catalyst mailing list