A comprehensive translation management system for the Star Technology Minecraft modpack.
- Clone this repository or download the files
- Ensure you have Python 3.7+ installed
- Install required dependencies:
Note: tkinter usually comes with Python by default
pip install tkinter
Launch the graphical interface:
python launch_gui.py- Open Workspace: Load your translation files from the
langfolder - Language Selection: Choose which language to work on
- Category Filtering: Filter by mod categories and subcategories
- Translation Editor: Edit translations with real-time formatting preview
- Formatting Tools: Add Minecraft color codes and formatting
- Search: Find specific translations quickly
- Statistics: View translation progress
Ctrl+O: Open workspaceCtrl+S: Save all translationsCtrl+F: Focus searchF5: Refresh translations
Launch the CLI tool:
python launch_cli.py <workspace_path> <command># List available languages
python launch_cli.py lang list-languages
# List categories
python launch_cli.py lang list-categories
# Add a new language
python launch_cli.py lang add-language fr_fr
# Validate translations
python launch_cli.py lang validate es_es
# Export untranslated keys
python launch_cli.py lang export-untranslated es_es untranslated_es.txt
# Show statistics
python launch_cli.py lang stats es_esStarT-Translations/
├── src/ # Source code
│ ├── translation_manager.py # Core translation logic
│ ├── translation_gui.py # GUI application
│ └── translation_cli.py # CLI tool
├── lang/ # Translation files
│ ├── core-mod/
│ │ └── en_us.json # English (base language)
│ ├── gtceu/
│ └── ...
├── launch_gui.py # GUI launcher
├── launch_cli.py # CLI launcher
└── README.md # This file
- Click "Add Language" in the toolbar
- Enter the language code (e.g.,
fr_fr,de_de) - All translation keys will be created automatically with empty values
python launch_cli.py lang add-language fr_frUse standard Minecraft language codes:
es_es- Spanish (Spain)fr_fr- French (France)de_de- German (Germany)pt_br- Portuguese (Brazil)ru_ru- Russianzh_cn- Chinese (Simplified)ja_jp- Japanese- And many more...
The tool supports all Minecraft formatting codes:
§0- Black§1- Dark Blue§2- Dark Green§3- Dark Aqua§4- Dark Red§5- Dark Purple§6- Gold§7- Gray§8- Dark Gray§9- Blue§a- Green§b- Aqua§c- Red§d- Light Purple§e- Yellow§f- White
§l- Bold§o- Italic§n- Underline§m- Strikethrough§k- Obfuscated§r- Reset
§6Gold text §l§cBold Red §rNormal text
- ✅ Use proper grammar and spelling in your native language
- ✅ Maintain the same tone and style as the English version
- ✅ Keep formatting codes (
§codes) in the same positions - ✅ Preserve placeholders like
%1$s,{0}, etc. - ✅ Test your translations in-game when possible
- ✅ Keep translations concise while maintaining meaning
- ✅ Use consistent terminology throughout
- ❌ Use Google Translate or other automatic translation tools
- ❌ Use AI translation tools without human review
- ❌ Remove or modify formatting codes unless necessary
- ❌ Change placeholder order without adjusting the format specifiers
- ❌ Leave translations empty - mark uncertain translations with [TODO] instead
- ❌ Copy-paste English text as translation
- ❌ Use informal language unless the original does
- Item Names: Should be concise and descriptive
- Quest Text: Can be longer and more descriptive
- UI Elements: Should be short to fit interface constraints
- Technical Terms: Some mod-specific terms might be better left in English
- Fork the repository or get access to the translation workspace
- Choose your language - check if it already exists
- Use the tools provided to manage translations efficiently
- Follow the guidelines above for quality translations
- Test your work - verify translations work in-game
- Submit your changes through your preferred method (PR, shared folder, etc.)
- All translations are human-made, not machine-translated
- Formatting codes are preserved correctly
- Placeholders are maintained
- Grammar and spelling are correct
- Terminology is consistent
- Translations fit the context and tone
- No empty translation entries
-
GUI won't start:
- Make sure Python 3.7+ is installed
- Install tkinter:
pip install tk - Check console for error messages
-
Can't load workspace:
- Verify the
langfolder exists - Check that JSON files are valid
- Ensure you have read permissions
- Verify the
-
Translations not saving:
- Check write permissions in the
langfolder - Verify JSON file structure
- Look for error messages in the status bar
- Check write permissions in the
-
Formatting preview not working:
- This is normal - the preview is simplified
- Test formatting codes in-game for best results
If you encounter issues:
- Check the error messages in the application
- Verify your JSON files are valid
- Try reloading the workspace
- Check file permissions
- Report bugs with detailed error messages
This tool is provided for the Star Technology modpack translation project. Please respect the licensing of the original mod content when contributing translations.
Happy translating! 🌟