Michael George schrieb:
On Sat, Jul 29, 2006 at 05:20:13PM +0200, Alexander Skwar wrote:
Michael George schrieb:
>I am building OOo 2.0.3 and I happened to notice in the verbose emerge
>output that there is a long list of languages listed in the LINGUAS
>variable:
>
> LINGUAS="-af% -ar% -be_BY% -bg% -bn% -bs% -ca% -cs% -cy% -da% -de% -el%
> -en% -en_GB% -en_US% -en_ZA% -es% -et% -fa% -fi% -fr% -gu_IN% -he%
> -hi_IN% -hr% -hu% -it% -ja% -km% -ko% -lt% -mk% -nb% -nl% -nn% -nr%
> -ns% -pa_IN% -pl% -pt% -pt_BR% -ru% -rw% -sh_YU% -sk% -sl% -sr_CS% -st%
> -sv% -sw_TZ% -th% -tn% -tr% -ts% -vi% -xh% -zh_CN% -zh_TW% -zu%"
>
>Does this mean that NONE of those languages will be built in or that ALL
>of them will be?
If all of them have a - before, then yes, none will be built.
Okay, that's what I figured it meant.
>The docs I found on gentoo localization indicate that I can set LINGUAS
>in make.conf and build for just the languages I desire. I set it to:
>LINGUAS="en_US"
>but all that does is prepend en_US to the beginning of the string above.
How? What's shown?
If I put LINGUAS="en_US" into make.conf, then the LINGUAS line reads:
LINGUAS="en_US% -af% -ar% -be_BY% -bg% -bn% -bs% -ca% -cs% -cy% -da% -de%
-el% -en% -en_GB% -en_ZA% -es% -et% -fa% -fi% -fr% -gu_IN% -he%
-hi_IN% -hr% -hu% -it% -ja% -km% -ko% -lt% -mk% -nb% -nl% -nn% -nr%
-ns% -pa_IN% -pl% -pt% -pt_BR% -ru% -rw% -sh_YU% -sk% -sl% -sr_CS% -st%
-sv% -sw_TZ% -th% -tn% -tr% -ts% -vi% -xh% -zh_CN% -zh_TW% -zu%"
en_US is put on the front and -en_US disappears from the list.
See, it works just like a USE flag. Means: You now enabled the en_US linguas.
>Where are those settings coming from?
make.conf
Any that I specify to be built are in make.conf, but there is nothing in
make.conf that specifies the "-" entries....
Of course not - just like there's (mostly) nothing in your make.conf
or package.use, which specifies "- USE flags".
Alexander Skwar
--
MSDOS is not dead, it just smells that way.
-- Henry Spencer
--
[email protected] mailing list