2

I'd like to know how I can change my shell language (not the OS) to english. The language I have in my OS windows is German (Switzerland).

Answer: I've put export LC_ALL=C into the hidden ~/.bashrc file as some suggested. This solved my problem.

empedokles
  • 3,883
  • 15
  • 46
  • 68
  • @Jacob Vlijm: Afaik I don't have two languages. The menus and everything are German. – empedokles Dec 25 '15 at 10:42
  • you can make the settings permanent by putting export LC_ALL=C at the bottom of .bashrc file – Alex Jones Dec 25 '15 at 10:57
  • 1
    @kos Pity! It wasn't an answer. If it was, you'd get another upvotes ;) – Tung Tran Dec 25 '15 at 10:57
  • edward torvalds: What is a .bashrc file? Please provide a full answer. Thanks. – empedokles Dec 25 '15 at 11:06
  • @empedokles: put export LC_ALL=C at the end of ~/.bashrc, which is a hidden text file named .bashrc in your home directory. To see it, open your home directory in Files and hit CTRL+H. Save, exit and then fire up a terminal. Everything should be in English. After that, if that solved your problem, please agree with the closure of the question by clicking the button "Yes, that solved my problem!". – kos Dec 25 '15 at 11:12
  • kos: That didn't help, it may consider other parts of the shell, but "git" is still in German, if I use "git push .... etc (the provided link doesn't contain the helpful information about the .bashrc btw.). – empedokles Dec 25 '15 at 11:19
  • Ok, please edit you question and explain that you tried this and that it didn't work for git. Maybe also change the title to explain that the problem is mostly related to git since export LC_ALL=C at least partially solved the problem. – kos Dec 25 '15 at 11:21
  • I found this: http://askubuntu.com/q/320661/380067. The first answer applies only to git, the second one applies to all executables relying on LANG (hence also e.g. to date). – kos Dec 25 '15 at 11:30
  • I think even the first answer solved it, but it didn't until I restarted the shell. ;-) – empedokles Dec 25 '15 at 11:45
  • Can you figure out which one of the two solved it? E.g. remove the line from the second question and restart the shell, so that I know what to vote for. :) Or flag your question yourself, it's the same. – kos Dec 25 '15 at 11:47
  • @kos: The one writen in my question above. – empedokles Dec 26 '15 at 12:46

0 Answers0