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

multiple messages files #11

Open
adros opened this issue Dec 22, 2015 · 1 comment
Open

multiple messages files #11

adros opened this issue Dec 22, 2015 · 1 comment

Comments

@adros
Copy link

adros commented Dec 22, 2015

As I understand from the doc / config, the idea is to have only one messages file (per locale) per whole application? Or is it possible to define multiple files with localization resources?

E.g. I would like to have

moduleA/messages/en.json
moduleA/messages/es.json
moduleB/messages/en.json
moduleB/messages/es.json
@rxaviers
Copy link
Owner

Correct, the current API supports one message file per whole application, but it should be easy technically to extend support for multiple messages files. I'm open to accept a PR with such addition, would you be willing to submit it? If so, please first add new comments with proposing changes to the API (e.g., how is config going to look like).

Thanks

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

2 participants