Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/QuiiBz/next-international
Type-safe internationalization (i18n) for Next.js
https://github.com/QuiiBz/next-international
i18n library nextjs typescript
Last synced: 12 days ago
JSON representation
Type-safe internationalization (i18n) for Next.js
- Host: GitHub
- URL: https://github.com/QuiiBz/next-international
- Owner: QuiiBz
- License: mit
- Created: 2022-07-17T13:32:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T11:49:32.000Z (8 months ago)
- Last Synced: 2024-10-25T06:48:07.643Z (17 days ago)
- Topics: i18n, library, nextjs, typescript
- Language: TypeScript
- Homepage: https://next-international.vercel.app
- Size: 606 KB
- Stars: 1,297
- Watchers: 4
- Forks: 60
- Open Issues: 83
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
Type-safe internationalization (i18n) for Next.js---
- [Features](#features)
- [Documentation](#documentation)
- [Sponsors](#sponsors)
- [License](#license)## 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> **Note**: You can now build on top of the types used by next-international using [international-types](https://github.com/QuiiBz/next-international/tree/main/packages/international-types)!
Try it live on CodeSandbox:
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/jovial-paper-skkprk?file=%2Fapp%2F%5Blocale%5D%2Fpage.tsx%3A1%2C1)
## Documentation
Check out the documentation at [https://next-international.vercel.app](https://next-international.vercel.app).
## Contributing
[See the contributing guide](./CONTRIBUTING.md).
## Sponsors
![Sponsors](https://github.com/QuiiBz/dotfiles/blob/main/sponsors.png?raw=true)
## License
[MIT](./LICENSE)