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

Support root as a locale bundle #14

Closed
Georgegriff opened this issue Jun 9, 2017 · 3 comments
Closed

Support root as a locale bundle #14

Georgegriff opened this issue Jun 9, 2017 · 3 comments

Comments

@Georgegriff
Copy link

My legacy code base (migrating from RequireJS) has its "root" bundle, as per the examples on Requirejs (http://requirejs.org/docs/api.html#i18n) for i18n files configured as such:
//my/nls/colors.js contents:

define({
"root": true,
"fr-fr": true,
"fr-fr-paris": true
});
//Contents of my/nls/root/colors.js

define({
"red": "red",
"blue": "blue",
"green": "green"
});

When using amdi18n it does not appear to pick up the values from my "colors.js" under /root/, is it possible to use the loader in this way? I am unable to modify our resource files because i cannot touch the code base as we have legacy integrations to support.

Cheers

@TooBug
Copy link
Contributor

TooBug commented Jun 11, 2017 via email

@TooBug TooBug closed this as completed in 119e15d Jun 11, 2017
@TooBug
Copy link
Contributor

TooBug commented Jun 12, 2017

available in 0.6.0

@Georgegriff
Copy link
Author

Excellent :) 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