Raffaella Traniello ha scritto:
She is as stubborn as ever. Or is it me?

I think I have the charset:

[EMAIL PROTECTED]:~$ locale -a
(...)
it_IT.iso885915
it_IT.utf8
(...)

But:

env LANG="it_IT.ISO-8859-15" cinelerra
With this command she opens in English.

I tried also with:

$ LANG="it_IT.iso885915" LANGUAGE="it_IT.iso885915"
LC_ALL="it_IT.iso885915" cinelerra

and similar combinations with no avail.


If Cin doesn't support utf-8 and Ubuntu has not ISO-8859-15 charset, how
is it possible that on Feisty I could run Cin in Italian with:

$ LANG="it_IT.utf8" LANGUAGE="it_IT:it" cinelerra


Boh!

Ciao
Raffaella
On cinelerra main.C, you can read this:

// 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;

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

This means that Cinelerra not support UTF-8 and an hack try to use utf-8 anyway. On ubuntu work only if you set LC_ALL to it_IT.utf8, but with bad caracters code. I not be able to know why your ubuntu not localize cinelerra... but you can:

try to check if exist this file:

/usr/share/locale/it/LC_MESSAGES/cinelerra.mo

if not download it.po, compile it as cinelerra.mo and put it on /usr/share/locale/it/LC_MESSAGES

Otherwise try my precompiled package...

But if not work with this: "sarĂ  sfiga! ;P"

byez (Ciauz)

Paolo Rampino aka Akirad

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

Reply via email to