Examples
Complete apps in the next-i18next repository, one per setup, to start from or compare with.
| Example | Description |
|---|---|
app-router-simple |
App Router with locale-in-path (/en/...) |
app-router-no-locale-path |
App Router with cookie-based language (no locale in URL) |
app-router-icu |
App Router with ICU MessageFormat: plurals, select and rich text in Server and Client Components |
mixed-routers |
App Router + Pages Router in the same project |
pages-router-simple |
Pages Router with getStaticProps / getServerSideProps |
pages-router-ssg |
Pages Router with static export (output: 'export') |
pages-router-auto-static-optimize |
Pages Router with client-side loading via chained backend |