Description
I have folders such as /items/[[...slug]]/page.tsx.
I also have the route added to navigation.ts as
"/items/[...slug]": {
tr: "/ilanlar/[...slug]",
en: "/items/[...slug]",
},
However, when I visit /tr/ilanlar, the app shows a 404 page while /tr/ilanlar/test, /en/items/test, and /en/items renders perfectly.
I also tried the following with no luck.
"/items/[[...slug]]": {
tr: "/ilanlar/[[...slug]]",
en: "/items/[[...slug]]",
},
Mandatory reproduction URL
https://codesandbox.io/p/github/itsberkelium/next-intl-bug-repro-app-router/main
Reproduction description
Steps to reproduce:
- Open reproduction
- Go to /en/items url
- Should work fine
- Go to /tr/ilanlar url
- See error: 404
Expected behaviour
It should render without slug for both locales.
Description
I have folders such as
/items/[[...slug]]/page.tsx.I also have the route added to navigation.ts as
However, when I visit /tr/ilanlar, the app shows a 404 page while /tr/ilanlar/test, /en/items/test, and /en/items renders perfectly.
I also tried the following with no luck.
Mandatory reproduction URL
https://codesandbox.io/p/github/itsberkelium/next-intl-bug-repro-app-router/main
Reproduction description
Steps to reproduce:
Expected behaviour
It should render without slug for both locales.