Hi, is there a proper way to initialize i18next synchronously?
I import my translations from a json file (via webpack), so they're available instantly. Therefore I'd expect i18n.t to be ready to use as soon as i18n.init is called. Instead, I have to wait for callback to be called.
By browsing through the source code, I came up with this:
It's more of a hack than a solution -- is there a proper way to do this?
hm...i see...will call changeLanguage immediatly when passing in resources...will keep you uptodate.
can you try v2.4.1?
Works, thanks :)