Website | Documentation | Issues | Contributing | Changelog
Warning
Terai is currently in development preview with unstable dependencies. While not planned, we may need to introduce breaking changes in these dependencies on the road to v1.0.
Terai is a developer-first open-source localization framework for JavaScript that aims to remove the pain in the localization process.
Workflow can be broken down into 3 steps:
- 1οΈβ£ Develop: incorporate your translation source messages into your project using our dedicated SDKs.
- 2οΈβ£ Extract: streamline your extraction process by automatically gathering all the messages within your project.
- 3οΈβ£ Translate: use your defined translator to get your localized messages.
More documentation available at https://terai-labs.github.io/terai.
- π Speed: Remove the pain in the localization process. Translate your products 10x faster.
- π§βπ» Developer-focused: One of our main goal was improving the developer experience. No more looking for keys in your source code, no more editing localisation files, and no more manual exporting data for translators.
- π Javascript-based: designed to be used in any javascript-based environment with specific integrations for all major frameworks: Node, React, Next...
- π€ Translation: Let the machines work for you. We natively support ChatGPT, Google Translate (and more to come), or use your custom translation service.
- π Cache: Donβt translate the same string twice. Translation cache reuses strings youβve already translated.
- π± Lightweight: offer your product to your audience in the way they understand better with just a few KB.
- βοΈ Code splitting: Split your translation files with ease. Just import the messages your user needs to see.
- π TypeScript: Full-written in TypeScript.
- βοΈ MIT Licensed: Free for personal and commercial use.
Package | Description | Version | Size | Downloads |
---|---|---|---|---|
@terai/dev |
Dev package for Terai | |||
@terai/react |
Terai for React.js | |||
@terai/next |
Terai for Next.js (WIP) | |||
@terai/node |
Terai for Node.js |
Visit https://terai-labs.github.io/terai to get started with Terai.
Visit https://terai-labs.github.io/terai/docs to view the full documentation.
The Terai community can be found on GitHub Discussions, where you can ask questions, voice ideas, and share your projects.
Our Code of Conduct applies to all Terai community channels.
Please see our contributing.md.
We have a list of good first issues that contain bugs that have a relatively limited scope. This is a great place to get started, gain experience, and get familiar with our contribution process.
- Hugo Corta (@hugocxl)
MIT License Β© 2023-Present Hugo Corta