Internationalization files for GameModManager.
en_US.ts- English (US) - Primary languagede_DE.ts- German (Germany)ro_RO.ts- Romanian (Romania)en_US.ts_TEMPLATE- Template for new translations
Translation files use Qt's TS format (XML-based). Each file contains:
<context>- UI component or module name<message>- Individual translatable string<source>- Original English text<translation>- Translated text (empty = untranslated)<location>- Source file reference
- Copy
en_US.ts_TEMPLATEto<language_CODE>.ts - Translate the
<translation>elements - Update the
languageattribute in the<TS>tag - Test with
lupdateandlreleasetools
- Extract strings:
lupdatescans source files fortr()calls - Translate: Edit the
.tsfiles in Qt Linguist or text editor - Compile:
lreleasecompiles.tsto.qmbinary files - Deploy:
.qmfiles are loaded at runtime by Qt's translation system
Use ISO 639-1 codes with region variants:
en_US- English (United States)de_DE- German (Germany)ro_RO- Romanian (Romania)fr_FR- French (France)es_ES- Spanish (Spain)
- Keep translations context-aware (check
<location>for context) - Use
%nfor plurals,%1,%2for arguments - Mark untranslatable strings with
type="unfinished" - Test UI layout with longer translations (German, Finnish)