Hello, i have a strange issue, but maybe i just do not know some special
conventions.

If i put

  fr:
    yes: 'oui'
    no: 'non'

in my fr.yml localization file, then <% t 'yes' %> produces 'Yes'
instead of 'oui'.
However any keys other than 'yes' and 'no' work fine: if i put

  fr:
    y: 'oui'
    n: 'non'

then <% t 'y' %> gives 'oui' as expected.

Can anyone please explain to my why i cannot use 'yes' and 'no' as keys
in localization files?
Thanks.

Alexey.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to