# I18n and Rails 2.3.5

**URL:** <https://www.ruby-forum.com/t/i18n-and-rails-2-3-5/185434>\
**Category:** Rails\
**Created:** [March 19, 2010, 10:35pm UTC](https://www.ruby-forum.com/t/i18n-and-rails-2-3-5/185434 "2010-03-19T22:35:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bartolome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bcef8e/32.png) [@bartolome](https://www.ruby-forum.com/u/bartolome)\
**Post date:** [March 19, 2010, 10:35pm UTC](https://www.ruby-forum.com/t/i18n-and-rails-2-3-5/185434/1 "2010-03-19T22:35:34Z")

</div>

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](http://dev.promine.com.br/promine)) page, i18n is working properly, but  
in  
this ([http://dev.promine.com.br/servicos](http://dev.promine.com.br/servicos)) one, it isn’t? Any suggestion  
about what is happening? Thanks in advance.

_Rodrigo F._

---

<div class="post-metadata">

**Author:** ![bartolome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bcef8e/32.png) [@bartolome](https://www.ruby-forum.com/u/bartolome)\
**Post date:** [March 21, 2010, 3:37am UTC](https://www.ruby-forum.com/t/i18n-and-rails-2-3-5/185434/2 "2010-03-21T03:37:21Z")

</div>

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. \<

---

<div class="post-metadata">

**Author:** ![bartolome](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/bcef8e/32.png) [@bartolome](https://www.ruby-forum.com/u/bartolome)\
**Post date:** [March 21, 2010, 4:15am UTC](https://www.ruby-forum.com/t/i18n-and-rails-2-3-5/185434/3 "2010-03-21T04:15:23Z")

</div>

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.
