amannn / next-intl

🌐 Internationalization (i18n) for Next.js
https://next-intl-docs.vercel.app
MIT License
2.37k stars 214 forks source link

fix: Handle overlapping locale prefixes correctly pt. 2 #1344

Closed amannn closed 1 week ago

amannn commented 1 week ago

Follow-up for https://github.com/amannn/next-intl/pull/1343, as the issue was only addressed partially before.

Closes https://github.com/amannn/next-intl/issues/1329

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-intl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 17, 2024 9:56am
next-intl-example-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 17, 2024 9:56am
next-intl-example-app-router-without-i18n-routing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 17, 2024 9:56am