Skip to content
GameModManagerPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i18n

Internationalization files for GameModManager.

Translation Files

  • en_US.ts - English (US) - Primary language
  • de_DE.ts - German (Germany)
  • ro_RO.ts - Romanian (Romania)
  • en_US.ts_TEMPLATE - Template for new translations

File Format

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

Adding a New Language

  1. Copy en_US.ts_TEMPLATE to <language_CODE>.ts
  2. Translate the <translation> elements
  3. Update the language attribute in the <TS> tag
  4. Test with lupdate and lrelease tools

Translation Workflow

  1. Extract strings: lupdate scans source files for tr() calls
  2. Translate: Edit the .ts files in Qt Linguist or text editor
  3. Compile: lrelease compiles .ts to .qm binary files
  4. Deploy: .qm files are loaded at runtime by Qt's translation system

Language Codes

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)

Notes

  • Keep translations context-aware (check <location> for context)
  • Use %n for plurals, %1, %2 for arguments
  • Mark untranslatable strings with type="unfinished"
  • Test UI layout with longer translations (German, Finnish)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors