In i18nextify, how do I get back the detected/previously stored language? #2073
Replies: 2 comments 1 reply
-
Looks ok to me...if it works it is correct - if not...idk...hard to run the code based on a snippet. Regarding accessing the current lng: https://github.com/i18next/i18nextify/tree/master#translating-javascript-code You can access |
Beta Was this translation helpful? Give feedback.
-
Should there be a post-init call back, something like: window
.i18nextify
.init({
debug: true,
fallbackLng: 'en',
backend: {
loadPath: '/locales/{{lng}}/{{ns}}.json'
}
}).then(...) I see nothing in the docs? Without it, I am getting this:
|
Beta Was this translation helpful? Give feedback.
-
Hi, I am new to i18next/i18nextify.
Beta Was this translation helpful? Give feedback.
All reactions