Change interface language in auto-detecting GTK apps

script_iconI was somewhat puzzled by encountering few apps (GIMP and Inkscape for which I had recently posted link to excellent tutorial) that defaulted their interface to language of Windows installation and gave no option to change it.

It can be quite inconvenient because it is often easier to work with complex interface in original language rather than [lacking] translation.

Problem

I may be wrong but it seems that issue is common for software using GTK+ for interface. However it is probable for other software that picks language from Windows settings as well.

Solution

Common advice is changing preferred language in Windows or adding environment variables. Not only inconvenient but also affects all software so might create need to toggle back and forth.

Other way I like much more is creating simple command line script that will set preferred language and launch specific app with that setting.

Example for Inkscape:

set lang=en
start inkscape.exe

Save as inkscape.cmd, copy to Inkscape folder and use for launching. Change language code and executable name as needed.

Start command is used so console window doesn’t get stuck open waiting for Inkscape to close.

Overall

Relatively simple and per application way to change auto-detected interface language.

By the way do you always prefer apps in your native language or used to working with software in some other (possibly more popular) one?

Related Posts

5 Comments

  • Control Panel -> System -> Advanced -> Environmental Variables -> System Wide -> set LANG to en.
    Affects every app.

  • @Jamie

    Yep, but the point is being able to switch language in specific app.

    By the way this post is somewhat obsolete for Inkscape because since then it got proper language switching in File > Inkscape Preferences > Interface > Language.

  • very nice, thanks.

    I use it with pan, a GTK newsreader. It also has no option to change the language, otherwise a fine app.

  • @someguest

    oh and to answer your question:
    My native language is German but sometimes I prefer to use software in English. Be it the translation is too bad or the help resources are mostly in English.

Comments are closed.