From 20e1c9c5e830aff8414567da968dd94bbdd71b07 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 10 Mar 2003 19:05:22 +0000 Subject: (pablo) workaround console localization broken in RTL languages --- perl-install/lang.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install') diff --git a/perl-install/lang.pm b/perl-install/lang.pm index e51e45fba..0f1f89f5b 100644 --- a/perl-install/lang.pm +++ b/perl-install/lang.pm @@ -895,6 +895,11 @@ sub write { } add2hash $h, $xim{$locale_lang}; + #- deactivate translations on console for RTL languages + if ($locale_lang =~ /ar|fa|he|ur|yi/) { + add2hash $h, { CONSOLE_NOT_LOCALIZED => 'yes' } + } + setVarsInSh($prefix . ($user_only ? "$ENV{HOME}/.i18n" : '/etc/sysconfig/i18n'), $h); eval { -- cgit v1.2.1