Next.js internationalized routing
💡
Routing APIs are only needed when you're using a setup with the [locale]
segment.
When you provide content in multiple languages, you want to make your pages available under distinct pathnames (e.g. /en/about
). next-intl
provides the building blocks to set up internationalized routing as well as the navigation APIs to enable you to link between pages.
Note that these features are only relevant if you use the App Router. If you're using next-intl
with the Pages Router, you can use the built-in capabilities from Next.js (opens in a new tab).