Depois de buscas exaustivas no google ainda não consegui utilizar o i18n para internacionalização de aplicações com o Rails 3. Parece que houve algumas mudanças em como utilizá-lo a partir do Rails 3. Gostaria de criar minhas aplicações em português, sem ter que ficar traduzindo as views na unha. Qual seria a maneira mais indicada de fazer isso?
Translating:
After exhaustive searches on google I still can not use the i18n internationalization of applications with Rails 3. It seems that there were some changes in how to use it from Rails 3. I would like to create my applications in Portuguese, without having to stay reflecting the views on the nail. What would be the better way to do this?
Actually there were just some minor changes, like the new interpolation syntax (was "Helo {{user}}" and now it is "Hello % {user}").
What exactly is the problem you are finding in use I18n?
Inside the folder "locale" I save the file pt-BR.yml. So, I've configured the application.rb file with "config.i18n.default_locale = :pt-BR" . When I've tried to start the server: rails server, I got this message: <local of my application>/application.rb:32: uninitialized constant DicEtim::Application::BR (NameError), etc.... I don't know why, after I remove the "-BR" part of the file name, I didn't get the error message anymore.
This is an example of my file (pt.yml):