jamuhl/i18next — Issue #3: useLocalStorage is set to true I don't get any translation
Author: panosru
Created: 2012-02-02 13:31:42+00:00
State: open

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 :)