amannn / next-intl

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

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

Closed amannn closed 2 months ago

amannn commented 2 months 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 2 months 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