[html-formfu] I18N localization and Catalyst

Carl Franks fireartist at gmail.com
Fri Jun 26 07:46:55 GMT 2009


2009/6/26 Johannes <list100 at hoerburger.org>:
>
> Like that it's just one additional line in every yml and that should be it
> :)

Don't forget - if it's something you're wanting in every form, and
you're using Catalyst - just put this in your app config:

'Controller:HTML::FormFu':
  constructor:
    add_localize_object_from_class: 'MyApp::I18N'

That way, you don't need to change any of the form config files :)

Cheers,
Carl



More information about the HTML-FormFu mailing list