set LANG even if LocaleGenHelper is not available
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