Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatible locale folder/file structure for locize translation service #127

Open
MonsieurBon opened this issue Mar 20, 2019 · 0 comments

Comments

@MonsieurBon
Copy link

Hi @martinroob

Thx for this awesome tool. It enables me to use https://www.locize.io with angular without the need for an additional dependency.

However, locize uses a directory structure like this:

locales
├── de-CH
│   ├── messages.xlf
├── fr-CH
│   ├── messages.xlf

So in order to work with this, I need to move all files from messages.de-CH.xlf to de-CH/messages.xlf. It would be awesome if I could configure how xliffmerge separates the locales (eg. "localeDiscriminator"). Possible options could be "filename" (default) and "directory".

I could also send you a PR for this.

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

No branches or pull requests

1 participant