Ubuntu – Switch command output language from native language to english

command linelocale

How can I switch the command output language from my native language to English, so I can post my Ask Ubuntu question with English command output (error messages)?

Best Answer

export LC_ALL=C is enough. All subsequent command output will be in English.

More information: What does "LC_ALL=C" do?

If you want to revert to the native language, unset the LC_ALL variable:

unset LC_ALL