Hello,
I've upgraded to metronic 9 version and therefore to nextjs
I'm trying to use the i18n component but it doesn't work.
I've simply tried to use it inside an existing demo page.
The i18n key is not replaced by its value, and in the browser console I get this error :
react-i18next:: useTranslation: You will need to pass in an i18next instance by using initReactI18next
Object { code: "NO_I18NEXT_INSTANCE" }
Stack:
warn utils.js:13
warnOnce utils.js:20
useTranslation useTranslation.js:24
DoNotDistrub do-not-distrub.tsx:23
AccountNotificationsContent content.tsx:72
AccountNotificationsPage page.tsx:42
ClientPageRoot client-page.tsx:60
Hi
We have fixed it in the next version. Could you use this link?
https://docs.keenthemes.com/metronic-nextjs/guides/internationalization
Thanks
Thanks !
While waiting the fix, I managed to make it work by doing some modifications but I'll see you update to make it cleaner on my side
Hi
Glad you like it. Please don't hesitate to contact us if you require any assistance.
Thanks
Hi,
We will try to check this issue. It's probably cases by latest Next.js version upgrade.
We will check and fix it in the upcoming features.
Regards,
Sean