开发者

Rails, Globalize 3 and CRUD operations

开发者 https://www.devze.com 2023-03-10 21:34 出处:网络
How am I supposed to write the forms for my models where I\'m using globalize3 for translations. I cannot find any examples and I don\'t find any helpers in the code.

How am I supposed to write the forms for my models where I'm using globalize3 for translations. I cannot find any examples and I don't find any helpers in the code. The idea would be to have everything in one form like

text_field :title

text_field :title_fr

text_field :title_en

etc...开发者_运维问答.

Thanks for pointing me to some code examples.


It looks like everything I need is in batch_translations fork adapted to Rails3/Globalize3:

https://github.com/fidel/batch_translations

I don't know if I supposed to delete this question or leave it for the future. Moderators please decide :)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号