You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: