Local Routing Works Find But Only English is Visible
Unanswered
Asian paper wasp posted this in #help-forum
Asian paper waspOP
We've got several languages setup, and the routing for these work fine. i.e.,
/contact
/de/contact
/fr/contact
These pages only show the English content, but they should be showing the langauge in question. Not sure why that is happening. Any ideas?
We are using
/contact
/de/contact
/fr/contact
These pages only show the English content, but they should be showing the langauge in question. Not sure why that is happening. Any ideas?
We are using
i18next and react-i18next for the translations.6 Replies
Asian paper waspOP
https://nextjs.org/docs/pages/building-your-application/routing/internationalization#accessing-the-locale-information
It looks like I need to request the local details and injext them via context. Not sure how that is supposed to work in this case.
It looks like I need to request the local details and injext them via context. Not sure how that is supposed to work in this case.
Asian paper waspOP
I'm still getting only English returned for our 10 languages. Any ideas on what to do for fixing this?
Asian paper waspOP
So far, I've been through 8 tutorials with no luck.
Asian paper waspOP
Still working on this one. Any ideas?
Asian paper waspOP
Are these required? I thought that the
i18next package is supposed to load languages already. import Backend from 'i18next-http-backend';
import LanguageDetector from 'i18next-browser-languagedetector';Asian paper waspOP
It took 3 days but I got it figured out.