Text content did not match. Server: "EN" Client: "ES"
Unanswered
Anhinga posted this in #help-forum
AnhingaOP
Hey I'm using nextjs and i18n and Im getting this error from my languages button.
So i'm changing the language, press F5 and I got this error. I guess its because Im using locale detection in client side ? I need help and thanks in advance..
My i18n conf:
So i'm changing the language, press F5 and I got this error. I guess its because Im using locale detection in client side ? I need help and thanks in advance..
My i18n conf:
const options = {
order: ['localStorage', 'navigator']
};
i18n
.use(XHR)
.use(LanguageDetector)
.use(initReactI18next)
.init({
resources,
fallbackLng: 'en',
detection: options,
supportedLngs: ['en', 'es'],
interpolation: {
escapeValue: false
},
debug: true
});