RSS/Atom feed Twitter
Site is read-only, email is disabled

gimp not respecting locale

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

8 of 8 messages available
Toggle history

Please log in to manage your subscriptions.

gimp not respecting locale MIlos Prudek 23 Nov 14:48
  gimp not respecting locale Simon Budig 23 Nov 14:55
   gimp not respecting locale MIlos Prudek 23 Nov 16:49
    gimp not respecting locale Steve Stavropoulos 23 Nov 17:29
     gimp not respecting locale MIlos Prudek 24 Nov 10:19
      gimp not respecting locale Carol Spears 24 Nov 17:12
       gimp not respecting locale MIlos Prudek 24 Nov 18:34
      gimp not respecting locale Raphaël Quinet 24 Nov 18:26
MIlos Prudek
2005-11-23 14:48:14 UTC (over 18 years ago)

gimp not respecting locale

What would cause gimp to display its interface in English if all environment variables are set to Czech? My enviro is:

LANG=cs_CZ LANGUAGE=cs_CZ:cs
LC_ADDRESS=cs_CZ
LC_COLLATE=cs_CZ
LC_CTYPE=cs_CZ
LC_IDENTIFICATION=cs_CZ
LC_MEASUREMENT=cs_CZ
LC_MESSAGES=cs_CZ
LC_MONETARY=cs_CZ
LC_NAME=cs_CZ
LC_NUMERIC=cs_CZ
LC_PAPER=cs_CZ
LC_SOURCED=1
LC_TELEPHONE=cs_CZ
LC_TIME=cs_CZ

and yet gimp displays English interface.

Simon Budig
2005-11-23 14:55:12 UTC (over 18 years ago)

gimp not respecting locale

MIlos Prudek (prudek@bvx.cz) wrote:

What would cause gimp to display its interface in English if all environment variables are set to Czech? My enviro is:

LANG=cs_CZ LANGUAGE=cs_CZ:cs
LC_ADDRESS=cs_CZ
LC_COLLATE=cs_CZ
LC_CTYPE=cs_CZ
LC_IDENTIFICATION=cs_CZ
LC_MEASUREMENT=cs_CZ
LC_MESSAGES=cs_CZ
LC_MONETARY=cs_CZ
LC_NAME=cs_CZ
LC_NUMERIC=cs_CZ
LC_PAPER=cs_CZ
LC_SOURCED=1
LC_TELEPHONE=cs_CZ
LC_TIME=cs_CZ

and yet gimp displays English interface.

Maybe LC_ALL is set to a bogus value? Better unset it.

Bye, Simon

MIlos Prudek
2005-11-23 16:49:39 UTC (over 18 years ago)

gimp not respecting locale

Maybe LC_ALL is set to a bogus value? Better unset it.

Nope, LC_ALL was never set.

Steve Stavropoulos
2005-11-23 17:29:22 UTC (over 18 years ago)

gimp not respecting locale

On 11/23/05, MIlos Prudek wrote:

Maybe LC_ALL is set to a bogus value? Better unset it.

Nope, LC_ALL was never set.

Try running in a terminal: env LC_ALL=en_US gimp If this shows an english interface then there is no problem with gimp. You should just check the enviroment you run it under.

MIlos Prudek
2005-11-24 10:19:22 UTC (over 18 years ago)

gimp not respecting locale

On Wednesday 23 of November 2005 17:29, you wrote:

env LC_ALL=en_US gimp

Yes, this show english interface.

When I run env LC_ALL=cs_CZ gimp, gimp should shoiw Czech interface, shouldn't it? But it does not.

Curiously, gimp compiled from sources did not show this problem. Only gimp RPM included with my current distro, Mandriva 2006, shows this problem. Even though locale messages are installed in

/usr/share/locale/cs/LC_MESSAGES/gimp20-libgimp.mo /usr/share/locale/cs/LC_MESSAGES/gimp20-script-fu.mo /usr/share/locale/cs/LC_MESSAGES/gimp20-std-plug-ins.mo /usr/share/locale/cs/LC_MESSAGES/gimp20.mo

I guess you will now rebuke me for bringing a distro-specific issue to this list...

Carol Spears
2005-11-24 17:12:07 UTC (over 18 years ago)

gimp not respecting locale

On Thu, Nov 24, 2005 at 10:19:22AM +0100, MIlos Prudek wrote:

Yes, this show english interface.

When I run env LC_ALL=cs_CZ gimp, gimp should shoiw Czech interface, shouldn't it? But it does not.

Curiously, gimp compiled from sources did not show this problem. Only gimp RPM included with my current distro, Mandriva 2006, shows this problem. Even though locale messages are installed in

/usr/share/locale/cs/LC_MESSAGES/gimp20-libgimp.mo /usr/share/locale/cs/LC_MESSAGES/gimp20-script-fu.mo /usr/share/locale/cs/LC_MESSAGES/gimp20-std-plug-ins.mo /usr/share/locale/cs/LC_MESSAGES/gimp20.mo

I guess you will now rebuke me for bringing a distro-specific issue to this list...

no rebuking. when they make things "easy" for people they also make it very difficult to find out where it is broken.

there is nothing we can do to fix it either.

maybe there is a lesson here about how the easy way to do things is often the wrong way, but i am too busy to spend a lot of time working through that thought that has been already expressed in so many ways by so many people.

feel free to come back with your next problem.

carol

Raphaël Quinet
2005-11-24 18:26:09 UTC (over 18 years ago)

gimp not respecting locale

On Thu, 24 Nov 2005 10:19:22 +0100, MIlos Prudek wrote: [...]

Curiously, gimp compiled from sources did not show this problem. Only gimp RPM included with my current distro, Mandriva 2006, shows this problem. Even though locale messages are installed in

/usr/share/locale/cs/LC_MESSAGES/gimp20-libgimp.mo /usr/share/locale/cs/LC_MESSAGES/gimp20-script-fu.mo /usr/share/locale/cs/LC_MESSAGES/gimp20-std-plug-ins.mo /usr/share/locale/cs/LC_MESSAGES/gimp20.mo

I guess you will now rebuke me for bringing a distro-specific issue to this list...

I have never used Mandriva so it will be difficult for me to help. However, did you check what is invoked when you run "gimp"? Some distributions replace the GIMP binary by a shell script that does some checks and modifies the environment. I do not know if this is the case for Mandriva.

Other than that, you should probably seek help from Mandriva or from other Mandriva users. Or fetch the source RPM from Mandriva, extract it and review the patches that get included when you rebuild.

Good luck, -Raphaël

MIlos Prudek
2005-11-24 18:34:37 UTC (over 18 years ago)

gimp not respecting locale

When I run env LC_ALL=cs_CZ gimp, gimp should shoiw Czech interface, shouldn't it? But it does not.

no rebuking. when they make things "easy" for people they also make it very difficult to find out where it is broken.

OK.

I solved the problem by compiling gimp 2.2.9 from sources.

Who knows what kind of Voodoo is Mandriva's gimp following.