How can I switch the terminal output language from my native language to English, so I can post my Ask Ubuntu question with English terminal output (error messages)?
bash function for terminalHere is my bash function to switch between DE and EN locales. You may extend this code with your preferred languages.
To use this, put it in your Call it with
In general I suggest to change all 3 environment variables Adapting to your languageExtending the code to your native language is quiet simple. You can found the needed values by invoking the following command
|
|||||||
|
|
Open a terminal Ctrl+Alt+T and type:
or:
Now the terminal output is in english language. You can check it with It is possible to make a command to do that with a permanent
or:
Restart the Bash shell. Now you have the command Source: |
||||

LANGlike this, and it might help, but we do not require copied error messages to be in English. We require what the author has written to be in English (though we usually translate it instead of closing questions). So a question written in English with Spanish terminal text is fine, while a question written in Spanish with English terminal text is not. – Eliah Kagan Mar 5 at 13:49