Hi,

Living in South Africa, my default LANG seems to be en_ZA.  However, this 
seems to be missing from XFree86's locale.alias.  This results in programs 
complaining:

    Warning: locale not supported by Xlib, locale set to C

and certain applications like OpenOffice.org not starting up.  I patch my 
locale file to avoid the problems.  I picked the entries from en_GB, because 
it should be similar.

I don't know the "official" way of doing this.  I do this with various RedHat 
and Debian Linux distributions, running XFree86 4.0.3 through 4.2.1+cvs, 
after installing.  The file is /usr/X11R6/lib/X11/locale/locale.alias.  Is 
this a good way of doing it, or are there better ways?  Can this be fixed by 
patching XFree86's main source, or should I look elsewhere?


The patch I apply is:


--- locale.alias.stock  2002-10-12 13:25:28.000000000 +0200
+++ locale.alias.za     2002-08-15 10:58:53.000000000 +0200
@@ -1478,3 +1478,17 @@


 Japanese-EUC:                                  ja_JP.eucJP
+
+# South Africa...
+en_ZA                                          en_ZA.ISO8859-1
+en_ZA.88591                                    en_ZA.ISO8859-1
+en_ZA.88591.en                                 en_ZA.ISO8859-1
+en_ZA.iso88591                                 en_ZA.ISO8859-1
+en_ZA.ISO-8859-1                               en_ZA.ISO8859-1
+en_ZA.ISO_8859-1                               en_ZA.ISO8859-1
+en_ZA:                                         en_ZA.ISO8859-1
+en_ZA.88591:                                   en_ZA.ISO8859-1
+en_ZA.88591.en:                                en_ZA.ISO8859-1
+en_ZA.iso88591:                                en_ZA.ISO8859-1
+en_ZA.ISO-8859-1:                              en_ZA.ISO8859-1
+en_ZA.ISO_8859-1:                              en_ZA.ISO8859-1

-- 
Berend De Schouwer

_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to