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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.