Hello, if I have the following:
$.i18n.init({
dynamicLoad: true
, fallbackLng : 'en-US'
, resGetPath : 'locales/resources.json?lng=__lng__&ns=__ns__'
, useLocalStorage: true // in production you could use this
}, function(t) {
console.log(t('creator.firstname'));
});
I don't get any translation... but if I set useLocalStorage : false then it works fine, I'm a bit confused with that...
Thanks :)
Hello, if I have the following:
I don't get any translation... but if I set
useLocalStorage : falsethen it works fine, I'm a bit confused with that...Thanks :)