I meant translation of the content of those attributes, not the name of the attributes
On Tue, Nov 8, 2011 at 7:29 AM, Xuan <xua...@gmail.com> wrote: > You need a config/locales/es.something.yml file that looks like: > > es: > [...] > activerecord: > models: > user: Usuario > attributes: > user: > name: Nombre > [...] > > This way you'll have your attribute and models names translated when > you use. > Remember to have the same strings translated for, at least, :en and to > keep an eye on spaces and indents when editing .yml files > > form_for :user .... do |f| > f.label :name > ... > > Regards. > > -- > 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. > > -- 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.