We have users Preferences with Standard Value.

 First Table : Preference_Topics : ID, Title
 Second Table : Preference_topic_options : ID, Value,
Preference_topic_id

One Topic Title have many options Value.

I want to add a Translation for each language in the website to these
Topic Title and theirs options associated.

I want to know what is the best way to implement this translation module
in the admin website.

The first idea is :

To make 2 another table :

One for Topic Title Translate with ID, title, Preference_topic_id
Second for Options Value translate with ID, value, preference_topic_id,
preference_topic_option_id

The second idea is :

To use YML and build an interface to add translation of each terms who
need to be translated.

We don't want edit the YML but he can be edited directly accross the
Admin Website.


I want to know what is the best way to implement translation for each
topic and theirs options. And if i do it with the tables how i can
display the associated model in the view for the translate value of each
language

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups 
"rails-i18n" 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/rails-i18n?hl=en.

Reply via email to