Ubuntu: errors in terminal: how to show them in english language?

5

1

i installed Ubuntu in italian language. Now I would like to see the error commands in english.

For example if i write:

$ mmmm

This is showed:

mmmm: comando non trovato

I would like that

mmmmm: command was not found

is showed.

Any idea?

Regards

Javi

user35538

Posted 2011-01-20T18:36:57.800

Reputation: 1 207

2To get the error messages in English, install the English version. – None – 2011-01-20T18:41:49.377

Answers

8

The language used by most applications uses the LC_LANG or LANG environment variables to find your language.

You can override it by adding a line

LANG=en_US.UTF-8
  • to the file ~/.profile if you want it to be changed for all applications (including GUI applications)

  • to the file ~/.bashrc for only applications you launch from inside the terminal (assuming your shell is bash).

You can also override it on a per-application basis by prefixing your command with that definition, e.g.

$ LANG=en_US.UTF-8 ls

Benjamin Bannier

Posted 2011-01-20T18:36:57.800

Reputation: 13 999

Or you can set it for just the current session by entering LANG=en_US.UTF-8 at the command prompt. – Paused until further notice. – 2011-01-20T19:01:54.570

5

not always working. you may have locale lang set in LANG variable overridden by LANGUAGE variable should use then LANGUAGE=en_US:en in the end of ~/.bashrc

user277755

Posted 2011-01-20T18:36:57.800

Reputation: 51