On 7/17/2012 4:07 PM, Jan Grmela wrote:
Hi there,
I'm just in process of implementation translations to our new app.
We're using Catalyst with Catalyst::Controller::HTML::FromFu and
Template Toolkit as a templating engine along with
Catalyst::Plugin::I18N to localize our app.

The base translation is done using a plain strings (not translation
keys). So for "Sign In", we've got in the cs.po file "Přihlásit se"
(in Czech).

The problem we have is the template & controlller translation work
fine (the text after and before the form is translated) but we can't
make FormFu to use the non-english translated file.

=========
Our config:
=========
'Controller::HTML::FormFu' =>  {
                constructor => {
                                render_method   => 'tt',

Hi!

Try to insert next line here:

                                languages       => [ 'cs', ],






                        tt_args => {
                                ENCODING => 'UTF-8'
                        }
                },
                languages_from_context  => 1,
                localize_from_context   => 1,
},

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to