Localization problem with ubuntu 5.10 solved! 
In cinelerra/main.C

If you want locale on breezy then you must change this line:

// detect an UTF-8 locale and try to use a non-Unicode locale instead
// <---Beginning of dirty hack
// This hack will be removed as soon as Cinelerra is UTF-8 compliant
-  char *s, *language;
+//  char *s, *language;

// Query user locale
-    if ((s = getenv("LC_ALL"))  || 
+//    if ((s = getenv("LC_ALL"))  || 
-               (s = getenv("LC_MESSAGES")) || 
+//             (s = getenv("LC_MESSAGES")) || 
-               (s = getenv("LC_CTYPE")) || 
+//             (s = getenv("LC_CTYPE")) || 
-               (s = getenv ("LANG")))
+//             (s = getenv ("LANG")))
-    {
+//    {
// Test if user locale is set to Unicode        
-        if (strstr(s, ".UTF-8"))
+//        if (strstr(s, ".UTF-8"))
-        {
+//        {
// extract language  from [EMAIL PROTECTED]
-          language = strtok (s, ".@");
+//          language = strtok (s, ".@");
// set language as the default locale
-          setenv("LANG", language, 1);
+//          setenv("LANG", language, 1);
-        }
+//        }
-    }
+//    }
// End of dirty hack --->

enjoy!


_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to