i18n-tasks
i18n-tasks copied to clipboard
How to keep same folder structure
Hi all,
I'm trying to configure this gems to be able to keep the same folder structure designed for the project (RoR).
The folder structure is like this:
locales -> controllers -> policies -> en.yml ja.yml views -> policies -> en.yml ja.yml etc ....
I would like to be able to auto generate ja.yml (using google stuff) keeping same folder structure.
Is there a way to accomplish this?
thanks!
Perhaps this in i18n-tasks.yml?
data:
write:
- ['{views.policies}.*', 'config/locales/views/policies/\1/%{locale}.yml']