🌍 typesafe-i18n
A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.
Advantages
- 🐤 lightweight (~1kb)
- 👌 easy to use syntax
- 🏃 fast and efficient
- 🦺 prevents you from making mistakes (also in plain JavaScript projects)
- 👷 creates boilerplate code for you
- 💬 supports plural rules
- 📅 allows formatting of values e.g. locale-dependent date or number formats
- ↔️ supports switch-case statements e.g. for gender-specific output
- ⬇️ option for asynchronous loading of locales
- 📚 supports multiple namespaces
- ⏱️ supports SSR (Server-Side Rendering)
- 🤝 can be used for frontend, backend and API projects
- 🔍 locale-detection for browser and server environments
- 🔄 import and export translations from/to files or services
- ⛔ no external dependencies