<h2>Standard documents and specifications</h2>
+ <h2>Testing the new locale file</h2>
+
+ <p>To test a new locale on a test machine, do the
+ following:</p>
+
+ <ul>
+
+ <li>Copy the new locale to
+ <tt>/usr/share/i18n/locales/<em>filename</em></tt></li>
+
+ <li>Run <tt>localedef -i <em>inputfile</em> -c -f
+ <em>charset<em> <em>locale</em></tt> to generate a
+ binary locale file in
+ <tt>/usr/lib/locale/<em>locale</em>/</tt></li>
+
+ <li>Test it using LANG=<em>locale</em>, for example by
+ running <tt>date</tt></li>
+
+ </ul>
+
+ <p>Example, generating a new <tt>de_DE@euro</tt> locale using
+ the ISO-8859-15 charset and save it as 'de_DE':</p>
+
+ <pre>
+ cp de_DE@euro /usr/share/i18n/locales/de_DE@euro
+ localedef -i de_DE@euro -c -f ISO-8859-15 de_DE
+ LANG=de_DE date
+ </pre>
+
</div>
<hr>
<address><a href="mailto:pere@hungry.com">Petter Reinholdtsen</a></address>
<!-- Created: Sun Mar 21 18:14:42 CET 2004 -->
<!-- hhmts start -->
-Last modified: Tue Jul 27 09:07:23 CEST 2004
+Last modified: Sun Aug 8 22:21:45 CEST 2004
<!-- hhmts end -->
</body>
</html>