Home GnuPG

Use UI language instead of locale for translations

Description

Use UI language instead of locale for translations

* src/w32-gettext.c (my_nl_locale_name): Use GetThreadUILanguage instead
of GetThreadLocale.

This ensures that the user configured display language is used even if
the regional format (which is meant for dates and times) is set to
another locale.

GetThreadUILanguage is available since Windows Vista and Windows Server

Details

Provenance
ikloeckerAuthored on Wed, Nov 26, 9:38 AM
wernerCommitted on Wed, Nov 26, 11:28 AM
Parents
rEa902201d2d78: po: Update Portuguese translation
Branches
Unknown
Tags
Unknown
Tasks
T7874: Kleopatra: GnuPG System configuration not translated