locale.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 07 Jan 2015 20:02:07 +0200
changeset 1662 2fc04c90ddd3
parent 899 7b4265c8d324
permissions -rw-r--r--
Introduction to the Standard Directory Layout.

-*- mode: outline; coding: utf-8; -*-

* Linux.

** How see current locale settings?

  $ locale

** How see all available locale?

  $ locale -a

** How set date to ISO format?

Usually this be done trough en_DK locale.

You need setup, for example, LC_TIME=en_DK.utf8 at shell init.

*** Debian.

**** Install all available locale.

  $ sudo apt-get install locales-all

**** Generate locales.

  $ sudo dpkg-reconfigure locales

* FreeBSD.

** How see current locale settings?

  $ locale

** How see all available locale?

  $ locale -a