Replies: 1 comment 3 replies
-
Hey @noidar, I'm experiencing the exact same issue. I'm using Next 13.4.13 and next-translate 2.5.3. Have you managed to find a fix for that? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Hello,
I am experiencing an issue with locale-based routing in Next.js when the param in the URL is a locale itself. Specifically, the routing fails when the URL follows the pattern /{locale}/[param], where the param is the same as the locale.
Example URLs that fail to route correctly:
http://localhost:3000/en/en/details
http://localhost:3000/de/de/details
I am attempting to implement a solution using this repository as a reference: i18-country-language-issue.
Additionally, I found related discussions on this issue, but no solutions have been provided so far:
Next.js Issue #31420
Next.js Issue #21714
Has anyone encountered a similar issue or found a workaround? Any insights or solutions would be greatly appreciated.
Thank you!
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions