Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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


share|improve this answer
Thank you. I will try to set it in /etc/sudoers. – EliDevender May 17 '14 at 6:03
@EliasEx: Sounds dangerous. Nothing I would try. – Gunnar Hjalmarsson May 17 '14 at 19:04
How can I change the global local variable in the console? I need this for a server with out an UI. – EliDevender May 17 '14 at 19:12
@EliasEx: /etc/default/locale is intended for setting the locale globally. – Gunnar Hjalmarsson May 18 '14 at 2:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.