Next.js Internationalization with the App Router
How to set up internationalization in Next.js App Router using next-intl, including middleware locale detection, route prefixing, and automating translations.
Next.js App Router changed how i18n works. The old next.config.js i18n config doesn't apply anymore. Here's how to set up proper internationalization with the App Router using next-intl, the library that's become the de facto standard.