-
Notifications
You must be signed in to change notification settings - Fork 0
User‐Guide
Ehsan Azish edited this page Dec 15, 2025
·
1 revision
python3 localization_app.pyClick the "Browse..." button and select the folder containing your .xcloc subdirectories.
The app will automatically:
- Scan for all
.xclocfolders - Extract language codes
- Display them in the interface
Select your source language from the dropdown (typically English).
- Click on languages to translate
- Use Cmd/Ctrl + Click for multiple selections
- Or select all and deselect unwanted ones
Click "🚀 Start Translation" to begin.
Watch the log window for:
- Translation progress
- File status updates
- Any errors or warnings
Click "⏹️ Stop Translation" to cancel the process at any time.
python3 translate_xliff.pyThis will:
- Use the current directory as workspace
- Auto-detect all languages
- Skip English (en) and Arabic (ar) by default
- Translate all other languages
python3 translate_xliff.py --workspace /path/to/localizationpython3 translate_xliff.py --only de fr ja kopython3 translate_xliff.py --skip en es arpython3 translate_xliff.py --dry-runShows what would be translated without making changes.
See CLI Reference for all options and examples.
- Always start with a backup of your localization files
- Use dry-run first to preview changes
- Review translations before using in production
- Start with a few languages to test the workflow
- Check the log for any warnings or errors
The log shows:
- ✅ Success: Translation completed
⚠️ Warning: Already translated or skipped- ❌ Error: Failed translation
- 📊 Summary: Total translations performed