Variable
Const
Centralized routing configuration for next-intl.
locales
messages/<locale>.json
defaultLocale
/
/en
localePrefix: 'always'
/en/about
Centralized routing configuration for next-intl.
locales: every locale the app supports. Add a new entry here, then create a matchingmessages/<locale>.jsonfile.defaultLocale: used when the request doesn't match any locale (e.g. middleware redirects/→/en).localePrefix: 'always'keeps the locale in the URL (/en/about) so links are unambiguous and SEO-friendly.