Article title: Solution for TCITX in English. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Solution:
I use RED HAT LINUX 9 and select all components.
You do not need to select Chinese for installation. you can enter Chinese for installation. the method is as follows:
Install FCITX first. refer to the instructions on the forum or www.fcitx.org.
After installation:
Step 1: Set/etc/sysconfig/i18n
Modify:
LANG = "en_US.UTF-8"
LC_CTYPE = zh_CN.GB18030
SUPPORTED = "en_US.UTF-8: en_US: en"
SYSFONT = "latarcyrheb-sun16"
Actually, LC_CTYPE = zh_CN.GB18030 is added!
Step 2: Open. bashrc in the current directory and modify it:
#. Bashrc
Export GDK_USE_XFT = 0
LANG = "en_US.UTF-8"
LANG = "zh_CN.GB18030"
# User specific aliases and functions
# Source global definitions
If [-f/etc/bashrc]; then
./Etc/bashrc
Fi
Add the following to the original file:
LANG = "en_US.UTF-8"
LANG = "zh_CN.GB18030"
In these two rows, export GDK_USE_XFT = 0 is added in the Chinese style by the North-South elder brother method. if you do not follow the Chinese style by the method, you do not need to join this item!
Http://www.chinaitlab.com/www/news/article_show.asp? Id = 13413 method here)
Step 3:
Create the. i18n file in the current directory. run the: # touch. i18n command to create the file.
Add:
LANG = "en_US.UTF-8"
LANG = "zh_CN.GB18030"
SAVE
Now, log out and check if FCITX runs automatically? Ctrl + space is the input method?
Note: Before LANG = "zh_CN.GB18030", you can use "#" to cancel Chinese support, so that the menu is completely in English! Cool?
If you do not log off, most GNOME programs will be in Chinese, while only a few programs in KDE will be in Chinese. if you log off, all programs will be in English!
In other words, the current directory is the directory where you access the SHELL. these operations require the ROOT permission! Happy!
In addition, steps 2 and 3 are used to ensure that the menu is in English. I canceled LANG = "zh_CN.GB18030" and you can use it as needed!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.