"[kmashrab]" <[EMAIL PROTECTED]> writes:

> During the installation when one chooses Uzbek (latin) as a language the next 
> installation stage comes in English. However, DrakX creates 
> /usr/share/locale_special/uz/LC_MESSAGES/libDrakX.mo and 
> /usr/share/locale/uz/LC_* files. 

this comes from during_install__l2charset() returning UNICODE which is
not recognised.

this fixes it:

@resolution=fixed

--- lang.pm.~1.327.~    2003-08-05 18:28:17.000000000 +0200
+++ lang.pm     2003-08-12 15:09:14.000000000 +0200
@@ -1042,7 +1042,7 @@
     return if member($lang, @during_install__lang_having_their_LC_CTYPE);
 
     my ($c) = l2charset($lang) or die "bad lang $lang\n";
-    $c = 'UTF-8' if member($c, 'tis620', 'C');
+    $c = 'UTF-8' if member($c, 'tis620', 'C', 'unicode');
     $c = 'UTF-8' if $c =~ /koi8-/;
     $c = 'UTF-8' if $c =~ /iso-8859/;
     $c = 'UTF-8' if $c =~ /cp125/;


by the way, gen_locales.sh makes an error because
/usr/X11R6/lib/X11/locale/common doesn't exist anymore. It used to
contain 

          ximcp.so.2 xlcDef.so.2 xlcUTF8Load.so.2
          xlibi18n.so.2 xlocale.so.2 xomGeneric.so.2 

in mdk9.0, but mdk9.1 install was without it and it was ok...

so:

--- gen_locales.sh.~1.16.~      2003-02-26 15:50:26.000000000 +0100
+++ gen_locales.sh      2003-08-12 15:11:13.000000000 +0200
@@ -40,7 +40,7 @@
 perl -I../.. ../gen_locales.pl || exit 1
 
 
-for i in common C en_US.UTF-8 iso8859-1 ja ko zh_CN zh_TW.big5 ; do
+for i in C en_US.UTF-8 iso8859-1 ja ko zh_CN zh_TW.big5 ; do
     cp -a /usr/X11R6/lib/X11/locale/$i usr/X11R6/lib/X11/locale
 done
 

Reply via email to