Perl e variabili d'ambiente

Solo per ricontrollare il mio lavoro.

Se un utente italiano che non ha questo problema potrebbe confermare che il contenuto del mio file locale.conf-Italian.txt è lo stesso di quello che hanno nel proprio /etc/locale.conf e / etc / default / locale che essere meraviglioso Forse @rugyada può?

Just to double check my work.

If some Italian user that is not having this issue could confirm that the contents of my file locale.conf-Italian.txt are the same as what they have in in their /etc/locale.conf and /etc/default/locale that would be wonderful. Perhaps @rugyada can?

:hear_no_evil: :see_no_evil: :speak_no_evil:

No, sorry, io ho il sistema localizzato in Inglese.

1 Like

Woops! Ho completamente perso il post di @ mandian. Questo sembra un buon consiglio.

Woops! I completely missed @mandian’s post. This looks like good advice as well.

Questo è quasi certamente il problema, hai impostazioni miste e non l’ho capito prima. Quindi grazie @mandian.

This is almost certainly the problem, you have mixed setttings and I did not catch that earlier. So thanks @mandian.

Post-edit: ora mi sento davvero come una scimmia … :frowning:

Post-edit: Now I really do feel like a monkey… :frowning:

1 Like

La sola differenza che trovo è nella codifica: it_IT.utf8it_IT.UTF-8.

1 Like

L’errore è dato dal fatto che la codifica it_IT.ISO-8859-1 non è più presente nel sistema.

You have just found a localized monkey here. :smile::monkey:

1 Like

Su internet sembra che funzionino entrambi, e so che en_US.utf8 funziona qui. Ma sembra che l’UNICODE corretto sia UTF-8.

On the internet it seems that either one will work, and I know that en_US.utf8 is working here. But it seems the correct UNICODE is UTF-8.

1 Like

Ciao
locale.conf-Italian.txt mi dice che non è scaricabile in quanto su una pagina privata

1 Like

Provalo ora.

Try it now.

Speriamo anche che tu possa vedere qual è il problema sul tuo computer. Da qualche parte nelle impostazioni locali hai alcune istruzioni che dicono ‘it_IT.ISO-8859-1’ devi rendere tutto uniforme e tutto per dire ‘it_IT.UTF-8’. Vedi il tuo post n. 12 del 24 luglio.

Also hopefully you can see what the problem is on your computer. Somewhere in your locale settings you have some instructions that say ‘it_IT.ISO-8859-1’ you need to make everything uniform and everything to say ‘it_IT.UTF-8’. See your post # 12 from July 24.

Post-edit: entrambi dovremmo ringraziare @mandian per averlo capito.

Post-edit: And we both should thank @mandian for catching this.

Copiato il file di Ben79 su locale.conf (sia default che no).
Riavviato il tutto

non cambia nulla. Non so le variabili che riportano 8859 dove si possano trovare.
Anche quanto suggerito da Mandian da gli stessi risultati

Ma le voci
LC_MEASUREMENT = “it_IT.ISO-8859-1”,
LC_COLLATE = “it_IT.ISO-8859-1”,
LC_NUMERIC = “it_IT.ISO-8859-1”,
LC_TIME = “it_IT.ISO-8859-1”,

dove potrei trovarle?

questo il contenuto di locale.conf
[root@albertolx3-pc etc]# cat locale.conf
LC_PAPER=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LANG=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8

questo di /default/locale.conf
[root@albertolx3-pc etc]# cat locale.conf
LC_PAPER=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LANG=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8

1 Like

Ho trovato una macchina virtuale localizzata Italiano. Non è stata aggiornata da un po’ di tempo ma penso che possa andare bene lo stesso:

Postedit:

$ locale
LANG=it_IT.utf8
LC_CTYPE="it_IT.utf8"
LC_NUMERIC=it_IT.utf8
LC_TIME=it_IT.utf8
LC_COLLATE="it_IT.utf8"
LC_MONETARY=it_IT.utf8
LC_MESSAGES="it_IT.utf8"
LC_PAPER=it_IT.utf8
LC_NAME=it_IT.utf8
LC_ADDRESS=it_IT.utf8
LC_TELEPHONE=it_IT.utf8
LC_MEASUREMENT=it_IT.utf8
LC_IDENTIFICATION=it_IT.utf8
LC_ALL=

Per quanto riguarda il maiuscolo/minuscolo, potrebbe derivare dalla scelta al momento dell’installazione. Ricordo che dal menu dropdown erano proposte entrambe. Ma probabilmente sono equivalenti.

1 Like

Li hai pubblicati tu stesso nel post # 12 sopra.

You posted them yourself in post # 12 above.

OK se non è cambiato nulla, iniziamo con l’output di:

OK if nothing has changed lets start with output of:

$ localectl status

$ localectl list-locales | grep ^it

Modificato: Provalo ora.

Edited: Try it now.

Anche produzione di:

Also output of:

$ locale

Il mio è questo:

$ localectl status
   System Locale: LANG=it_IT.utf8
       VC Keymap: it
      X11 Layout: it
       X11 Model: pc105

e

$ localectl list-locales | grep ^it
it
it_CH
it_CH.UTF-8
it_IT
it_IT.UTF-8
it_IT@euro
1 Like

Grazie a @rugyada che ti dà un’idea di cosa dovrebbe funzionare. L’unica differenza che vedo è la tua ha utf8 mentre ho messo UTF-8 nel file @albpanig usato. Non so ancora se questo è o non è un problema. Secondo alcuni di ciò che ho letto non dovrebbe importare. Ma enfasi su “alcuni di quello che ho letto”.

Thanks @rugyada that gives an idea of what should work. The only difference I see is yours has utf8 whereas I put UTF-8 in the file @albpanig used. Don’t know yet if that is or is not an issue. According to some of what I’ve read it is not supposed to matter. But emphasis on “some of what I’ve read”.

1 Like

hai provato a risettare con localedrake?
è presente un file .i18n nella $HOME?

C’è una segnalazione di bug su un problema simile.

There is a bug report about a similar issue.

https://issues.openmandriva.org/show_bug.cgi?id=2365

Non vedo alcun file .i18n in $ HOME? Dove sarebbero esattamente, in una directory nascosta? Ho guardato quelli e non vedo alcun file di questo tipo?

I do not see any .i18n files in $HOME? Where exactly would they be, in a hidden directory? I looked at those and don’t see any such file?