Translation - tnodir/fort GitHub Wiki

Crowdin

  • Ask to add a new language in the Fort Firewall's Crowdin project
  • Translate the strings for selected language
  • Download as .ts file into <PATH-TO>\fort\src\ui\i18n\ folder

Qt Linguist

  • Open the .ts file in Qt Linguist
  • Save to normalize the structure
  • Release to create a .qm file

Update & Release scripts

  • <PATH-TO>\fort\scripts\i18n\: Set the QT_HOME environment variable to the Qt folder with bin\lupdate.exe & bin\lrelease.exe for update_ts.bat & release_ts.bat, e.g. set QT_HOME=C:\Qt\6.9.1\msvc2022_64
  • update_ts.bat to update strings from sources
  • release_ts.bat to compile .ts files into .qm files
⚠️ **GitHub.com Fallback** ⚠️