-
Clone the repository
git clone https://github.com/NoximityCollective/configtranslator.git cd configtranslator -
Install dependencies
npm install
-
Set up OpenRouter API (Recommended)
- Sign up at OpenRouter
- Get your API key from the dashboard
- Create a
.env.localfile in the project root:
OPENROUTER_API_KEY=your_actual_api_key_here NEXT_PUBLIC_SITE_URL=http://localhost:3000 NEXT_PUBLIC_SITE_NAME=ConfigTranslator
-
Start the development server
npm run dev
-
Open the application Navigate to http://localhost:3000
ConfigTranslator now features real AI translation powered by OpenRouter!
✅ Professional AI translation using GPT-4o-mini
✅ Smart context awareness - only translates user-facing text
✅ Perfect preservation of MiniMessage codes and placeholders
✅ High-quality results in all supported languages
If no API key is configured, the app automatically falls back to mock translations:
- 🇪🇸 Spanish
- 🇫🇷 French
- 🇩🇪 German
- 🇨🇳 Chinese
- 🇮🇹 Italian
-
Upload a test file
- Use the sample file at
public/sample-config.yml - Or create your own YAML/JSON configuration file
- Use the sample file at
-
Select a target language
- Choose from: English, Chinese, French, Spanish, Slovenian, German, Italian
-
Translate
- Click "Translate Configuration"
- View results in the Preview tab
- Check statistics in the Statistics tab
-
Export
- Copy to clipboard
- Download the translated file
- Maximum size: 50KB
- Supported formats: .yml, .yaml, .json, .properties, .conf, .config
- Content: Minecraft plugin configuration files
- ✅ MiniMessage color code preservation
- ✅ YAML/JSON structure preservation
- ✅ Smart text-only translation
- ✅ Real-time progress tracking
- ✅ Translation statistics
- ✅ Copy/download functionality
- ✅ File preview
- ✅ Multi-language support
- Only predefined translations are available (not full AI translation)
- Limited vocabulary in mock translation dictionary
- For production use, integrate with a real translation service
- Check file size (must be under 50KB)
- Verify file format is supported
- Ensure file contains valid configuration content
- Check browser console for any JavaScript errors
- Ensure file content matches the mock translation dictionary
- Try with the provided sample file for best results
- Frontend: Next.js 15, React 19
- UI: shadcn/ui, Radix UI, Tailwind CSS
- Translation: Local mock service (demo mode)
- Language: TypeScript
configtranslator/
├── app/ # Next.js app directory
├── components/ # React components
│ ├── ui/ # shadcn/ui components
│ └── config-translator.tsx
├── lib/ # Utilities and services
├── hooks/ # Custom React hooks
├── public/ # Static assets
└── ...
npm run build
npm startFor issues or questions:
- Open an issue on GitHub
- Contact Noximity team
- Check the README.md for more details