which linux environment variable do I have to set for english output, but ISO/metric units for time, date, etc. ?
Currently I have in my env:
LC_MESSAGES=en_US
LANG=en_US
LANGUAGE=
Thanks.
You should set LC_TIME
, for other LC_*
variables look at The Open Group's Locale man page.
I would generate the UK locale.
sudo locale-gen en_UK.UTF-8
The system wide locales are stated in /etc/default/locale
in Ubuntu, so give that file the contents:
LANG=en_UK.UTF-8
The instructions for this are going to vary widely from distro to distro though.