]> pere.pagekite.me Git - homepage.git/commitdiff
Info on locale naming.
authorPetter Reinholdtsen <pere@hungry.com>
Sat, 24 Jul 2004 13:19:33 +0000 (13:19 +0000)
committerPetter Reinholdtsen <pere@hungry.com>
Sat, 24 Jul 2004 13:19:33 +0000 (13:19 +0000)
linux/glibc/howto.html

index 33acb3d386baab3e776642606eb700091d3d85c0..641827d4e58617fdb13d039201c3f1eb70dd6abd 100644 (file)
 
     <h2>How to choose the locale file name</h2>
 
-    - how to choose the file name
+      <p>Locale names consist of three parts.  The language code, the
+       country/region code, and the optional modifier.  The format is
+       language_REGION@modifier.  The language code is a code from
+       ISO 639.  The two-letter code is prefered, but a three letter
+       code is accepted if no two-letter code is available.  The
+       country/region code is a code from ISO 3166.  If the language
+       or region in question is missing in the ISO standard, one need
+       to get the ISO standard updated before the locale will be
+       included in glibc.</p>
+
+      <p>Little is known about the requirements for the naming of
+       modifiers.  The following modifiers are currently used:
+       abegede, cyrillic, euro and saaho.  This might indicate that
+       lower case letters are prefered in modifier names.</p>
+
+
+      <ul>
+       <li><a href="http://www.unicode.org/onlinedat/countries.html">ISO 3166</a></li>
+       <li><a href="http://www.loc.gov/standards/iso639-2/">ISO 639</a>
+      </ul>
 
     <h2>Category order</h2>
 
@@ -71,7 +90,7 @@
     <address><a href="mailto:pere@hungry.com">Petter Reinholdtsen</a></address>
 <!-- Created: Sun Mar 21 18:14:42 CET 2004 -->
 <!-- hhmts start -->
-Last modified: Sat May 15 11:56:09 CEST 2004
+Last modified: Sat Jul 24 15:19:14 CEST 2004
 <!-- hhmts end -->
   </body>
 </html>