Chinese

From Freespire

Jump to: navigation, search

Home-->Documentation-->Chinese

English | Chinese

Freespire 中文化可以通过以下几个步骤实现


1. locale的设定

Linux中通过locale来设置程序运行的不同环境。一般常用的中文locale有: zh_CN.UTF8 UTF-8 zh_CN.GBK GBK zh_CN.GB2312 GB2312 zh_CN.GB18030 GB18030

推荐使用UTF8的locale

修改/etc/locale.gen文件来设定系统中可以使用的locale sudo kwrite /etc/locale.gen

 en_US ISO-8859-1
 en_US.ISO-8859-15 ISO-8859-15
 en_US.UTF-8 UTF-8
 
 zh_CN.GBK GBK
 zh_CN.GB18030 GB18030
 zh_CN.UTF-8 UTF-8
 zh_CN GB2312

然后执行locale-gen命令: sudo locale-gen


2. 设置LC_ALL和其他属性

sudo kwrite /etc/environment

 LANGUAGE="zh_CN:zh:en_US:en"
 LC_CTYPE=zh_CN.UTF-8
 LANG=zh_CN.UTF-8
 GST_ID3_TAG_ENCODING=GBK


3. 安装中文字体和输入法

通过CNR安装:

中文字体:ttf-arphic-gkai00mp
中文输入法:scim-chinese


4. 界面汉化(还没找到好的方法)


备注:通过以上几步可以实现FreeSpire显示中文和输入中文,本文在FreeSpire下完成的


You can read the article: How to show the chinese documents right?

Personal tools