Pagina 1 di 1

i18n + iso-8859-1 + utf-8 = %$£#§! [in inglese, scusi]

Inviato: sab 14 gen 2006, 11:16
da kikinovak
Hi,

I am running Slackware 10.2 / KDE. I recently downloaded the CVS version of Sweep (audio editor, http://www.metadecks.org/software/sweep/), compiled it (./configure --prefix=/usr --enable-alsa), installed it, and it runs fine... in english.

I wanted to take a look at the different translations, since I want to work on the french translation. So I opened Konsole and typed:

$ LANG=de_DE
$ sweep

I eventually repeated this operation with LANG parameter set to it_IT, fr_FR, pl_PL, etc.

Problem: special characters (é, è, à, ö, ä, ü, ...) are not displayed. And all the subsequent text after a special character is also blank. Thus, the message "Créer un nouveau fichier" becomes simply "Cr ", you get the picture.

I posted a similar message to alt.os.linux.slackware, without getting a solution. I spent maybe 48 hours on Google. Sent messages to poedit mailing lists, nothing.

So I thought I'd ask one of the gurus on Slacky.it :D maybe one of you guys can try out the app and see if it works in italian. (Similarly, everytime there is an "è", the message disappears).

ciao,

Niki

PS: e possibile rispondere in italiano. Capisco un poco, ma non posso scribere abbastanza bene :shock:

Inviato: sab 14 gen 2006, 11:33
da DaRkO
Hi,
i've installed sweep but the stable version 0.8.4, and it works in italian, no problem with expecial characters.

i've a "export LANG=it_IT" in my .bashrc.

Perhaps you have to ask help in the developer-ML, reporting the bug...but try first with the stable release :)

good luck and sorry my english ;)

bye

Inviato: sab 14 gen 2006, 11:41
da gallows
Have you changed your CHARSET variable? It should be set to "iso8859-15"

Inviato: sab 14 gen 2006, 14:15
da Paoletta
to make Slackware speak French you have to do these things:
in /etc/profile you have to add these lines (after # Set the values for some environment variables):

Codice: Seleziona tutto

export LANG="fr_FR@euro"
export CHARSET="iso8859-15".
in /etc/profile.d/lang.sh you have to write

Codice: Seleziona tutto

 export LANG=fr_FR@euro
instead of

Codice: Seleziona tutto

export LANG=C
in /etc/profile.d/lang.csh you have to write

Codice: Seleziona tutto

setenv LANG fr_FR
instead of

Codice: Seleziona tutto

setenv LANG C 
byez!

Inviato: sab 14 gen 2006, 23:07
da kikinovak
Mille grazie for your help! Actually, the solution was much more simple. It was just a matter of:

Codice: Seleziona tutto

$ LANG=it_IT.UTF-8 && sweep
or

Codice: Seleziona tutto

$ LANG=fr_FR.UTF-8 && sweep
And everything works A-OK.

thanks,

Niki