You are here

How to find out the current GIMP language with Skript-fu?

There are some parts of a Skript-fu where I wish to use a modest internationalization: captions for user entries, layer names, messages etc. First choice of course is English. But how can I find out for example, whether the current GIMP runs in German?

How do you handle this?

Greetings
Volker

If you are using GIMP 2.8 then you should be able to invoke the 'getenv' procedure -- e.g., (getenv "LANG").

http://mail.gnome.org/archives/commits-list/2011-March/msg07558.html

I have not tested this yet (I'm not on a machine with 2.8 at the moment).

Thank you. I'll upgrade from 2.6.

Volker

Subscribe to Comments for "How to find out the current GIMP language with Skript-fu?"