summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lang.pm5
1 files changed, 5 insertions, 0 deletions
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 {