]> pere.pagekite.me Git - homepage.git/blobdiff - linux/glibc/howto.html
Generated.
[homepage.git] / linux / glibc / howto.html
index 82b55a200f574669c78c19aa6ed4c348665290a5..7b68909fb80b29fade482d0aaaf7eb8b681785c5 100644 (file)
@@ -95,7 +95,8 @@
       <p>The category entries are references to the standard used when
        writing the given section.  The standard refs should have
        quotes around them, and should not use the &lt;U#&gt;
-       notation.  They should normally look like this:</p>
+       notation.  They should normally look something like this:</p>
+
       <blockquote><pre>
 category  "i18n:1997";LC_IDENTIFICATION
        </pre></blockquote>
@@ -103,8 +104,11 @@ category  "i18n:1997";LC_IDENTIFICATION
     <h2>LC_MESSAGES</h2>
 
       <p>Then yesexpr and noexpr entries should have the form
-       <tt>^[yYnN&lt;extra&gt;]</tt>, without 0 and 1 and without
-       trailing "<tt>.*</tt>".</p>
+       <tt>^[yY&lt;extra&gt;]</tt> and <tt>^[nN&lt;extra&gt;]</tt>,
+       without 0 and 1 and without trailing "<tt>.*</tt>".  The
+       reason is to make sure the expressions have the same form as
+       the expressions used in the C/POSIX locale (<tt>^[yY]</tt> and
+       <tt>^[nN]</tt>).</p>
 
     <h2>Standard documents and specifications</h2>
 
@@ -136,6 +140,9 @@ category  "i18n:1997";LC_IDENTIFICATION
          localedef -i de_DE@euro -c -f ISO-8859-15 de_DE
          LANG=de_DE date
        </pre>
+
+      <p>I've made a small tool <a href="check-locale">check-locale</a>
+       capable of detecting a few common mistakes with locales</p>
        
     </div>
 
@@ -143,7 +150,7 @@ category  "i18n:1997";LC_IDENTIFICATION
     <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 Oct 30 02:01:11 CEST 2004
+Last modified: Mon Dec 20 20:17:59 CET 2004
 <!-- hhmts end -->
   </body>
 </html>