next-international
v1.3.1
Published
Type-safe internationalization (i18n) for Next.js
Downloads
68,877
Maintainers
Readme
Features
- 100% Type-safe: Locales in TS or JSON, type-safe
t()
&scopedT()
, type-safe params, type-safe plurals, type-safechangeLocale()
... - 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
Note: You can now build on top of the types used by next-international using international-types!
Try it live on CodeSandbox:
Documentation
Check out the documentation at https://next-international.vercel.app.