Resource icon

Beta πŸŒ XenForo Auto Translate 2026-04-08

No permission to download
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
  4. 2.3

✨ Features​

  • πŸ”„ Translates 11,000+ XenForo phrases automatically
  • πŸ›‘οΈ Preserves XenForo variables ({username}, {count}, {board}, etc.)
  • 🏷️ Preserves HTML tags inside phrases
  • πŸ’Ύ Auto-saves progress β€” safely resume if interrupted
  • πŸ”‘ Remembers your API key β€” enter once, never again
  • 🌍 Remembers your last used language
  • πŸ–₯️ Simple interactive menu β€” no command-line knowledge needed
  • ⚑ Batch processing with real-time progress bar

πŸš€ Getting Started​

Step 1 β€” Export your XenForo language file​

  1. Log in to your XenForo Admin Panel
  2. Navigate to Appearance β†’ Languages
  3. Click the download icon next to English (US)
  4. Save the .xml file into this folder

Step 2 β€” Run the tool​

Windows β€” double-click run.bat
Terminal:
python xf_translate.py


Step 3 β€” Select target language​

Code:
╔══════════════════════════════════════════════════════╗
β•‘        XenForo Auto Translate  |  DeepL API         β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

  Select Target Language
  ──────────────────────────────────────────────────
   1. Arabic        [AR]    16. Norwegian   [NB]
   2. Bulgarian     [BG]    17. Dutch        [NL]
   3. Czech         [CS]    18. Polish       [PL]
   ...
  28. Turkish       [TR] β—„  (last used)
  ...
  Enter number [28]:

Step 4 β€” Watch it translate​

Code:
  [β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ] 100%  11,141/11,141  almost done

  ╔══════════════════════════════════════════╗
  β•‘          TRANSLATION COMPLETE!           β•‘
  β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

  Output : language-Turkish-XF.xml
  Phrases: 11,141 total translated

Step 5 β€” Import into XenForo​

  1. Go to Appearance β†’ Languages β†’ Import
  2. Select the output .xml file
  3. Click Import βœ…



🌍 Supported Languages​


CodeLanguageCodeLanguage
ARArabicNBNorwegian
BGBulgarianNLDutch
CSCzechPLPolish
DADanishPT-BRPortuguese (Brazil)
DEGermanPT-PTPortuguese (Europe)
ELGreekRORomanian
ESSpanishRURussian
ETEstonianSKSlovak
FIFinnishSLSlovenian
FRFrenchSVSwedish
HUHungarianTRTurkish
IDIndonesianUKUkrainian
ITItalianZHChinese (Simplified)
JAJapaneseKOKorean
LTLithuanianLVLatvian



βš™οΈ Command-line Options​

python xf_translate.py # interactive mode
python xf_translate.py myfile.xml # specify source file directly
python xf_translate.py --reset-key # change your saved API key



πŸ“ File Structure​

Code:
XenForo Auto Translate/
β”œβ”€β”€ xf_translate.py        # main script
β”œβ”€β”€ run.bat                # Windows one-click launcher
β”œβ”€β”€ README.md              # documentation
└── .gitignore

# Generated files (git-ignored):
β”œβ”€β”€ language-*-XF.xml      # translated output files
└── .progress_*.json       # auto-save files (deleted on completion)


πŸ”§ Troubleshooting​


ProblemSolution
deepl package not foundRun python -m pip install deepl
Invalid API keyCheck your key at deepl.com or use --reset-key
Quota exceededFree limit reached β€” progress is saved, re-run next month
No XML files found in toolExport the language file from XenForo admin panel first
XenForo: not a valid XML fileRe-run β€” output may have been incomplete
Author
LeventF
Downloads
4
Views
22
First release
Last update

Ratings

0.00 star(s) 0 ratings
Back
Top Bottom