Gentoo Archives: gentoo-user

From: KH <gentoo-user@××××××××××××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to start thunderbird/firefox in a different language?
Date: Tue, 20 Jan 2009 16:35:22
Message-Id: 4975FD40.4070003@konstantinhansen.de
In Reply to: [gentoo-user] how to start thunderbird/firefox in a different language? by zhangweiwu@realss.com
1 zhangweiwu@××××××.com schrieb:
2 > Hello. I have
3 >
4 > zhangweiwu@esmeralda:~$ grep --invert-match ^# /etc/locale.gen
5 >
6 > zh_CN.UTF-8 UTF-8
7 > en_US.UTF-8 UTF-8
8 > de_DE.UTF-8 UTF-8
9 >
10 >
11 > For most applications, I can start it in any language I wish to use.
12 > e.g. if I want to start abiword in en_US, I can do this:
13 >
14 > zhangweiwu@esmeralda:~$ LANG=en_US abiword
15 >
16 > However this method doesn't work for firefox and thunderbird. Both
17 > always starts in German (note German is the last, a.k.a. least preferred
18 > language for me, in /etc/locale.gen)
19 >
20 > I checked that I do have thunderbird installed with linguas_en_US (see
21 > below emerge output). If it is installed with that language version, it
22 > should be able to run in that language version. How can I start
23 > thunderbird in en_US?
24 >
25 > zhangweiwu@esmeralda:~$ sudo emerge -pv mail-client/mozilla-thunderbird
26 >
27 > These are the packages that would be merged, in order:
28 >
29 > Calculating dependencies... done!
30 > [ebuild R ] mail-client/mozilla-thunderbird-2.0.0.19 USE="crypt ipv6 ldap replytolist xinerama xprint -bindist -debug -gnome -mozdom -moznopango" LINGUAS="de en_US -af -be -bg -ca -cs -da -el -en -en_GB -es -es_AR -es_ES -eu -fi -fr -ga -ga_IE -he -hu -it -ja -ko -lt -mk -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ru -sk -sl -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 0 kB
31 >
32 > Total: 1 package (1 reinstall), Size of downloads: 0 kB
33 >
34 Hi,
35
36 you can define something in /etc/portage/package.use
37
38 app-office/openoffice linguas_de -linguas_en -linguas_en_GB
39
40 My example results in an only German oo.
41
42 This might be useless for you if you which to change the language every
43 5 mins, but it might be usable if you want to change for permanent.
44
45 kh