Forum: Rails I18n I18n partially working in production

E46593732261d73ee99adc380b7f767a?d=identicon&s=25 Greg Ma (gregorylepacha)
on 2010-12-11 11:00
Hi,
I have a problem with i18n in production. I use for form error messages.
I don't know why but it translates but not everything.

Here is what I get when I submit a not valid form. (french)

Impossible d’enregistrer {{model}}: {{count}} erreurs.

Les champs suivants posent problème :

    * {{attribute}} {{message}}
    * {{attribute}} {{message}}
    * {{attribute}} {{message}}

The attributes aren't found or something but I works perfectly in
development.

Any idea?
4a551074ddba4460f95d011c47190d0e?d=identicon&s=25 Henrik --- (malesca)
on 2010-12-11 11:23
(Received via mailing list)
Perhaps different versions of Rails/the i18n gem? Older versions use
{{}}
and newer versions use %{}.
Be0e34508f1c13b3d4753c29b9267cee?d=identicon&s=25 Black Mt (black7mt38rpke4p)
on 2010-12-28 20:55
I think malesca is right you need to have both updated versions.
____________________
Check out http://www.moneytoplist.com/ residual affiliate programs and
get recurring money.
This topic is locked and can not be replied to.