To change the locale of the current user like export LANG=en_US.UTF-8
.
But this environment variable doesn't affect the root user. When I use sudo
the display language remains default.
How can I temporarily change locale for using sudo
?
sudo export LANG=en_US.UTF-8
didn't work, probably that is a bash
command.