
Code: Select all
LC_ALL=de gimp-2.2Code: Select all
LANG="en" emerge gimp-2.2It would make more sense for you to set LINGUAS in make.conf than LANG on command linerevertex wrote:wdreinhart, thanks for that nice tip.
i just eddited my fluxbox menu, and now i can launch gimp in my native language an in english.
Gimp in english is a must have to me to easily follow the tutorials.
I've found annother solution compiling gimp withCode: Select all
LANG="en" emerge gimp-2.2
but exporting the lang variable before lauch gimp i can have it both languages!
Nah, it wouldn't.Conan wrote:It would make more sense for you to set LINGUAS in make.conf than LANG on command linerevertex wrote:wdreinhart, thanks for that nice tip.
i just eddited my fluxbox menu, and now i can launch gimp in my native language an in english.
Gimp in english is a must have to me to easily follow the tutorials.
I've found annother solution compiling gimp withCode: Select all
LANG="en" emerge gimp-2.2
but exporting the lang variable before lauch gimp i can have it both languages!
Code: Select all
# emerge -pv openoffice
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] app-office/openoffice-2.0.4 USE="cairo cups dbus firefox kde pam sound -binfilter -branding -debug -eds -gnome -gstreamer -gtk -java -ldap -odk -webdav" LINGUAS="en es -af -ar -be_BY -bg -bn -bs -ca -cs -cy -da -de -el -en_GB -en_US -en_ZA -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" 0 kB
Code: Select all
# emerge -pv gimp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-gfx/gimp-2.3.12 USE="alsa jpeg lcms mmx mng png python sse svg tiff wmf -aalib (-altivec) -debug -doc -gnome -gtkhtml -pdf -smp" 0 kB
Code: Select all
# equery f gimp | grep locale
/usr/share/locale
/usr/share/locale/bg
/usr/share/locale/bg/LC_MESSAGES
/usr/share/locale/bg/LC_MESSAGES/gimp20.mo
/usr/share/locale/ca
/usr/share/locale/ca/LC_MESSAGES
/usr/share/locale/ca/LC_MESSAGES/gimp20.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/gimp20.mo
/usr/share/locale/da
/usr/share/locale/da/LC_MESSAGES
/usr/share/locale/da/LC_MESSAGES/gimp20.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/gimp20.mo
/usr/share/locale/dz
/usr/share/locale/dz/LC_MESSAGES
/usr/share/locale/dz/LC_MESSAGES/gimp20.mo
/usr/share/locale/el
/usr/share/locale/el/LC_MESSAGES
/usr/share/locale/el/LC_MESSAGES/gimp20.mo
/usr/share/locale/en_CA
/usr/share/locale/en_CA/LC_MESSAGES
/usr/share/locale/en_CA/LC_MESSAGES/gimp20.mo
/usr/share/locale/en_GB
/usr/share/locale/en_GB/LC_MESSAGES
/usr/share/locale/en_GB/LC_MESSAGES/gimp20.mo
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/gimp20-libgimp.mo
/usr/share/locale/es/LC_MESSAGES/gimp20-python.mo
/usr/share/locale/es/LC_MESSAGES/gimp20-script-fu.mo
/usr/share/locale/es/LC_MESSAGES/gimp20-std-plug-ins.mo
/usr/share/locale/es/LC_MESSAGES/gimp20-tips.mo
/usr/share/locale/es/LC_MESSAGES/gimp20.mo
/usr/share/locale/et
/usr/share/locale/et/LC_MESSAGES
/usr/share/locale/et/LC_MESSAGES/gimp20.mo
/usr/share/locale/eu
/usr/share/locale/eu/LC_MESSAGES
/usr/share/locale/eu/LC_MESSAGES/gimp20.mo
/usr/share/locale/fi
/usr/share/locale/fi/LC_MESSAGES
/usr/share/locale/fi/LC_MESSAGES/gimp20.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/gimp20.mo
/usr/share/locale/ga
/usr/share/locale/ga/LC_MESSAGES
/usr/share/locale/ga/LC_MESSAGES/gimp20.mo
/usr/share/locale/gl
/usr/share/locale/gl/LC_MESSAGES
/usr/share/locale/gl/LC_MESSAGES/gimp20.mo
/usr/share/locale/gu
/usr/share/locale/gu/LC_MESSAGES
/usr/share/locale/gu/LC_MESSAGES/gimp20.mo
/usr/share/locale/he
/usr/share/locale/he/LC_MESSAGES
/usr/share/locale/he/LC_MESSAGES/gimp20.mo
/usr/share/locale/hr
/usr/share/locale/hr/LC_MESSAGES
/usr/share/locale/hr/LC_MESSAGES/gimp20.mo
/usr/share/locale/hu
/usr/share/locale/hu/LC_MESSAGES
/usr/share/locale/hu/LC_MESSAGES/gimp20.mo
/usr/share/locale/id
/usr/share/locale/id/LC_MESSAGES
/usr/share/locale/id/LC_MESSAGES/gimp20.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/gimp20.mo
/usr/share/locale/ja
/usr/share/locale/ja/LC_MESSAGES
/usr/share/locale/ja/LC_MESSAGES/gimp20.mo
/usr/share/locale/ko
/usr/share/locale/ko/LC_MESSAGES
/usr/share/locale/ko/LC_MESSAGES/gimp20.mo
/usr/share/locale/lt
/usr/share/locale/lt/LC_MESSAGES
/usr/share/locale/lt/LC_MESSAGES/gimp20.mo
/usr/share/locale/mk
/usr/share/locale/mk/LC_MESSAGES
/usr/share/locale/mk/LC_MESSAGES/gimp20.mo
/usr/share/locale/ms
/usr/share/locale/ms/LC_MESSAGES
/usr/share/locale/ms/LC_MESSAGES/gimp20.mo
/usr/share/locale/nb
/usr/share/locale/nb/LC_MESSAGES
/usr/share/locale/nb/LC_MESSAGES/gimp20.mo
/usr/share/locale/ne
/usr/share/locale/ne/LC_MESSAGES
/usr/share/locale/ne/LC_MESSAGES/gimp20.mo
/usr/share/locale/nl
/usr/share/locale/nl/LC_MESSAGES
/usr/share/locale/nl/LC_MESSAGES/gimp20.mo
/usr/share/locale/pa
/usr/share/locale/pa/LC_MESSAGES
/usr/share/locale/pa/LC_MESSAGES/gimp20.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/gimp20.mo
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/gimp20.mo
/usr/share/locale/pt_BR
/usr/share/locale/pt_BR/LC_MESSAGES
/usr/share/locale/pt_BR/LC_MESSAGES/gimp20.mo
/usr/share/locale/ro
/usr/share/locale/ro/LC_MESSAGES
/usr/share/locale/ro/LC_MESSAGES/gimp20.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/gimp20.mo
/usr/share/locale/rw
/usr/share/locale/rw/LC_MESSAGES
/usr/share/locale/rw/LC_MESSAGES/gimp20.mo
/usr/share/locale/sk
/usr/share/locale/sk/LC_MESSAGES
/usr/share/locale/sk/LC_MESSAGES/gimp20.mo
/usr/share/locale/sr
/usr/share/locale/sr/LC_MESSAGES
/usr/share/locale/sr/LC_MESSAGES/gimp20.mo
/usr/share/locale/sr@Latn
/usr/share/locale/sr@Latn/LC_MESSAGES
/usr/share/locale/sr@Latn/LC_MESSAGES/gimp20.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/gimp20.mo
/usr/share/locale/tr
/usr/share/locale/tr/LC_MESSAGES
/usr/share/locale/tr/LC_MESSAGES/gimp20.mo
/usr/share/locale/tt
/usr/share/locale/tt/LC_MESSAGES
/usr/share/locale/tt/LC_MESSAGES/gimp20.mo
/usr/share/locale/uk
/usr/share/locale/uk/LC_MESSAGES
/usr/share/locale/uk/LC_MESSAGES/gimp20.mo
/usr/share/locale/vi
/usr/share/locale/vi/LC_MESSAGES
/usr/share/locale/vi/LC_MESSAGES/gimp20.mo
/usr/share/locale/xh
/usr/share/locale/xh/LC_MESSAGES
/usr/share/locale/xh/LC_MESSAGES/gimp20.mo
/usr/share/locale/yi
/usr/share/locale/yi/LC_MESSAGES
/usr/share/locale/yi/LC_MESSAGES/gimp20.mo
/usr/share/locale/zh_CN
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/gimp20.mo
/usr/share/locale/zh_TW
/usr/share/locale/zh_TW/LC_MESSAGES
/usr/share/locale/zh_TW/LC_MESSAGES/gimp20.mo
Code: Select all
# equery f amarok | grep locale
/usr/share/locale
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/amarok.mo
Code: Select all
# echo $LINGUAS
no such thing as a free lunchpink wrote:In any Gimp install you get all those locales for free
Each .mo file is around 250 bytes, do you really think that arond 20-30 .mo files are the reason why the gimp is big in your hd?Gentree wrote:also changing /etc/make.conf will affect all emerges done from now on which was clearly not what the poster was looking to do.
no such thing as a free lunchpink wrote:In any Gimp install you get all those locales for freelook at all the disk space that uses. How about getting gimp to install just the one (or two) locales you really want.
Code: Select all
airflow@aquarius ~ $ LC_ALL=de gimp-2.2
(gimp-2.2:6901): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gimp-2.2:6901): Gtk-WARNING **: Theme directory 48x48/mimetypes of theme Snow-Apple has no size field
airflow@aquarius ~ $ LC_ALL=de_DE gimp-2.2
(gimp-2.2:6904): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
(gimp-2.2:6904): Gtk-WARNING **: Theme directory 48x48/mimetypes of theme Snow-Apple has no size field
airflow@aquarius ~ $ Code: Select all
airflow@aquarius ~ $ equery f gimp | grep locale
/usr/share/locale
[...]
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/gimp20-libgimp.mo
/usr/share/locale/de/LC_MESSAGES/gimp20-script-fu.mo
/usr/share/locale/de/LC_MESSAGES/gimp20-std-plug-ins.mo
/usr/share/locale/de/LC_MESSAGES/gimp20.mo
[...]Code: Select all
airflow@aquarius ~ $ locale -a
C
de_AT@euro
POSIXCode: Select all
airflow@aquarius ~ $ cat /usr/local/bin/gimp_de.sh
#! /bin/sh
export LANGUAGE="de_AT@euro"
exec gimp-remote-2.2Code: Select all
#!/bin/bash
LC_ALL=de_AT@euro gimp