On Thu, Feb 12, 2015 at 09:10:59AM +0200, Gevisz wrote > On Thu, 12 Feb 2015 07:59:57 +0100 bitlord <bitlord0...@gmail.com> wrote: > > > On Wed, 11 Feb 2015 21:09:44 +0200 > > Gevisz <gev...@gmail.com> wrote: > > > > > What is the elegant way to switch off all but one linguas variables > > > for a given package. > > > > > > I have tried all "obvious" solutions but they seem to do not work. > > > > > > For example, I have tried to put the following line > > > into /etc/portage/package.use file: www-client/chromium -nls > > > -linguas* linguas_en linguas_pl > > > > > > So far I am afraid to recompile everything with global -nls USE flag > > > and LINGUAS="en" in /etc/portage/make.conf. So, trying to cut the > > > cat's tail by parts. :) > > > > > > > For package specific env, check > > https://wiki.gentoo.org/wiki//etc/portage/env > > Thank you for the link. > > It seems that I need something like described in its Example 1. > > Will try it later today.
There is an app (the author calls it a "hack") to remove extraneous localized messages after the fact... emerge localepurge ...and RTFM before using it. Some apps install messages/manpages/etc in umpteen languages, ***WITHOUT BEING ASKED***. This app gets rid of them. It cleaned out 20 megabytes on my system. It isn't that much on a desktop PC, but if you're working with a SOC that uses flash ram, it may be very nice. -- Walter Dnes <waltd...@waltdnes.org> I don't run "desktop environments"; I run useful applications