Globalization package for node JS
npm install globalization-moduleA package for NodeJS API, choose the language of your texts
``javascript
var user_preferred_lang = "en_US";
var Globalization = require('globalization-module');
var globalization = new Globalization(user_preferred_lang);
console.log(globalization.lang("default.test")); //print My sample test text!
globalization.setLang("pt_BR");
console.log(globalization.lang("default.test")); //print Meu texto de exemplo!
`
#### File: lang/en_US/default.json
`json`
{
"test": "My sample test text!"
}
#### File: lang/pt_BR/default.json
`json``
{
"test": "Meu texto de exemplo!"
}