summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm33
1 files changed, 32 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index e481c1a9b..2989186c9 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -408,11 +408,14 @@ sub getLANGUAGE {
}
my %xim = (
+#- xcin only works with 'zh_TW', 'zh_TW.Big5', 'zh_CN', 'zh_CN.GB2312'
+#- all other locale names, in particular 'zh_HK' or 'zh_TW.UTF-8'
+#- are unknown to it. So chinput is used for all but 'zh_TW'
'zh_TW' => {
ENC => 'big5',
XIM => 'xcin',
XIM_PROGRAM => 'xcin',
- XMODIFIERS => '"@im=xcin"',
+ XMODIFIERS => '"@im=xcin-zh_TW"',
CONSOLE_NOT_LOCALIZED => 'yes',
},
'zh_TW.UTF-8' => {
@@ -436,6 +439,34 @@ my %xim = (
XMODIFIERS => '"@im=Chinput"',
CONSOLE_NOT_LOCALIZED => 'yes',
},
+ 'zh_SG' => {
+ ENC => 'gb',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
+ 'zh_SG.UTF-8' => {
+ ENC => 'utf8',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
+ 'zh_HK' => {
+ ENC => 'big5',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
+ 'zh_HK.UTF-8' => {
+ ENC => 'utf8',
+ XIM => 'Chinput',
+ XIM_PROGRAM => 'chinput',
+ XMODIFIERS => '"@im=Chinput"',
+ CONSOLE_NOT_LOCALIZED => 'yes',
+ },
'ko_KR' => {
ENC => 'kr',
XIM => 'Ami',