1. Struggling to come up with unique keys for defining translations and worrying about duplicates.
2. Manual translation of text is time-consuming and laborious.
3. Manual creation of language pack files is time-consuming and labor-intensive.
4. Difficulty in maintaining changes to texts (removal or adjustments).
5. Significant effort required to support new languages (proportional to the amount of text).
6. Introduction of a large internationalization library for a simple translation requirement.
i18n-pro is designed to address these challenges
1. Translation keys are automatically generated, eliminating the need for manual definition.
2. Automated translation saves time and effort (support for multiple translation platforms; for those concerned about translation quality, you can choose your trusted platform, and it's been heard that ChartGPT provides good translation quality - already supported internally).
3. Automatic translation generates language packs for the respective languages.
4. Only newly added texts are translated during automation, and unused texts are intelligently removed.
5. Adding support for a new language requires simple command-line configuration adjustments (adding the new target language) and executing the translation command.
6. The library provides a lightweight runtime with minimal API, focusing solely on the translation itself. It covers most use cases and offers solutions for numbers, currencies, dates, times, and plurals, with the specific implementation left to the user.
Future Plans
i18n-pro is currently a pure JS library, making it platform and framework agnostic. It can be used in various JavaScript-based projects that require internationalization and multilingual support, such as frontend development, server-side development, desktop application development, and script development.
UI library versions will be released in the future, including React, Vue, SolidJS, Svelte, etc. Leveraging their respective update mechanisms, a better language-switching experience will be achieved.
Finally
All the documentation for this library is available in the repository. For more information, please visit https://github.com/i18n-pro/core. If you find it helpful, please consider giving it a to show your support.