This article shows how I installed Chinese support for Fedora under English locale(en_US.UTF-8).
- Fedora Installation
Select only English(USA) locale. Some fonts and input methods will also installed if you select Chinese locale. But those are no use.
Select and Install Gnome, Development, Kernel Development, Gnome Development and X Development. You may ignore the development packages if you don't need them at all.
- Fonts Installation
Copy the TrueType fonts you want from Microsoft Windows to /usr/share/fonts/windows/. You many find the fonts in Windows' \WINNT\Fonts directory.
Then execute the following commands as root:
cd /usr/share/fonts/windows ttmkfdir . cp fonts.scale fonts.dir chkfontpath --add /usr/share/fonts/windows
Here are the fonts that should be installed
- Input Method Installation and Configuration
The Smart Common Input Method platform, SCIM for short, is an input method that works under English locale. You may download it from http://www.turbolinux.com.cn/~suzhe/scim/. I just installed the following two RPM packages
rpm -hUv scim-0.8.2-1.i586.rpm rpm -hUv scim-chinese-0.2.6-1.i586.rpm
Then, you have to midify the file /etc/X11/xinit/xinitrc.d/xinput, in order to start SCIM automatically after X started. Here's the patch file
115c115,118 < XIM="none" --- > # XIM="none" > if [ -e /usr/bin/scim ]; then > XIM="SCIM" > fi 174a178,180 > SCIM) > XIM_PROGRAM=scim > XIM_ARGS="-d" ;;
If you want, also change zh_CN*), zh_TW*), etc., to use SCIM under those locale.
And you need modify the file /etc/gtk-2.0/gtk.immodules, to use X input methods in gtk applications. Here's the patch file
37c37 < "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko:ja:zh" --- > "xim" "X Input Method" "gtk20" "/usr/share/locale" "en:ko:ja:zh"
Also comment the IMs that you never need.
- Done, restart X.