Ubuntu: Set default language for sudo


If I enter a command, the output is translated in the language I am using on the system. But if I use sudo to run a command with root privileges, the output is always in English. How can I change this?


You can't.

But there is a workaround:

  • If you haven't already done so, go to System Settings -> Language Support and click the "Apply System-Wide" button.
  • Get root privileges using sudo su

Reference: https://help.ubuntu.com/community/EnvironmentVariables#sudo_caveat

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »