Docs
/Next.js 13
/Getting started
Next.js 13
With the introduction of the app directory, Next.js 13 provides a new level of flexibility for React apps.
There are two major changes that affect next-intl:
- Next.js is removing their built-in internationalized routing, leaving the implementation of this up to the user. To fill in the gap, next-intlprovides a drop-in replacement for i18n routing, handling the locale negotiation, redirects and cookies.
- Next.js now supports React Server Components.
There are currently two ways how you can set your app up with next-intl in the app directory:
- Deferring the usage of next-intlto Client Components (stable, recommended when you migrate)
- Using next-intlin Server Components (preview)