locale.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

========
 Locale
========
.. contents::
   :local:

List locale settings?
=====================

Current locale::

  $ locale

List all available locales::

  $ 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.

Install all available locale in Debian::

  $ sudo apt-get install locales-all

Generate locales in Debian::

  $ sudo dpkg-reconfigure locales