1 |
On 12/13/06, Dale <dalek@××××××××××.net> wrote: |
2 |
> |
3 |
> Ryan Sims wrote: |
4 |
> |
5 |
> I noticed while updating to Gnome 2.16 today that gnome2-user-docs |
6 |
> took a long time (38 min +), and most of that time was spend on |
7 |
> versions of the documents in languages I don't speak. After trying a |
8 |
> few things, I found that disabling the nls use flag in scrollkeeper |
9 |
> reduced the gnome2-user-docs compile down to under a minute. |
10 |
> |
11 |
> It got me thinking...I speak only English, my fiancee speaks English |
12 |
> (well, and some French, but she doesn't need our computer to), so I |
13 |
> thought, hm, is nls support needed *anywhere?* |
14 |
> So I disabled the use flag globally to test, and discovered probably |
15 |
> 30 packages that want to be rebuilt, from glibc to vim to coreutils to |
16 |
> audacious. |
17 |
> |
18 |
> If I only need a monoglot computer, would I break anything by |
19 |
> disabling nls support? |
20 |
> |
21 |
> http://www.gentoo.org/doc/en/guide-localization.xml |
22 |
> |
23 |
> This is the part that matters: |
24 |
> |
25 |
> There is also additional localisation variable called LINGUAS, which |
26 |
> affects to localisation files that get installed in gettext-based programs, |
27 |
> and decides used localisation for some specific software packages, such as |
28 |
> kde-base/kde-i18n and app-office/openoffice. The variable takes in space-separated |
29 |
> list of language codes, and suggested place to set it is /etc/make.conf: |
30 |
> |
31 |
> Code Listing 3.5: Setting LINGUAS in make.conf |
32 |
> |
33 |
> # nano -w /etc/make.conf(Add in the LINGUAS variable. For instance, |
34 |
> for German, Finnish and English:) |
35 |
> LINGUAS="de fi en" |
36 |
> |
37 |
> |
38 |
> |
39 |
> I think that will help you. I have -nls in mine too. So both should not |
40 |
> hurt anything. |
41 |
> |
42 |
> Hope that helps. |
43 |
> |
44 |
|
45 |
Thanks. I do have my LINGUAS variable set to "en," but as I understand |
46 |
it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't |
47 |
use those flags wont respect LINGUAS, is that correct? |
48 |
|
49 |
[1]http://devmanual.gentoo.org/general-concepts/linguas/index.html |
50 |
|
51 |
-- |
52 |
Ryan W Sims |