LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1034|回复: 5

Firefox 中文化问题 [Solved]

[复制链接]
发表于 2006-11-25 14:21:47 | 显示全部楼层 |阅读模式
在我的locale下,无论是 mozilla-firefox, mozilla-firefox-bin 还是 mozilla-firefox-bin 2.0 (~x86) 都只能是英文菜单,大家的是怎么样的啊?

locale

  1. LC_ALL="zh_CN.UTF-8"
  2. LANG="zh_CN.UTF-8"
复制代码

  1. LINGUAS="en zh_CN"
复制代码


equery uses mozilla-firefox 有如下错误:

  1. + + linguas_zh_CN  unknown
复制代码


在 add-ons--> language 里有 Chinese Simplified Language Pack 2.0 (mozilla-firefox-bin 2.0)

firefox 的bin包居然不能用中文粗体和斜体,只有自己编译的才可以,忍了
发表于 2006-11-25 19:18:50 | 显示全部楼层
我上次推荐了一个插件,https://addons.mozilla.org/firefox/1333/
可以切换 firefox 界面语言

我能用中文粗斜体。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-25 20:43:09 | 显示全部楼层
Thanks so much, It works !!!!!

Why the firefox of gentoo failed to use LINGUAS and locale ? Is it a bug ? or i have to set the LINGUAS="zh_CN en_US"??

Sorry, Scim has just been unmerged so only english can be typed.
回复 支持 反对

使用道具 举报

发表于 2006-11-25 20:51:18 | 显示全部楼层
Post by ProgramFan
...

Why the firefox of gentoo failed to use LINGUAS and locale ? Is it a bug ? or i have to set the LINGUAS="zh_CN en_US"??
...

把这行加到/etc/portage/package.use里
www-client/mozilla-firefox linguas_zh_CN
应该是可以的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-25 22:17:33 | 显示全部楼层
Thanks.

But it should be really annoying recompiling mozilla-firefox.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-11-25 23:29:47 | 显示全部楼层
Finally got it !!!

Mozilla-firefox package treats the first in LINGUAS as the default language. so in my case it's en_US. So, if you want to support multiple languages in an application, please pay attention to the order of LINGUAS. The first may act as the default language.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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