Forum: Rails I18n Internatiolazing columns in Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Aaf1626e8a8180149b047cbba0223695?d=identicon&s=25 wardenik (Guest)
on 2010-09-03 14:08
(Received via mailing list)
Hey,

I'm a newbie with Rails and ActiveRecord so sorry for stupid question
if it is stupid though ;)
I have read several articles about making i18n for validation
messages, models and stuff.
What I want to do, is different language for the record contents
though.
So, by example.
I have a table Faculty:
id
name_en
name_es
name_pl

can I do that automagically with ActiveRecord and Rails?
4a551074ddba4460f95d011c47190d0e?d=identicon&s=25 Henrik --- (malesca)
on 2010-09-03 14:11
(Received via mailing list)
You need a plugin. I use translatable_columns:
http://github.com/henrik/translatable_columns
This topic is locked and can not be replied to.