5

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

1
  • 2
    To get the error messages in English, install the English version.
    – user3463
    Jan 20, 2011 at 18:41

2 Answers 2

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
1
  • Or you can set it for just the current session by entering LANG=en_US.UTF-8 at the command prompt. Jan 20, 2011 at 19:01
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .