Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Oh, the man page (<a href="http://linux.die.net/man/1/locale" rel="nofollow"><code>man 1 locale</code></a>) does:</p> <pre><code>LC_CTYPE Character classification and case conversion. LC_COLLATE Collation order. LC_TIME Date and time formats. LC_NUMERIC Non-monetary numeric formats. LC_MONETARY Monetary formats. LC_MESSAGES Formats of informative and diagnostic messages and interactive responses. </code></pre> <p>Perhaps, you had a look for the 'locale' manpage in the wrong section? These are the standard sections (see <code>man man</code>)</p> <pre><code>0 Header files (usually found in /usr/include) 1 Executable programs or shell commands 2 System calls (functions provided by the kernel) 3 Library calls (functions within program libraries) 4 Special files (usually found in /dev) 5 File formats and conventions eg /etc/passwd 6 Games 7 Miscellaneous (including macro packages and conven- tions), e.g. man(7), groff(7) 8 System administration commands (usually only for root) 9 Kernel routines [Non standard] </code></pre> <p>so, for the <code>locale</code> binary, you have to look in section <code>1</code>: <code>man 1 locale</code>. To fully answer your question, I cite the description part of locale's man page:</p> <pre><code>DESCRIPTION The locale utility shall write information about the current locale environment, or all public locales, to the standard output. For the purposes of this section, a public locale is one provided by the imple- mentation that is accessible to the application. When locale is invoked without any arguments, it shall summarize the current locale environment for each locale category as determined by the settings of the environment variables defined in the Base Defini- tions volume of IEEE Std 1003.1-2001, Chapter 7, Locale. When invoked with operands, it shall write values that have been assigned to the keywords in the locale categories, as follows: * Specifying a keyword name shall select the named keyword and the category containing that keyword. * Specifying a category name shall select the named category and all keywords in that category. </code></pre> <p>Samples (<code>LC_TIME</code> and <code>LC_MESSAGES</code>):</p> <pre><code>$ export LC_TIME='fr_FR.UTF-8' #french time $ date mar. août 30 18:41:07 CEST 2011 $ export LC_TIME='de_DE.UTF-8' #german time $ date Di 30. Aug 18:41:12 CEST 2011 #english time $ export LC_TIME='en_US.UTF-8' $ date Tue Aug 30 18:41:17 CEST 2011 $ rm NON-EXIST rm: cannot remove `NON-EXIST': No such file or directory $ export LC_TIME='de_DE.UTF-8' #german time, but english MESSAGES $ rm NON-EXIST rm: cannot remove `NON-EXIST': No such file or directory $ export LC_MESSAGES='de_DE.UTF-8' #german messages $ rm NON-EXIST rm: cannot remove `NON-EXIST': Datei oder Verzeichnis nicht gefunden </code></pre> <p><code>LC_COLLATE</code> is for sorting information according to a language. <code>LC_MONETARY</code> is the format for currency (US: <code>$1.24</code>, europe: <code>1.24 €</code>)</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload