This project is a tutorial on how to do internationalization (i18n) in Next.js projects with built-in support for internationalized routing and react-intl library.
It contains examples for:
- The internationalized routing config
- Automatic Locale Detection
- Setting the
react-intllibrary - Language switcher
- Setting text direction (
ltr,rtl) - Declarative usage of the
react-intllibrary - Imperative usage of the
react-intllibrary
For more details, please see the full post: Next.js i18n tutorial
- Node
- npm
- git
git clonecd nextjs-i18n-examplenpm installnpm run dev
