Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Fatherhood.Org

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 172 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

locale



DESCRIPTION

       The  locale  definition files contains all the information
       that the localedef(1) command needs to convert it into the
       binary locale database.

       The  definition  files  consist  of  sections  which  each
       describe a locale category in detail.


SYNTAX

       The locale definition file starts with a header  that  may
       consist of the following keywords:

       <escape_char>
              is  followed  by a character that should be used as
              the escape-character for the rest of  the  file  to
              mark  characters  that  should  be interpreted in a
              special way. It defaults to the backslash ( \ ).

       <comment_char>
              is followed by a character that will be used as the
              comment-character  for  the  rest  of  the file. It
              defaults to the number sign (#).

       The locale definition has one part for each  locale  cate­
       gory.   Each  part  can  be  copied  from another existing
       locale or can be defined from  scratch.  If  the  category
       should be copied, the only valid keyword in the definition
       is copy followed by the name of the locale which should be
       copied.

   LC_CTYPE
       LC_CTYPE  category  starts with the string LC_CTYPE in the
       first column.

       There are the following keywords allowed:

       upper  followed by a list of uppercase letters.  The  let­
              ters A trough Z are included automatically. Charac­
              ters also specified  as  cntrl,  digit,  punct,  or
              space are not allowed.

       lower  followed  by  a list of lowercase letters. The let­
              ters a trough z are included automatically. Charac­
              ters  also  specified  as  cntrl,  digit, punct, or
              space are not allowed.

       alpha  followed by a list of letters. All character speci­
              <newline>, <carriage-return>, <tab>, and <vertical-
              tab> are automatically included.

       cntrl  followed by a list of control characters.   Charac­
              ters  also specified as upper, lower, alpha, digit,
              punct, graph, print, or xdigit are not allowed.

       punct  followed by a list of punctuation characters. Char­
              acters  also  specified  as  upper,  lower,  alpha,
              digit, cntrl, xdigit, or the <space> character  are
              not allowed.

       graph  followed  by  a  list  of printable characters, not
              including the  <space>  character.  The  characters
              defined  as upper, lower, alpha, digit, xdigit, and
              punct are automatically included.  Characters  also
              specified as cntrl are not allowed.

       print  followed by a list of printable characters, includ­
              ing the <space> character. The  characters  defined
              as  upper,  lower, alpha, digit, xdigit, punct, and
              the <space> character are  automatically  included.
              Characters also specified as cntrl are not allowed.

       xdigit followed by a list of characters classified as hex­
              adecimal   digits.   The  decimal  digits  must  be
              included followed by one or more set of six charac­
              ters  in  ascending order. The following characters
              are included by default: 0 trough 9, a trough f,  A
              trough F.

       blank  followed  by  a  list  of  characters classified as
              blank.  The characters <space> and <tab> are  auto­
              matically included.

       toupper
              followed  by  a  list of mappings from lowercase to
              uppercase letters. Each mapping is a pair of a low­
              ercase  and  an uppercase letter separated with a ,
              and enclosed in parentheses.  The  members  of  the
              list are separated with semicolons.

       tolower
              followed  by  a  list of mappings from uppercase to
              lowercase letters. If the keyword  tolower  is  not
              present, the reverse of the toupper list is used.

       collating-element

       collating-symbol

       The order-definition starts with a line:

       order_start

       followed  by  a list of keywords out of forward, backward,
       or position.  The order definition consists of lines  that
       describe the order and is terminated with the keyword

       order_end.

       For  more  details  see  the  sources  in /usr/lib/nls/src
       notably the examples POSIX, Example and Example2

       The LC_COLLATE definition ends with the string END LC_COL­
       LATE.

   LC_MONETARY
       The  definition  starts with the string LC_MONETARY in the
       first column.

       There are the following keywords allowed:

       int_curr_symbol
              followed by the international currency symbol. This
              must  be a 4-character string containing the inter­
              national currency symbol as defined by the ISO 4217
              standard  (three  characters) followed by a separa­
              tor.

       currency_symbol
              followed by the local currency symbol.

       mon_decimal_point
              followed by the string that will  be  used  as  the
              decimal  delimiter when formatting monetary quanti­
              ties.

       mon_thousands_sep
              followed by the string that will be used as a group
              separator when formatting monetary quantities.
              followed by the number of  fractional  digits  that
              should   be   used   when   formatting   with   the
              int_curr_symbol.

       frac_digits
              followed by the number of  fractional  digits  that
              should  be  used  when  formatting  with  the  cur­
              rency_symbol.

       p_cs_precedes
              followed by  an  integer  set  to  1  if  the  cur­
              rency_symbol or int_curr_symbol
               should  precede the formatted monetary quantity or
              set to 0 if the symbol succeeds the value.

       p_sep_by_space
              followed by an integer.

              0      means  that  no  space  should  be   printed
                     between the symbol and the value.

              1      means that a space should be printed between
                     the symbol and the value.

              2      means that a space should be printed between
                     the symbol and the sign string, if adjacent.

       n_cs_precedes

              0      - the symbol succeeds the value.

              1      - the symbol precedes the value.

       n_sep_by_space
              An integer set to 0 if no space separates the  cur­
              rency_symbol  or int_curr_symbol from the value for
              a negative monetary quantity, set to 1 if  a  space
              separates the symbol from the value and set to 2 if
              a space separates the symbol and the  sign  string,
              if adjacent.

       p_sign_posn

              0      Parentheses  enclose  the  quantity  and the
                     currency_symbol or int_curr_symbol.

              1      The sign string precedes  the  quantity  and
                     the  currency_symbol or the int_curr_symbol.

              2      The sign string succeeds  the  quantity  and
                     the  currency_symbol or the int_curr_symbol.

              2      The  sign  string  succeeds the quantity and
                     the currency_symbol or the  int_curr_symbol.

              3      The sign string precedes the currency_symbol
                     or the int_curr_symbol.

              4      The sign string succeeds the currency_symbol
                     or the int_curr_symbol.

       The  LC_MONETARY  definition  ends  with  the  string  END
       LC_MONETARY.

   LC_NUMERIC
       The definition starts with the string  LC_NUMERIC  in  the
       first column.

       The following keywords are allowed:

       decimal_point
              followed  by  the  string  that will be used as the
              decimal delimiter when formatting  numeric  quanti­
              ties.

       thousands_sep
              followed by the string that will be used as a group
              separator when formatting numeric quantities.

       grouping
              followed by a string that describes the  formatting
              of numeric quantities.

       The   LC_NUMERIC  definition  ends  with  the  string  END
       LC_NUMERIC.

   LC_TIME
       The definition starts with the string LC_TIME in the first
       column.

       The following keywords are allowed:

       abday  followed  by  a  list of abbreviated weekday names.
              The list starts with Sunday or its translation.

       day    followed by a  list  of  weekday  names.  The  list
              starts with Sunday.

       abmon  followed by a list of abbreviated month names.

              format.

       The LC_TIME definition ends with the string END LC_TIME.

   LC_MESSAGES
       The  definition  starts with the string LC_MESSAGES in the
       first column.

       The following keywords are allowed:

       yesexpr
              followed by a  regular  expression  that  describes
              possible yes-responses.

       noexpr followed  by  a  regular  expression that describes
              possible no-responses.

       The  LC_MESSAGES  definition  ends  with  the  string  END
       LC_MESSAGES.

       See the POSIX.2 standard for details.


FILES

       /usr/lib/locale/ - database for the current locale setting
       of that category
       /usr/lib/nls/charmap/* - charmap-files


BUGS

       The manpage isn't complete.


CONFORMING TO

       POSIX.2


SEE ALSO

       setlocale(3),   localeconv(3),   charmap(5),    locale(1),
       localedef(1)

National Language Support   1994-11-09                  locale(5)
  




Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can choose larger fonts by selecting a different themes.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.04 Seconds