Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

how to switch the language in GIMP

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
Alebo
n00b
n00b
Posts: 37
Joined: Wed Mar 30, 2005 11:52 am
Location: NRW, Germany

how to switch the language in GIMP

  • Quote

Post by Alebo » Wed Apr 13, 2005 9:27 pm

Hello

I have an english KDE, but I would like to use GIMP in german. How can I change it's language?
Top
wdreinhart
Guru
Guru
Posts: 569
Joined: Wed Jun 11, 2003 5:40 pm
Location: 4QFJ12345678

  • Quote

Post by wdreinhart » Wed Apr 13, 2005 10:06 pm

Set your LC_ALL environment variable (LANG may work too) to a German locale, and start The Gimp. The easiest way is just start it from a terminal like this:

Code: Select all

LC_ALL=de gimp-2.2
If that doesn't work, try setting LC_ALL to de_DE or de_AT instead of just de...
Top
revertex
l33t
l33t
User avatar
Posts: 806
Joined: Wed Apr 23, 2003 9:21 am

  • Quote

Post by revertex » Fri Apr 15, 2005 6:40 pm

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 with

Code: Select all

LANG="en" emerge gimp-2.2

but exporting the lang variable before lauch gimp i can have it both languages!
Top
kalle2
n00b
n00b
Posts: 33
Joined: Tue Jan 18, 2005 12:24 pm

  • Quote

Post by kalle2 » Fri Oct 27, 2006 1:00 pm

worked for me too, fine.
can someone add [SOLVED]
Top
Conan
Guru
Guru
Posts: 360
Joined: Tue Nov 02, 2004 1:26 am

  • Quote

Post by Conan » Fri Oct 27, 2006 3:07 pm

revertex 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 with

Code: Select all

LANG="en" emerge gimp-2.2

but exporting the lang variable before lauch gimp i can have it both languages!
It would make more sense for you to set LINGUAS in make.conf than LANG on command line
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Fri Oct 27, 2006 3:40 pm

Conan wrote:
revertex 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 with

Code: Select all

LANG="en" emerge gimp-2.2

but exporting the lang variable before lauch gimp i can have it both languages!
It would make more sense for you to set LINGUAS in make.conf than LANG on command line
Nah, it wouldn't.

LINGUAS is a compile time var that tells portage which language support to build in certain packages that are linguas aware, that it for a more advanced localization, and not just for the usual nls settings.

For example:

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
As you see, openoffice DO HAVE this LINGUAS capabilities, while

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 
The Gimp, doesn't have them. So, LINGUAS will not affect The Gimp, in fact, you can try yourself, LC_ALL="es" or "de" or "en" or any language you want, and The Gimp will use it, you just need to speciffy it if the language that you want to use is different from your default locale setting.

In any Gimp install you get all those locales for free :P

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
While in a program compiled with LINGUAS awareness you only get the LINGUAS that you compiled it with:

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
So, LINGUAS is only relevant during compile time, and not when you want to run the program. As all the settings in make.conf, it only comes into scene when "emerge" is working. As you can see:

Code: Select all

 # echo $LINGUAS

Echoes nothing at all in a normal user or root shell.

Regards.
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

  • Quote

Post by Gentree » Tue Nov 07, 2006 12:05 pm

also changing /etc/make.conf will affect all emerges done from now on which was clearly not what the poster was looking to do.
pink wrote:In any Gimp install you get all those locales for free
no such thing as a free lunch :wink: look at all the disk space that uses. How about getting gimp to install just the one (or two) locales you really want.
8)
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
i92guboj
Bodhisattva
Bodhisattva
User avatar
Posts: 10315
Joined: Tue Nov 30, 2004 8:17 pm
Location: Córdoba (Spain)

  • Quote

Post by i92guboj » Tue Nov 07, 2006 1:44 pm

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.
pink wrote:In any Gimp install you get all those locales for free
no such thing as a free lunch :wink: look at all the disk space that uses. How about getting gimp to install just the one (or two) locales you really want.
8)
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? :P

Well, jokes appart, portage is migrating toward a more modular design, so, I bet that at some point in the future the gimp ebuild will also use linguas to decide what is to be installed, but, in any case, the locales in gimp are not a big slice of the package like they are, for example, in kde (kde-i18n package).

Of course, in the while, if someone feels like doing it, it is always possible to addapt the ebuild to do so and submit it to bugzilla :)
Top
airflow
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Sun Dec 14, 2003 8:16 pm
Location: Vienna, Austria

  • Quote

Post by airflow » Sun Aug 26, 2007 9:46 am

Hi there!

I also need to run GIMP in german language, and I tried your tips. When I try to run gimp with the environment-variables set you mention, I get the following error-message:

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 ~ $ 
Any idea on how to solve this problem? Which "C library" library is meant, and how can I modify the library?

I also tried the command i92guboj suggested to see if gimp is capable of having a german interface, and it seems so...

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
[...]
Any help appreciated...
airflow
Top
airflow
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Sun Dec 14, 2003 8:16 pm
Location: Vienna, Austria

  • Quote

Post by airflow » Sun Aug 26, 2007 10:18 am

OK, sorry for the last question, I already solved it...

With the command "locale -a" I found out, that my locale was named differently...

Code: Select all

airflow@aquarius ~ $ locale -a
C
de_AT@euro
POSIX
So if I exchanged de_AT with de_AT@eure, it worked... :)

But I have another problem now, perhaps someone knows something: While it is possible to start gimp now in another language from the shell, I can't get a working menu-entry for gnome to work.

If I create a launcher with "LC_MESSAGES=de_AT@euro gimp-remote" as the command or with "LC_MESSAGES=de_AT@euro; gimp-remote" as the command, in both cases I get the error-message "Could not launch application, Failed to execute child process "LC_MESSAGES=de_AT@eure;" (No such file or directory).

As the next step i tried to create a separate launcher-script, which looks like this:

Code: Select all

airflow@aquarius ~ $ cat /usr/local/bin/gimp_de.sh 
#! /bin/sh
export LANGUAGE="de_AT@euro"
exec gimp-remote-2.2
Funny thing is, this script works, when I start it from the shell. But when I use it as the command of a gnome application launcher, the applications starts in englisch language again... :(

Any help appreciated, again.. :)
airflow
Top
01mf02
Veteran
Veteran
User avatar
Posts: 1070
Joined: Sun Nov 21, 2004 3:14 pm
Location: Innsbruck, Austria

  • Quote

Post by 01mf02 » Sun Aug 26, 2007 11:33 am

Does the script work if you change it to this?

Code: Select all

#!/bin/bash
LC_ALL=de_AT@euro gimp
?
Top
airflow
Apprentice
Apprentice
User avatar
Posts: 173
Joined: Sun Dec 14, 2003 8:16 pm
Location: Vienna, Austria

  • Quote

Post by airflow » Sun Aug 26, 2007 9:10 pm

Yes, this works!

Thanks a lot!
airflow
Top
Post Reply

12 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic