🌐 AI-Powered JSON Internationalization Translation Tool
🔗 json.uiboy.com
Free online JSON translation tool powered by AI, supporting 40+ languages
🎯 An Open-Source AI Development Journey
This project showcases a complete AI-assisted development process, from product design to implementation
What's Included:
🔸 Product Requirements Document - Complete PRD created with AI assistance
🔸 Source Code - Full codebase with AI-powered features
- 🤖 Smart translation powered by OpenAI GPT 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
This project includes complete Product Requirements Documents in both English and Chinese:
- Node.js >= 16.0.0
- npm or yarn or pnpm
- OpenAI API key
git clone https://github.com/ViggoZ/json-translate.git
cd json-translate
npm install
npm run dev
Visit http://localhost:3000 to view the development environment.
npm run build
npm run start
-
Preparation
- Prepare your JSON file for translation
- Get your OpenAI API key (https://platform.openai.com)
-
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
- 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
- Development Tool:
- Cursor (AI-assisted development)
- Framework: Next.js 14
- UI:
- React 18
- Tailwind CSS
- Radix UI
- HeadlessUI
- Language: TypeScript
- API: OpenAI API
- Libraries:
- JSZip (file handling)
- React Syntax Highlighter
- React Window (virtual list)
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
- Follow existing code style
- Ensure code passes
npm run lint
- Test functionality before submitting
This project is licensed under the MIT License - see the LICENSE file for details
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.
- Author: Viggo
- Email: viggo.zw@gmail.com
- Twitter: @viggo
Thanks to all users who provided feedback. Special thanks to:
- OpenAI team for their powerful API
- Next.js team for the excellent framework
- All project contributors
If this project helps you, please give it a star ⭐️!
Made with ❤️ by [@viggo](https://twitter.com/decohack)