App Router: không có built-in i18n, dùng middleware để detect locale từ Accept-Language header, redirect đến locale-prefixed routes /en/about.
- Dùng libraries: next-intl, next-i18next.
- Tạo
[locale]dynamic segment, load messages tương ứng. - Pages Router có built-in i18n config với
i18n: { locales, defaultLocale }trong next.config.