Problem Statement
How does Next.js handle internationalization (i18n) in the Pages Router?
Explanation
Pages Router provides built-in internationalization routing by configuring locales and defaultLocale in next.config.js, automatically handling locale detection from headers, URL paths, or cookies, and providing locale information through the router. You can use sub-path routing like /en/about or domain routing like en.example.com for different locales, and Next.js automatically redirects based on detected locale preference. The router.locale property gives you access to the current locale in pages, and you can use libraries like next-i18next or react-intl for translation management.