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.

Reply via email to