LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: wjping119

弟兄们共同帮忙汉化 slax

[复制链接]
发表于 2004-5-30 00:10:15 | 显示全部楼层
菜单英文无所谓的,之遥LC_CTYPE=zh_CN.gb2312就是了
 楼主| 发表于 2004-5-30 14:28:46 | 显示全部楼层
我总觉得是lang.sh的问题
哪位兄弟把自己的贴出来让我看一下
我修改的结果如下,就有四句有用的

#!/bin/sh
# Set the system locale.  (no, we don't have a menu for this ;-)
# For a list of locales which are supported by this machine, type:
#   locale -a

# en_US is the Slackware default locale:
export LANG=zh_CN.gb2312
export LC_CTYPE=zh_CN.gb2312
export LC_ALL=zh_CN.gb2312

# 'C' is the old Slackware (and UNIX) default, which is 127-bit
# ASCII with a charmap setting of ANSI_X3.4-1968.  These days,
# it's better to use en_US or another modern $LANG setting to
# support extended character sets.
#export LANG=C

# There is also support for UTF-8 locales, but be aware that
# some programs are not yet able to handle UTF-8 and will fail to
# run properly.  In those cases, you can set LANG=C before
# starting them.  Still, I'd avoid UTF unless you actually need it.
#export LANG=en_US.UTF-8

# Another option for en_US:
#export LANG=en_US.ISO8859-1

# One side effect of the newer locales is that the sort order
# is no longer according to ASCII values, so the sort order will
# change in many places.  Since this isn't usually expected and
# can break scripts, we'll stick with traditional ASCII sorting.
# If you'd prefer the sort algorithm that goes with your $LANG
# setting, comment this out.
export LC_COLLATE=zh_CN.gb2312

# End of /etc/profile.d/lang.sh
发表于 2004-5-30 16:37:35 | 显示全部楼层
#!/bin/sh
# Set the system locale (default C is the same as en_US):
export LANG=zh_CN.GBK
# This setting has been reported to fix some cut and paste
# problems with GTK2.  If you experience this, try it:
#export LANG=en_US.ISO8859-1
发表于 2004-5-30 16:53:07 | 显示全部楼层
export LC_ALL=zh_CN.gb2312
这句可以不要
我的就是一句
export LC_CTYPE=zh_CN.gbk
 楼主| 发表于 2004-6-3 22:10:53 | 显示全部楼层
我把汉化步骤发在公社的美化区了,因为要不断修改(还没全部有完成),而这儿却不行,所以就先搁那儿了,其实帖子都是这儿兄弟门的功劳,大伙来看看吧!http://www.linuxfans.org/nuke/mo ... ewtopic&t=70110
发表于 2004-6-4 01:34:47 | 显示全部楼层
汗,俺要看最关键的怎么制作livecd
 楼主| 发表于 2004-6-4 10:35:14 | 显示全部楼层
很简单,下载http://ftp.linux.cz/pub/linux/li ... x-live-4.1.2.tar.gz
到/tmp下,解压,进入目录,运行./install
ok,想要做livecd的话就运行./runme.sh
一切都是那么的简单,然后就会在tmp下生成一个叫做livecd.iso的文件,就是它了。

还有一些需注意的地方,内核只能用到2.4.26
下载它吧http://ftp.linux.cz/pub/linux/li ... evfs-alsa-1.0.4.tgz
带alsa-1.0.4的。如果用slax改装就什么也不用了
做完改动,./runme.sh就ok了
发表于 2004-6-4 11:17:51 | 显示全部楼层
可否安装一个gcc?其实也不会超出一张光盘吧?
 楼主| 发表于 2004-6-4 11:43:12 | 显示全部楼层
要是想刻录700兆光盘的话,当然没有问题
不过装gcc用的多义很多
不光是一个gcc
还需要许多其它的软件包,否则根本不能用的
 楼主| 发表于 2004-6-4 11:53:42 | 显示全部楼层
你是在做slax的光盘吗
有问题或者好的做法一定要写出来啊
我也是新手,慢慢进行尝试
光一个输入法就不知道弄了有多少遍了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表