TL;DR: To add i18n to a Next.js App Router project with next-intl, install the package, configure middleware for locale detection, wrap your layout with NextIntlClientProvider, create JSON translation files per locale, and use useTranslations() in components. The entire setup takes about 15 minutes from scratch.
Adding internationalization to a Next.js application used to involve complex configuration, third-party backends, and wrestling with server-side rendering quirks. With next-intl and the App Router, that story has changed completely. This guide walks you through every step of implementing i18n in a Next.js 14+ project — from installation to a production-ready multilingual app.
Why next-intl?
next-intl is purpose-built for Next.js. Unlike framework-agnostic alternatives that require additional wrappers and workarounds, next-intl integrates with the App Router, React Server Components, Middleware, and Server Actions natively.…