I use Persian loclae. In addition to displaying wrong words for the time, I prefer to display the original English words. Also in system logs. How should I do this?
I use Persian loclae. In addition to displaying wrong words for the time, I prefer to display the original English words. Also in system logs. How should I do this?
First edit /etc/locale.gen and make sure that
en_US.UTF-8 UTF-8
id uncommented.Find it and change this:
into this:
Next, rebuild locales:
And then you can set your locale for terminal logins by editing
~/.bashrc
or `~/.bash_profile/ and adding:Also if you want to run certain commands with default (English) locales you can put LC_ALL=C in front of them, like so: