i18n Translator
Automates the internationalization (i18n) of source code files by detecting hardcoded text, generating translation keys, and updating language resources.
关于
The i18n Translator is a Model Context Protocol (MCP) server designed to streamline the internationalization process for developers. It intelligently scans your codebase for hardcoded Traditional Chinese text, then leverages Google Gemini AI to generate structured i18n keys and provide immediate translations into English, Japanese, and Simplified Chinese. The tool not only updates a centralized `lang.json` file with these new translations but also returns the refactored source code, replacing the original hardcoded text with the newly generated i18n keys, significantly simplifying multilingual software development.
主要功能
- 0 GitHub stars
- Detects hardcoded Traditional Chinese text in source files
- Generates structured i18n keys and translations (English, Japanese, Simplified Chinese)
- Updates a centralized `lang.json` file
- Returns modified code with i18n keys
- Powered by Google Gemini AI
使用案例
- Streamlining the process of adding i18n support to existing software projects.
- Automating internationalization for codebases with hardcoded Traditional Chinese text.
- Assisting developers in standardizing translation key generation and management across multiple languages.