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

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
kikinovak
Linux 0.x
Linux 0.x
Messaggi: 15
Iscritto il: ven 28 ott 2005, 14:04

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

Messaggio 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:

Avatar utente
DaRkO
Linux 0.x
Linux 0.x
Messaggi: 85
Iscritto il: ven 22 apr 2005, 0:00
Località: Roma
Contatta:

Messaggio 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

Avatar utente
gallows
Staff
Staff
Messaggi: 3470
Iscritto il: lun 20 set 2004, 0:00
Slackware: 64-current
Kernel: 5.10.7
Località: ~/
Contatta:

Messaggio da gallows »

Have you changed your CHARSET variable? It should be set to "iso8859-15"

Avatar utente
Paoletta
Staff
Staff
Messaggi: 3975
Iscritto il: lun 25 apr 2005, 0:00
Slackware: 14.2 - 64 bit
Desktop: fluxbox
Località: Varese

Messaggio 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!

kikinovak
Linux 0.x
Linux 0.x
Messaggi: 15
Iscritto il: ven 28 ott 2005, 14:04

Messaggio 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

Rispondi