Ryan Sims wrote:
> On 12/13/06, *Dale* <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Ryan Sims wrote:
>>     I noticed while updating to Gnome 2.16 today that gnome2-user-docs
>>     took a long time (38 min +), and most of that time was spend on
>>     versions of the documents in languages I don't speak.  After
>>     trying a
>>     few things, I found that disabling the nls use flag in scrollkeeper
>>     reduced the gnome2-user-docs compile down to under a minute.
>>
>>     It got me thinking...I speak only English, my fiancee speaks English
>>     (well, and some French, but she doesn't need our computer to), so I
>>     thought, hm, is nls support needed *anywhere?*
>>     So I disabled the use flag globally to test, and discovered probably
>>     30 packages that want to be rebuilt, from glibc to vim to
>>     coreutils to
>>     audacious.
>>
>>     If I only need a monoglot computer, would I break anything by
>>     disabling nls support?
>>
>     http://www.gentoo.org/doc/en/guide-localization.xml
>
>     This is the part that matters:
>
>>     There is also additional localisation variable called LINGUAS,
>>     which affects to localisation files that get installed in
>>     gettext-based programs, and decides used localisation for some
>>     specific software packages, such as kde-base/kde-i18n and
>>     app-office/openoffice. The variable takes in space-separated list
>>     of language codes, and suggested place to set it is /etc/make.conf:
>>
>>     Code Listing 3.5: Setting LINGUAS in make.conf
>>
>>     # nano -w /etc/make.conf
>>     (Add in the LINGUAS variable. For instance, 
>>     for German, Finnish and English:)
>>     LINGUAS="de fi en"
>>             
>>
>
>     I think that will help you.  I have -nls in mine too.  So both
>     should not hurt anything.
>
>     Hope that helps.
>
>
> Thanks.  I do have my LINGUAS variable set to "en," but as I
> understand it[1], the LINGUAS variable is expanded to use flags, so
> ebuilds that don't use those flags wont respect LINGUAS, is that correct?
>
> [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html
>
> -- 
> Ryan W Sims 

Well, I put -nls  in USE line and LINGUAS="en" in my make.conf and it
has worked fine so far.  Everything is in English at least.  Some things
do seem to compile faster too.  I did have one package that had a bug
but it was fixed when I added the -nls.  From what I was told, if you
want English only, this is the way to do it.

I'm not really sure how the two interact with each other.  I would
assume English is the default language.  You add variables to get
something other than English.

Hope that helps, a little, since I'm not real sure either.

Dale

:-)  :-)  :-)

Reply via email to