Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is it possible to make a permanent change to the GUI language of Cola Git GUI or git gui? I would like to have them both in English, whenever I start them.

Is this possible?

I know of the following threads:

but those feature ad-hoc solutions.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

It depends on how you start it. Without knowing anything about the particular programs you mention, a generally convenient method is to put a small wrapper program in the ~/bin folder.

To show you what I mean, I wrote such a wrapper to start gedit in Swedish (while I otherwise use English as my display language). The name of the file is ~/bin/gedit, and this is its contents:

#!/bin/sh
export LANGUAGE=sv
export LANG=sv_SE.UTF-8
exec /usr/bin/gedit "$@"

The file shall be executable:

chmod +x gedit

HTH

share|improve this answer
    
I usually start programs via the bottom bar on my screen (I use Xfce, the bottom bar is hidden by default) or Synapse, the latter being in use 99% of the time. –  henry Feb 19 at 20:13
    
It works. It's not true to the word, btu true in spirit and that's enough. :) –  henry Feb 19 at 20:57
    
@henry: Glad to hear that. –  Gunnar Hjalmarsson Feb 19 at 22:43

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.