Localization - Yhzan95/GettingUpModdingTool GitHub Wiki

Localization

The application currently supports four interface languages:

  • English
  • French
  • Russian
  • Spanish

Language selection

The interface language can be changed from the language selector in the top-right corner of the application.

The selected language is stored in the application settings.

Translation system

The French XAML text acts as the translation key.

Translations are maintained in localization source files such as:

  • LocalizationService.cs
  • LocalizationCatalog.cs

Sentences containing dynamic values such as counts or filenames use templates stored in:

  • LocalizationTemplates.cs

These templates are formatted through the localization service.

Adding or updating a translation

When changing a translation:

  1. Find the corresponding localization entry.
  2. Update the relevant translation.
  3. Check sentences containing dynamic values.
  4. Verify the result in all four languages when possible.
  5. Make sure placeholders remain valid.
  6. Test the affected UI element in the application.

Placeholders

Translations may contain placeholders for dynamic values.

For example, a localized sentence may contain values such as:

  • File names
  • Resource counts
  • Paths
  • Status information

Do not remove or rename placeholders unless the localization code is updated accordingly.

Contributing

If you add a new localized string:

  1. Add the required translation entry.
  2. Add translations for all supported languages when possible.
  3. Use the existing localization system instead of hard-coding UI text.
  4. Test the string in the application.

Supported languages

Language Status
English Supported
French Supported
Russian Supported
Spanish Supported

Related pages