Translator server for RequireJS i18n files.
Translator server for RequireJS i18n files. See http://requirejs.org/docs/api.html#i18n for more details. Currently the server requires that you have defined your root bundle in the top level module.
Server can handle both .js and .coffee files.
npm install -g ui-translator
//Contents of my/nls/colors.js;
//Contents of my/nls/fr-fr/colors.js;
then running the server with
You may also pass second argument which is list of ignored paths for the parser. ie.
ui-translator my/ my/other,my/third
Then when the parser walks through the root folder and if there would be my/other/nls -folder it would get ignored