Replies: 2 comments 1 reply
-
You can't use |
Beta Was this translation helpful? Give feedback.
0 replies
-
You might want to check out the middleware docs in detail to learn about how to change languages and which redirects are applied. I'll move this to a discussion since it's a usage question. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem? Please describe.
I have language dropdown with NextLink. If I'm on "localhost:3000/de", when I click "/" link it should move to "/" but it doesn't. It just stays on "/de" all the time. I have 2 languages: "en" and "de". English is default, I also have option enabled to hide default locale from domain.
The same is if I don't use my dropdown and just type "localhost:3000" in new tab. It reroutes to "localhost:3000/de"
When I open "localhost:3000" from anonomous mode in browser, it doesn't reroute to "/de", as expected
reproduction:
Describe the solution you'd like
When I open "localhost:3000/de", then move to "localhost:3000" (either by NextLink or manually writing adress in new tab), it should open "localhost:3000" as expected, not "localhost:3000/de".
`
Describe alternatives you've considered
no alternatives
Beta Was this translation helpful? Give feedback.
All reactions