Open
Description
Hello,
I have an issue with sails internationalization. I have created a simple example for that. I want to translate a key to a different language other than default language in the controller. My default language is en but in international controller I want to translate welcome in french. I referred few articles but got no success in old sails documentation there was a way
sails.__({
phrase: 'Welcome',
locale: 'fr'
});
to translate a key on the fly but it is running into error.
I am using
Sails version 1.0.0-45
Node version 8.9.1
npm version 5.5.1
DB Adaptor : sails-postgresql
Operating System : Windows 7, 8 as well as Ubuntu
The example project is here on git hub https://github.com/vkkmehra/international
Thanks