Type-safe internationalization (i18n) for Next.js

Features

  • 100% Type-safe: Locales in TS or JSON, type-safe t() & scopedT(), type-safe params, type-safe plurals, type-safe changeLocale()...
  • Small: No dependencies, lazy-loaded
  • Simple: No Webpack configuration, no CLI, no code generation, just pure TypeScript
  • Server and Client, Static Rendering: Lazy-load server and client-side, support for Static Rendering
  • App or Pages Router: With support for React Server Components

Try it live on CodeSandbox:

Open with CodeSandbox (opens in a new tab)

Documentation

Sponsors

Sponsors