File xrdp-dont-set-LANG.patch of Package xrdp

commit 5575197eaa9afe4801a837a3bfa6f0e0701e525e
Author: Pavel Roskin <plroskin@gmail.com>
Date:   Sun Feb 7 22:40:35 2016 -0800

    sesman: don't set LANG, let initialization scripts take care of it
    
    Setting LANG to en_US.UTF-8 suppresses language settings from
    /etc/locale.conf
    
    See https://bugzilla.redhat.com/show_bug.cgi?id=1290820

diff --git a/sesman/env.c b/sesman/env.c
index 516b0ac3..b2f06160 100644
--- a/sesman/env.c
+++ b/sesman/env.c
@@ -130,7 +130,6 @@ env_set_user(char *username, char *passwd_file, int display,
             g_set_current_dir(pw_dir);
             g_sprintf(text, ":%d.0", display);
             g_setenv("DISPLAY", text, 1);
-            g_setenv("LANG", "en_US.UTF-8", 1);
             g_setenv("XRDP_SESSION", "1", 1);
             if ((env_names != 0) && (env_values != 0) &&
                 (env_names->count == env_values->count))
openSUSE Build Service is sponsored by