diff options
Diffstat (limited to 'rc.d/init.d')
-rwxr-xr-x | rc.d/init.d/functions | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index c762275c..bd470a09 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -23,10 +23,12 @@ if [ -f /etc/sysconfig/i18n -a -z "${NOLOCALE:-}" ] ; then . /etc/sysconfig/i18n if [ "$CONSOLETYPE" != "pty" ]; then case "${LANG:-}" in - ja_JP.eucJP|ko_KR.eucKR|zh_CN.GB2312|zh_TW.Big5|zh_CN.GB18030) - unset LANG;; + ja_JP.*|ko_KR.*|zh_CN.*) + export LC_MESSAGES=en_US + ;; *) export LANG + ;; esac else export LANG |