>That's an uppercase /I18N/ - right? >I don't recommend you mess about with individual files with your >perl's core @INC directories. >If you're patching a module, such as in this case - keep it in a >seperate directory - under revision control - and "use lib" to add it >to your @INC path - otherwise you'll end up with a messed up perl >install.
i'm not messing with anything, the pt_br that you have now i am the one who created it, i just copied the en.pm to pt_br and translated, send to this list BUT i myself can't use it :P if i put pt_br in my code it's opening the wrong file i just don't know what to do. Is there any location that register the l10n files? the .yml file is exactly the same as the .conf one with just a text field both have the same args. i attached the two files. the database if fine cause tt shows all unicode correctly it's just put a [% form %] in tt that all the page get screwed but with .conf is fine. Cheers, Daniel. ----- Mensagem original ---- De: Carl Franks <[EMAIL PROTECTED]> Para: "HTML Form Creation, Rendering and Validation Framework" <html-formfu@lists.scsys.co.uk> Enviadas: Sexta-feira, 29 de Agosto de 2008 4:49:36 Assunto: Re: [html-formfu] pt_br translation and some problens with .conf files 2008/8/28 Daniel Nicoletti <[EMAIL PROTECTED]>: >>Running a simple script with languages('pt_br') works OK for me. >>Are you sure the pt_br.pm file is in your @INC path? > > well i created the pt_br file, but i might put it into the wrong place > which seems stupid cause i pasted it on the place all lang.pm was > /usr/local/share/pel/5.10/HTML/FormFu/i18n/ > i search all my /usr for a es.pm file.. and only find there.. That's an uppercase /I18N/ - right? I don't recommend you mess about with individual files with your perl's core @INC directories. If you're patching a module, such as in this case - keep it in a seperate directory - under revision control - and "use lib" to add it to your @INC path - otherwise you'll end up with a messed up perl install. > and here you can find someone with the same problem, .yml to .conf > > http://grokbase.com/topic/2007/09/27/html-formfu-catalyst-formfu-and-unicode/Fz1iiCJALrQjSBxuyUjNL8ddcM8 Unfortunately, all the bullet points in that email message are BAD ADVICE. If you scroll down to the 2nd email - from me - you'll see that I got the application working properly by following all the points in HTML::FormFu::Manual::Unicode - which I wrote after a lot of work finding out how to use unicode properly with perl. If, after following all the advice in HTML::FormFu::Manual::Unicdoe, it doesn't seem to work - make sure that your own unicode in your database / config files / template files is all correct by viewing them in a utf8-aware terminal - and not using perl. > The yml had only a submit and a text field, but > i got worst that if i didn't had unicode > i just switched to .conf and everything is perfect here > except the my translated file If .conf files work for you - that's ok, use them - but the only reason your yaml files aren't working is because your application isn't handling unicode properly - read HTML::FormFu::Manual::Unicode. And you still didn't attach the yaml and .conf files - so I can't help you further! Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu Novos endereços, o Yahoo! que você conhece. Crie um email novo com a sua cara @ymail.com ou @rocketmail.com. http://br.new.mail.yahoo.com/addresses
formfu_create.conf
Description: Binary data
formfu_create.yml
Description: Binary data
_______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu