I have a problem regarding submitting multiple locale translations for model data within the same form. For example:
Post model:
translates :title
How can I post in the ‘new’ action view which contains the form so that I can submit my title in both :en locale and :fr locale for example?
Thanks.
You can take a look at https://github.com/alvarezrilla/batch_translations
On Rails 3 and globalize3 I had to change a few things for it to work properly. Change all globalize_translations methods to simply translations, remove the proc.binding params to @template.concat and add to your model
But it’s all working.
Your form should look something like this:
If you have more problems, I’ll commit a working version of this for Rails 3.