aboutsummaryrefslogtreecommitdiffstats
path: root/lang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lang.sh')
-rwxr-xr-xlang.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/lang.sh b/lang.sh
index ff26a0cd..f4860867 100755
--- a/lang.sh
+++ b/lang.sh
@@ -70,6 +70,12 @@ if [ "$sourced" = 1 ]; then
*.utf8*|*.UTF-8*)
if [ "$TERM" = "linux" ]; then
if [ "$consoletype" = "vt" ]; then
+ if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
+ for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
+ [ -f $langfile ] && . $langfile
+ done
+ /bin/unicode_start $SYSFONT $SYSFONTACM
+ fi
case $LANG in
ja*) LANG=en_US.UTF-8 ;;
ko*) LANG=en_US.UTF-8 ;;
@@ -78,12 +84,6 @@ if [ "$sourced" = 1 ]; then
en_IN*) ;;
*_IN*) LANG=en_US.UTF-8 ;;
esac
- if [ -x /bin/unicode_start ] && /sbin/consoletype fg ; then
- for langfile in /etc/sysconfig/i18n $HOME/.i18n ; do
- [ -f $langfile ] && . $langfile
- done
- /bin/unicode_start $SYSFONT $SYSFONTACM
- fi
fi
fi
;;