Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Support subdirectories #368

Open
Androz2091 opened this issue Apr 1, 2020 · 4 comments
Open

Support subdirectories #368

Androz2091 opened this issue Apr 1, 2020 · 4 comments

Comments

@Androz2091
Copy link

Hello,
Actually my applications is structured like that:

i18n/
  en-US/
    misc.json
    common.json
    commands/
      admin/
        play.json
        init.json
      config/
        play.json
        init.json

Only the misc.json and the common.json files are displayed in the app.
It would be nice if all the files were displayed.
Also thanks for your work, I love this app ❤️

@gilmarsquinelato
Copy link
Owner

Thank you @Androz2091!

The app supports subdirectories, but not the way you structured your files, unfortunately.
Using this structure is very hard to merge the files.

The supported file structure is:

i18n/
    misc_en-US.json
    common_en-US.json
    commands/
        admin/
            play_en-US.json
            init_en-US.json
        config/
            play_en-US.json
            init_en-US.json

The testData folder contains all the supported file structure and file types

@Androz2091
Copy link
Author

Sad, since Crowdin supports this structure, I thought it would work. Will this structure be supported one day? :\

@gilmarsquinelato
Copy link
Owner

Unfortunately, I need to take a look into the possibilities, so it's not guaranteed =/

@Androz2091
Copy link
Author

All right. I hope it will be possible!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants