Replies: 1 comment 1 reply
-
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.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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