If you want to translate data and not just static content, I highly 
recommend using Globalize2 as it has the best of both worlds.  You can 
still use locale files for static content, but you can also use 
translation tables.  I also wrote a small extension to it that I can 
share if you'd like that lets you do things like en_name and sp_name and 
so on to get the translated name you want.  I tried it out for my last 
project, and I'm loving it.

Thanks,

Bassel
http://www.imustrant.com

Fernando Perez wrote:
> Let's say I want to submit a user. Currently if the user submission
> fails, I get the name "user", but I would like to translate it into
> other languages.
> 
> I can make the translation work for its attributes but not the model
> name itself.
> 
> Thanks in advance.

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Railsi18n-discussion mailing list
Railsi18n-discussion@rubyforge.org
http://rubyforge.org/mailman/listinfo/railsi18n-discussion

Reply via email to