Git GUI: how to change the locale

On my German Windows, when I run git gui this happens in hard-to-reach German. How can I change it to default English? The Git GUI options menu item does not offer such an option.

+6
git locale
May 22 '11 at 17:04
source share
3 answers

Just set the LANG environment variable to en_US .

+10
May 23 '11 at 8:16
source share

Just guessing: if it uses localization files, you can either delete the German localization file (most likely, it will be dropped into English), or create a duplicate of the English language and replace it with German.

+7
May 22 '11 at 17:25
source share

This is a very old question, and I know that the correct answer has already been given and accepted, but if someone skips it and decides to go with the approach of Peter Abdulin (because the accepted answer did not work for them, they did not want to change their LANG environment variable. ..), adding an additional extension to the currently used translation (not always common sense) will also work in this specific situation - shutting down your system to English and save the non-English translation file unchanged.

When you do something this way, you always want to keep a backup of your source files, even if you think that they will never need them again, or assume that it will automatically work just because it works in most situations. Do not copy files and replace blindly. Suppose this does not work, and you may need to restore the original file without serious problems.

The choice for expansion is up to you. For German translations:

 de.msg -> de.msg.bak (do not use .bak if it conflicts with auto-backups) de.msg -> de.msg.original (non-standard, but slightly more intuitive) 

To cancel the backup process, simply remove the extension.

 de.msg.bak -> de.msg 

If you can configure your configuration correctly, do not touch the files or do this.

Use this quickfix of your problem as a workaround for what you should actually be doing.

+1
Jul 18 '14 at 20:09
source share



All Articles