+ <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>
+