Glade: How change program interface language?

2

I'm using Glade (GTK+ 2 User Interface Builder). But I'm from Brazil, and my Ubuntu 10.10 is in portuguese.

How can I make Glade use English by default language?

P.S: I don't want to turn all my system in english, its just for Glade program.

Gabriel L. Oliveira

Posted 2011-05-27T05:00:47.913

Reputation: 774

Answers

2

Either override the language setting then starting glade like LANG=C glade-3 or simply delete the translation file /usr/share/locale/pt_BR/glade3.mo.

Fabel

Posted 2011-05-27T05:00:47.913

Reputation: 1 093

Great solution for annoying problem! I'd just add the Windows version: cmd /c "set LANG=C && glade-3.exe" – Zvika – 2015-12-29T11:35:18.020

Thank you very much for that! I don't know how you dropped here (one question from 5 months ago), but thank you so much! – Gabriel L. Oliveira – 2011-10-28T18:30:55.457

2

@Fabel 's solution didn't work for me. (I'm on ubuntu 16.04 with glade 3.18.3)

I had to set the variable LC_ALL=C instead of LANG=C. Like this:

$ LC_ALL=C glade &

You could also create an alias to that with

# ~/.bashrc or ~/.profile
alias glade="LC_ALL=C glade"

or even creating your own glade-in-english.desktop file at ~/.local/share/applications/glade-in-english.desktop.

Hope that it helps.

hbobenicio

Posted 2011-05-27T05:00:47.913

Reputation: 121