JSON i18n Translation Tool
September 15, 2025 ยท View on GitHub
๐ AI-Powered JSON Internationalization Translation Tool
๐ jsontrans.fun
Free online JSON translation tool powered by AI, supporting 40+ languages
โจ Features
- ๐ค Smart translation powered by AI models
- ๐ Maintains JSON structure integrity
- ๐ Supports 40+ languages
- ๐ Multi-language interface
- โก๏ธ Real-time translation preview
- ๐ก๏ธ Local API key usage for security
- ๐ฆ Export translation results
- ๐ฏ Accurate technical term translation
- ๐ป Fully open source, transparent code
๐ Quick Start
Requirements
- Node.js >= 16.0.0
- npm or yarn or pnpm
- AI API key (Gemini, DeepSeek, OpenAI or Anthropic)
Installation
git clone https://github.com/CrisChr/json-translator.git
cd json-translator
pnpm install
Development
pnpm run dev
Visit http://localhost:3000 to view the development environment.
Build
pnpm run build
pnpm run start
๐ Usage Guide
-
Preparation
- Prepare your JSON file for translation
- Get your AI API key (Gemini, DeepSeek, OpenAI or Anthropic)
-
Getting Started
- Visit the website
- Upload JSON file (drag & drop supported)
- Select target language
- Enter API key
- Start translation
-
Features
- Single JSON file translation
- Real-time translation preview
- Export in JSON format
๐ก Best Practices
- Split large files into smaller ones for translation
- Verify JSON format before translation
- Use preview feature to confirm translation quality
- Regularly backup important translation files
๐ Tech Stack
- Development Tool:
- Cursor (AI-assisted development)
- Framework: Next.js 14
- UI:
- React 18
- Tailwind CSS
- Radix UI
- HeadlessUI
- Language: TypeScript
- Libraries:
- JSZip (file handling)
- React Syntax Highlighter
- React Window (virtual list)
๐ค Contributing
I welcome all forms of contributions, whether it's new features, bug fixes, or documentation improvements.
- Fork the project
- Create your feature branch (
git checkout -b feature/YourFeature) - Commit your changes (
git commit -m 'Add some feature') - Push to the branch (
git push origin feature/YourFeature) - Open a Pull Request
Development Guidelines
- Follow existing code style
- Ensure code passes
npm run lint - Test functionality before submitting
๐ License
This project is licensed under the MIT License - see the LICENSE file for details
๐ FAQ
Q: Is the API key secure?
A: Yes. API keys are only used temporarily in the browser and are never saved or transmitted to servers.
Q: Which languages are supported?
A: 40+ major languages including but not limited to:
- Chinese (Simplified/Traditional)
- English
- Japanese
- Korean
- French
- German
- Spanish
- Russian etc.
Q: Is there a file size limit?
A: Single files are limited to 10MB.
๐ Acknowledgments
Thanks to all users who provided feedback. Special thanks to:
@viggo, Based on the original project json-translate
If this project helps you, please give it a star โญ๏ธ!