[Catalyst] C::C::FormBuilder and localization

Ferruccio Zamuner nonsolosoft at diff.org
Sat Jan 27 23:35:19 GMT 2007


Juan Camacho wrote:
> On 12/11/06, Goetz Bock <bock+catalyst at blacknet.de> wrote:
>> Dear list,
>>
>> I'm triing to build a localisable catalyst app, using C::C::FormBuilder.
>>
>> But I'm not able to get it to work:
>>
>> - i could use c->localize to translate my forms, but using custom
>>   templates does now work (see other mail)
>
> Sorry, can't help you here, but let me know if you can get it to work
> with CGI::FormBuilder directly and not C::C::FormBuilder.   Also, give
> the following a try if you haven't already:
>
>    MyApp->config(
>        'Controller::FormBuilder' => {
>            new => {
>                messages   => '/locale/fr_FR/form_messages.txt',
>            },
>        }
>    );

I've seen that I can't use template macro on labels into .fb files to 
get translations.
Do you think to enable this possibility in next future or is there 
another way?


Bye,                    \fer



More information about the Catalyst mailing list