A professional translation tool for Farming Simulator 25 XML language files. Automatically translate your mod's language files to 26 different languages using DeepL and Google Translate.
- ๐ Dual Translation Engines: Uses DeepL for high-quality translations with Google Translate as automatic fallback
- ๐ 26 Languages Supported: All official Farming Simulator 25 languages
- ๐ Secure API Storage: API keys stored securely in your system's credential manager
- ๐จ Modern Dark UI: Professional interface with real-time progress tracking
- ๐ Smart File Handling: Drag & drop support with automatic source language detection
- โก Batch Processing: Translate to multiple languages simultaneously
- ๐ก๏ธ Placeholder Protection: Preserves XML placeholders and format strings
- ๐ Live Progress: Real-time translation status and detailed logging
All official FS25 languages are supported:
| Language | Code | Language | Code |
|---|---|---|---|
| ๐ง๐ท Portuguese (Brazil) | l10n_br | ๐ณ๐ฑ Dutch | l10n_nl |
| ๐จ๐ฟ Czech | l10n_cs | ๐ณ๐ด Norwegian | l10n_no |
| ๐ฆ๐ฉ Catalan | l10n_ct | ๐ต๐ฑ Polish | l10n_pl |
| ๐ฉ๐ฐ Danish | l10n_da | ๐ต๐น Portuguese (Portugal) | l10n_pt |
| ๐ฉ๐ช German | l10n_de | ๐ท๐ด Romanian | l10n_ro |
| ๐ฒ๐ฝ Spanish (Latin America) | l10n_ea | ๐ท๐บ Russian | l10n_ru |
| ๐บ๐ธ English | l10n_en | ๐ธ๐ช Swedish | l10n_sv |
| ๐ช๐ธ Spanish (Spain) | l10n_es | ๐น๐ท Turkish | l10n_tr |
| ๐จ๐ฆ French (Canada) | l10n_fc | ๐บ๐ฆ Ukrainian | l10n_uk |
| ๐ซ๐ฎ Finnish | l10n_fi | ๐ป๐ณ Vietnamese | l10n_vi |
| ๐ซ๐ท French (France) | l10n_fr | ๐ญ๐บ Hungarian | l10n_hu |
| ๐ฎ๐ฉ Indonesian | l10n_id | ๐ฎ๐น Italian | l10n_it |
| ๐ฏ๐ต Japanese | l10n_jp | ๐ฐ๐ท Korean | l10n_kr |
- Python 3.9 or higher
- Windows, macOS, or Linux
git clone https://github.com/piplarsson/FS25_Language_Translator.git
cd FS25_Language_Translatorpip install -r requirements.txtpython fs25_translator.py๐ How to Use First Time Setup
Launch the application You'll be prompted to enter your DeepL API key (optional but recommended) The key is securely saved to your system's credential manager
Translating Files
Load your source file:
Drag & drop your l10n_*.xml file onto the application, or Click "Browse Files" to select your XML file
Select target languages:
Click "Select All" to translate to all languages, or Choose specific languages by checking their boxes
Start translation:
Click "โถ Start Translation" Monitor progress in real-time Translations are saved to the l10n folder
Source Language The tool automatically detects the source language from your filename (e.g., l10n_en.xml โ English). You can manually override this using the dropdown menu.
DeepL API (Recommended) For best translation quality, get a free DeepL API key:
Visit DeepL Pro API Sign up for a free account (500,000 characters/month) Copy your API key Enter it when prompted by the application
Google Translate Google Translate works automatically as a fallback - no API key required! Security Your API keys are stored securely using:
Windows: Windows Credential Manager macOS: macOS Keychain Linux: Secret Service API
See README_SECURITY.md for detailed security information.
FS25_Language_Translator/
โโโ fs25_translator.py # Main application
โโโ api_key_dialog.py # API key input dialog
โโโ api_key_manager.py # Standalone key management tool
โโโ requirements.txt # Python dependencies
โโโ README.md # This file
โโโ README_SECURITY.md # Security documentation
โโโ icons/ # Application icons
โโโ icon.ico # Main icon
โโโ flags/ # Country flag iconsTo create a standalone executable:
pip install pyinstaller
pyinstaller --onefile --windowed --icon=icons/icon.ico fs25_translator.pyThe executable will be created in the dist folder.
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository Create your feature branch (git checkout -b feature/AmazingFeature) Commit your changes (git commit -m 'Add some AmazingFeature') Push to the branch (git push origin feature/AmazingFeature) Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
DeepL for excellent translation API Google Translate for fallback translations GIANTS Software for Farming Simulator 25 The modding community for inspiration and support
Common Issues "Failed to access secure storage"
Ensure your system's credential manager service is running On Windows: Check that Windows Credential Manager is enabled On macOS: Ensure Keychain Access is unlocked
"Translation failed" errors
Check your internet connection Verify your DeepL API key is valid Ensure you haven't exceeded API limits
XML parsing errors
Ensure your source XML file is valid Check for proper UTF-8 encoding Verify XML structure matches FS25 format
Getting Help
Create an Issue for bugs Check existing issues for solutions Read README_SECURITY.md for API key issues
Translates approximately 100-200 strings per minute DeepL provides higher quality for European languages Google Translate offers broader language support Batch processing reduces API calls
Check the Releases page for updates.
Made with โค๏ธ for the Farming Simulator modding community
Not affiliated with GIANTS Software GmbH
Created by Piplarsson
