i18n-tasks icon indicating copy to clipboard operation
i18n-tasks copied to clipboard

How to keep same folder structure

Open pabloq opened this issue 7 years ago • 1 comments

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!

pabloq avatar Nov 01 '17 18:11 pabloq

Perhaps this in i18n-tasks.yml?

data:
  write:
    - ['{views.policies}.*', 'config/locales/views/policies/\1/%{locale}.yml']

espen avatar Apr 21 '20 19:04 espen