From 25d4c54bee17690f695f93b718ef8bb05265c679 Mon Sep 17 00:00:00 2001 From: Muayyad Saleh Alsadi Date: Fri, 10 Oct 2008 23:42:12 +0300 Subject: [PATCH] Disable Arabic and RTL Languages in VT this won't affect terminals on X this should be kept until some BiDi processing is introduced for the VT http://www.redhat.com/archives/fedora-devel-list/2008-October/msg00636.html --- lang.csh | 6 ++++++ lang.sh | 8 ++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/lang.csh b/lang.csh index 40fb0b4..db56be4 100755 --- a/lang.csh +++ b/lang.csh @@ -43,6 +43,9 @@ if ($sourced == 1) then case si*: case zh*: case *_IN*: + case ar*: + case fa*: + case he*: setenv LANG en_US.UTF-8 breaksw endsw @@ -62,6 +65,9 @@ if ($sourced == 1) then case si*: case zh*: case *_IN*: + case ar*: + case fa*: + case he*: setenv LANG en_US breaksw endsw diff --git a/lang.sh b/lang.sh index 7fe9e3f..12e41f6 100755 --- a/lang.sh +++ b/lang.sh @@ -57,6 +57,10 @@ if [ "$sourced" = 1 ]; then zh*) LANG=en_US.UTF-8 ;; en_IN*) ;; *_IN*) LANG=en_US.UTF-8 ;; + # added till some sort of BiDi processing is avalable + ar*) LANG=en_US.UTF-8 ;; + fa*) LANG=en_US.UTF-8 ;; + he*) LANG=en_US.UTF-8 ;; esac fi fi @@ -71,6 +75,10 @@ if [ "$sourced" = 1 ]; then zh*) LANG=en_US ;; en_IN*) ;; *_IN*) LANG=en_US ;; + # added till some sort of BiDi processing is avalable + ar*) LANG=en_US ;; + fa*) LANG=en_US ;; + he*) LANG=en_US ;; esac fi fi -- 1.5.5.1