Replies: 1 comment 3 replies
-
This ONLY happens on the homepage. The other pages appear to be working fine. For example Code at
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I have the following
next-i18next.config.js
:For some reason, when I run the project and visit
http://localhost:3000/
it automatically routes tohttp://localhost:3000/en
and the English version of the page is shown.If I remove
en
fromlocales: ['es', 'en'],
. Everything works as expected,http://localhost:3000/
shows the localized version in Spanish, but then, understandably, thehttp://localhost:3000/en
throws a 404.Any ideas on why this might be happening?
Beta Was this translation helpful? Give feedback.
All reactions