I18n and Rails 2.3.5

Has anybody faced any problem to use i18n on Rails 2.3.5? Sometimes when
I
call the t function, it works fine, but for some keys, it does not
work
and I have no clue why it is going on.

I do have a .yml with correct keys and values. For example, in this (
http://dev.promine.com.br/promine) page, i18n is working properly, but
in
this (http://dev.promine.com.br/servicos) one, it isn’t? Any suggestion
about what is happening? Thanks in advance.

Rodrigo F.

Does anybody know if the word “services” can be a key into a i18n file?
If I
use “service” I can get the value, but when I use “services” a
translation_mission error is showed. Really weird.

On Fri, Mar 19, 2010 at 6:34 PM, Rodrigo F. <

I figured out what was going on. I had defined a routes.yml to translate
the
routes and into this file I had a key “services: Services”. So, it was
overwriting the value of a services key (with children keys) that I
had
defined into another file. Thanks.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs