Skip to content

set LANG even if LocaleGenHelper is not available

Ghost User requested to merge work/hany/set_lang_even_if_no_localegenhelper into master

BUG: 464983

We set LANG regardless of the support of LocaleGenHelper. There are total three scenarios:

  • Glibc system with LocaleGenHelper: works as before
  • Glibc system with LocaleGenHelper turned off: fixes bug 464983, because we can still map KDE i18n language code to correct glibc code
  • Non-Glibc system: We guess locale from language code. This will use the default locale for languages that have multiple dialects.
Edited by Ghost User

Merge request reports

Loading