0

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.

faow
  • 1

2 Answers2

0

You should set LC_TIME, for other LC_* variables look at The Open Group's Locale man page.

ismail
  • 46,010
  • 9
  • 86
  • 95
  • Yes, but to what?I looked at the link, but I could not find out what I have to set where, I'm missing examples. – faow Mar 05 '14 at 13:05
0

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.

krowe
  • 2,129
  • 17
  • 19