The scope is not under activerecord, but activemodel, which you can change: https://github.com/rails/rails/blob/master/activemodel/lib/active_model/translation.rb#L26-29
Hope this helps Cheers, iain On Mon, Feb 7, 2011 at 20:38, Fernando Perez <[email protected]> wrote: > I have a Contact model that is a non activerecord model. I can use the > validation thanks to Rails3, but I do not in which section of > en.yml/de.yml I should localize the attributes of my Contact model. > > -- > 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]. > 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.
