diff options
-rwxr-xr-x | lang.csh | 6 | ||||
-rwxr-xr-x | lang.sh | 4 |
2 files changed, 10 insertions, 0 deletions
@@ -11,6 +11,12 @@ end if ($?GDM_LANG) then set sourced=1 setenv LANG $GDM_LANG + if ($?LANGUAGE) then + unsetenv LANGUAGE + endif + if ("$GDM_LANG" == "zh_CN.GB18030") then + setenv LANGUAGE "zh_CN.GB18030:zh_CN.GB2312:zh_CN" + endif endif if ($sourced == 1) then @@ -8,6 +8,10 @@ done if [ -n "$GDM_LANG" ]; then sourced=1 LANG="$GDM_LANG" + unset LANGUAGE + if [ "$GDM_LANG" = "zh_CN.GB18030" ]; then + export LANGUAGE="zh_CN.GB18030:zh_CN.GB2312:zh_CN" + fi fi if [ "$sourced" = 1 ]; then |