Answer the question
In order to leave comments, you need to log in
How to add locales for i18n from admin panel?
Hello. There is a project on rails 3.2.2, which implements work with several languages (currently 3). There was a need to add locales from the admin panel. I did editing existing locales, but I can’t figure it out with the creation of new ones.
Answer the question
In order to leave comments, you need to log in
Well, you're editing something, aren't you? This is something that needs to be created. Tell me, for starters, what exactly do you edit?
I understand this is a .yml file?
You need to find/write your own backend for the i18n gem that takes localization data from the database. What you have done for yml files will not work in production without reloading the whole application.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question