Free, open-source localization tool powered by LLMs. Upload your JSON/YAML files, provide context about your app, and get accurate context-aware translations.
- Upload Localization Files - Support for JSON and YAML formats
- Context-Aware Translation - Provide context (game, B2B software, casual app) to ensure tone-appropriate translations
- LLM-Powered - Uses Cloudflare Workers AI for fast, intelligent translations
- Multiple Languages - Support for 100+ languages via Llama 3
- Free Forever - No API keys, no paid tiers, completely open source
- Privacy-First - Your files are processed on Cloudflare's edge network
- Real-Time Preview - See translations as they're generated
- Frontend: Next.js 14+ with TypeScript
- Deployment: Cloudflare Pages
- Backend: Cloudflare Workers
- LLM: Cloudflare Workers AI (Llama 3)
- Styling: Tailwind CSS
- Package Manager: npm
- Node.js 18+ and npm
- Cloudflare account (free tier)
- Git
git clone https://github.com/yourusername/quicklocalize.git
cd quicklocalizenpm installCreate a .env.local file:
NEXT_PUBLIC_CF_ACCOUNT_ID=your_cloudflare_account_id
NEXT_PUBLIC_CF_API_TOKEN=your_cloudflare_api_tokennpm run devVisit http://localhost:3000 to see your app.
quicklocalize/
βββ src/
β βββ app/ # Next.js app directory
β βββ components/ # React components
β βββ lib/ # Utilities (file parsing, prompt building)
β βββ api/ # API routes (Cloudflare Workers)
βββ public/ # Static assets
βββ wrangler.toml # Cloudflare Workers config
βββ next.config.js # Next.js config
βββ tailwind.config.js # Tailwind CSS config
βββ README.md
- User uploads a JSON/YAML localization file
- User provides app context (e.g., "Casual mobile game", "Enterprise B2B solution")
- User selects target language(s)
- System processes the file with context in the prompt
- LLM (Llama 3) generates context-aware translations
- User downloads translated file(s)
User Upload β Next.js Handler β Cloudflare Worker
β Workers AI (Llama 3) β Translate with Context
β Return Result β User Download
The context helps the LLM choose appropriate tone and terminology:
{
"context": "This is a casual mobile puzzle game for kids aged 6-10",
"file": { "greeting": "Hello Player!" },
"targetLanguage": "Spanish"
}
// Output: "Β‘Hola Jugador!" (friendly, playful)vs.
{
"context": "This is enterprise HR management software for Fortune 500 companies",
"file": { "greeting": "Hello User" },
"targetLanguage": "Spanish"
}
// Output: "Buenos dΓas Usuario" (formal, professional)npm install -g wranglerwrangler loginnpm run deployYour app will be live on quicklocalize.pages.dev
Configure in your Cloudflare dashboard under Pages β Custom Domain
At typical usage:
- Pages: FREE (100,000 requests/day)
- Workers: FREE tier up to 100,000 requests/day
- Workers AI: ~$0.011 per 1,000 Neurons (usually $0-5/month for small projects)
Your first 50,000 API calls are free. After that, scale at your own pace.
Request:
{
"file": {
"greeting": "Hello",
"goodbye": "Goodbye",
"welcome": "Welcome to our app"
},
"context": "This is a casual mobile game",
"targetLanguage": "Spanish",
"fileFormat": "json"
}Response:
{
"success": true,
"translated": {
"greeting": "Β‘Hola!",
"goodbye": "Β‘AdiΓ³s!",
"welcome": "Bienvenido a nuestra aplicaciΓ³n"
}
}We welcome contributions! Please follow these steps:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Write clean, readable code
- Add comments for complex logic
- Test your changes locally before submitting a PR
- Follow existing code style (use Prettier/ESLint)
Found a bug? Please open an issue on GitHub with:
- Description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, browser, Node version)
- Basic file upload functionality
- JSON/YAML support
- Bulk file processing
- Translation memory & consistency checking
- Glossary support (maintain terminology)
- Advanced context prompts (brand voice, style guide)
- Multi-file batch operations
- Translation quality metrics
- Integration with version control systems
- Web UI improvements & localization of QuickLocalize itself
This project is licensed under the MIT License - see the LICENSE file for details.
- Cloudflare Workers AI for providing free LLM inference
- Meta for Llama 3
- The open-source community for inspiration and support
Have questions? Open an issue or reach out to the maintainers.
Made with β€οΈ for developers and creators worldwide