Hi, I've been looking around a fair bit on Google, but haven't been able to answer my own question. I have a form that includes an association that uses nested_attributes. When using the label method that uses something like :feature_attributes -- where should one be putting the feature model attribute translations. I've tried putting them in the standard place for models (e.g. activerecord.attributes.feature.published_at) and I've tried nesting them under the model attributes that it's associated with. Can anybody shed some light on this? I am looking at what will be Rails 2.3.6. Thanks, Cedric
on 2010-03-04 23:59
on 2010-03-05 09:38
Try to do that in the en.yml file en: activerecord: attributes: feature: your_first_attribute: "Your first attribute" More info here [1] [1] http://guides.rubyonrails.org/i18n.html#translations-for-active-record-models 2010/3/4 cedric <cedric.howe@gmail.com> > shed some light on this? I am looking at what will be Rails 2.3.6. > . > For more options, visit this group at > http://groups.google.com/group/rails-i18n?hl=en. > > -- Experiencia es lo que obtienes, cuando no obtienes lo que quieres.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.