I'm writing an application that will be accessed by users of different languages.
As I understand, the standard way to localize Rails app is to use gems i18n
(localize static text) and globalize
(localize db field values). These gems work fine and let me display fields in different languages on a same view using Globalize.with_locale(...) { ... }
.
However, what I need to do is to input values in different languages on a same view. How can I do that?
UPDATE
More specifically - I need to have a number of <inputs>
inside <form>
which (after the form is submitted) save their values into different locales.
____________________________
Description (en): | Ruby |
|____________________________|
____________________________
Description (de): | Rubin |
|____________________________|
etc