Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LINGUAS
Date: Sat, 29 Jul 2006 21:14:02
Message-Id: 44CBCE5F.5070100@mid.email-server.info
In Reply to: Re: [gentoo-user] LINGUAS by Michael George
1 Michael George schrieb:
2 > On Sat, Jul 29, 2006 at 05:20:13PM +0200, Alexander Skwar wrote:
3 >> Michael George schrieb:
4 >> >I am building OOo 2.0.3 and I happened to notice in the verbose emerge
5 >> >output that there is a long list of languages listed in the LINGUAS
6 >> >variable:
7 >> >
8 >> > LINGUAS="-af% -ar% -be_BY% -bg% -bn% -bs% -ca% -cs% -cy% -da% -de% -el%
9 >> > -en% -en_GB% -en_US% -en_ZA% -es% -et% -fa% -fi% -fr% -gu_IN% -he%
10 >> > -hi_IN% -hr% -hu% -it% -ja% -km% -ko% -lt% -mk% -nb% -nl% -nn% -nr%
11 >> > -ns% -pa_IN% -pl% -pt% -pt_BR% -ru% -rw% -sh_YU% -sk% -sl% -sr_CS% -st%
12 >> > -sv% -sw_TZ% -th% -tn% -tr% -ts% -vi% -xh% -zh_CN% -zh_TW% -zu%"
13 >> >
14 >> >Does this mean that NONE of those languages will be built in or that ALL
15 >> >of them will be?
16 >>
17 >> If all of them have a - before, then yes, none will be built.
18 >
19 > Okay, that's what I figured it meant.
20 >
21 >> >The docs I found on gentoo localization indicate that I can set LINGUAS
22 >> >in make.conf and build for just the languages I desire. I set it to:
23 >> >LINGUAS="en_US"
24 >> >but all that does is prepend en_US to the beginning of the string above.
25 >>
26 >> How? What's shown?
27 >
28 > If I put LINGUAS="en_US" into make.conf, then the LINGUAS line reads:
29 >
30 > LINGUAS="en_US% -af% -ar% -be_BY% -bg% -bn% -bs% -ca% -cs% -cy% -da% -de%
31 > -el% -en% -en_GB% -en_ZA% -es% -et% -fa% -fi% -fr% -gu_IN% -he%
32 > -hi_IN% -hr% -hu% -it% -ja% -km% -ko% -lt% -mk% -nb% -nl% -nn% -nr%
33 > -ns% -pa_IN% -pl% -pt% -pt_BR% -ru% -rw% -sh_YU% -sk% -sl% -sr_CS% -st%
34 > -sv% -sw_TZ% -th% -tn% -tr% -ts% -vi% -xh% -zh_CN% -zh_TW% -zu%"
35 >
36 > en_US is put on the front and -en_US disappears from the list.
37
38 See, it works just like a USE flag. Means: You now enabled the en_US linguas.
39
40 >> >Where are those settings coming from?
41 >>
42 >> make.conf
43 >
44 > Any that I specify to be built are in make.conf, but there is nothing in
45 > make.conf that specifies the "-" entries....
46
47 Of course not - just like there's (mostly) nothing in your make.conf
48 or package.use, which specifies "- USE flags".
49
50 Alexander Skwar
51 --
52 MSDOS is not dead, it just smells that way.
53 -- Henry Spencer
54 --
55 gentoo-user@g.o mailing list