2011/1/4 Mitchell Gould <[email protected]> > I have a form with labels that I translate using the I18n format with > YAML files. > > If the user does not fill in a field properly on the form an error > message is displayed. > > I have managed to set up the YAML file to translate the messages but the > name of the field in the error message does not get translated. > > For example: > City doit être rempli >
Mybe this help you: http://edgeguides.rubyonrails.org/i18n.html#translations-for-active-record-models en: activerecord: models: city: city in german > > How to I make sure the field names are translated in the error message? > > Thanks in advance. > > Mitch > > Attachments: > http://www.ruby-forum.com/attachment/5650/Picture_3.png > > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "rails-i18n" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<rails-i18n%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/rails-i18n?hl=en. > > -- You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en.
