Hendrik
Hendrik

Reputation: 4939

Translating entries in the database rails

In our application users can create a set of categories. Those categories each contain products. On the website customers can then see the categories - currently only in one language.

We would like to add translations so that the customers can view the data in different languages. This would mean that the the user has to be able to add translations to the actual data.

Based on this question: Rails I18n via database column I should add a couple of database columns for each locale.

Has anyone solved a similar problem?

Upvotes: 0

Views: 92

Answers (2)

dimitarvp
dimitarvp

Reputation: 2383

I have used globalize3 numerous times and always liked it. Maybe it can help you too.

Upvotes: 3

AnkitG
AnkitG

Reputation: 6568

I had something similar kind of requirement where this episode helped me . I was not changing the language but i wanted to externalize some of the currency parameters as the currency per country changes. Here is my sample application code

Upvotes: 0

Related Questions