Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problemi con la localizzazione
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
riatiopene
n00b
n00b


Joined: 01 Nov 2008
Posts: 6

PostPosted: Sat Nov 01, 2008 12:05 pm    Post subject: Problemi con la localizzazione Reply with quote

Ciao a tutti COMUNITA' GENTOO,
questo, in realtà, non è il mio primo post, ma ho perso l'account e quindi ho dovuto fare una nuova registrazione.

Vi espongo il mio problema: ho kde4 mezzo italiano e mezzo inglese. Ho configurato il file 02locale ma non è cambiato nulla

cat /etc/env.d/02locale
LANG="it_IT.utf8@euro"
LC_COLLATE="C"
LC_ALL="it_IT@euro"

Avete qualche idea? Un mille grazie in anticipo
Back to top
View user's profile Send private message
Onip
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2912
Location: Parma (Italy)

PostPosted: Sat Nov 01, 2008 2:05 pm    Post subject: Reply with quote

http://www.gentoo.org/doc/it/guide-localization.xml

Benvenuto!!!
_________________
Linux Registered User n. 373835

Titus Lucretius Carus, De Rerum Natura - Tantum religio potuit suadere malorum
Back to top
View user's profile Send private message
riatiopene
n00b
n00b


Joined: 01 Nov 2008
Posts: 6

PostPosted: Sat Nov 01, 2008 4:27 pm    Post subject: Reply with quote

ho già seguito quella guida ma non cambia niente
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon Nov 03, 2008 7:49 am    Post subject: Re: Problemi con la localizzazione Reply with quote

riatiopene wrote:
cat /etc/env.d/02locale
LANG="it_IT.utf8@euro"
LC_COLLATE="C"
LC_ALL="it_IT@euro"

TOGLI quel
Code:

LC_ALL="it_IT@euro"


La guida che ti ha linkato Onip è stata aggiornata di recente, e sconsiglia l'uso di tale variabile (che va a sovrascrivere le altre 2 variabili).

Comunque la localizzazione di KDE viene gestita tramite la variabile LINGUAS da impostare in /etc/make.conf, nel caso della lingua italiana devi mettere
Code:

LINGUAS="it"


KDE4.... che versione stai usando? Quella in Portage? Quella dell'overlay? CVS?
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Nov 03, 2008 12:54 pm    Post subject: Reply with quote

consiglio: LINGUAS="it en" è meglio (il pacchetto gestito cretinascamente capita sempre)
Ovviamente immagino che hai configurato correttamente locales.gen etc.
lanciando locale dalla console o da un terminale X ottieni lo stesso risultato?

In 02locale i comandi devono essere export VARIABILE="qualcosa".
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:


Last edited by djinnZ on Mon Nov 03, 2008 1:56 pm; edited 1 time in total
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon Nov 03, 2008 1:17 pm    Post subject: Reply with quote

djinnZ wrote:
In 02locale i comandi devono essere export VARIABILE="qualcosa".

NO.

Nei file contenuti in /etc/env.d/ non serve export (mentre ci vuole in ~/.bashrc, x esempio).
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Nov 03, 2008 1:55 pm    Post subject: Reply with quote

Se li vuoi usare in rc (ad esempio il classico source /etc/profile in local) ti servono, a me non funziona nulla altrimenti.
Quindi nel dubbio meglio usarli. (ho sbagliato pulsante :oops:)

[OT]piacere di rivederti sul forum ma... la foto anderebbe censurata, spaventi la gente così :lol: [/OT]
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Mon Nov 03, 2008 2:49 pm    Post subject: Reply with quote

djinnZ wrote:
Se li vuoi usare in rc (ad esempio il classico source /etc/profile in local) ti servono, a me non funziona nulla altrimenti.
Quindi nel dubbio meglio usarli. (ho sbagliato pulsante :oops:)

Ma in file in /etc/env.d non vengono "derivati" ("to source") direttamente: se ti ricordi, dopo ogni modifica ai file ivi contenuti devi dare un bel env-update. Come compito per casa leggere 5 volte questa pagina :twisted: :wink:

djinnZ wrote:
[OT]piacere di rivederti sul forum ma... la foto anderebbe censurata, spaventi la gente così :lol: [/OT]

Eh eh eh, ma lo faccio per il bene di Gentoo! Così tutti avranno la scusa per dire "guarda che nerd che sono quelli che usano Gentoo" :lol:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Mon Nov 03, 2008 6:45 pm    Post subject: Reply with quote

in pratica mi stai dicendo che devo aprire un bug... :cry: , provo a vedere cosa succede con un emerge -1... :evil:

[OT]no per me fai spavento e basta... :lol: al massimo pensano ma guarda come ci si riduce ad usare gentoo... :twisted:
la posso usare per la pagina enciclopedica sulla nostra distribuzione preferita? :twisted: [/OT]
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
riatiopene
n00b
n00b


Joined: 01 Nov 2008
Posts: 6

PostPosted: Tue Nov 04, 2008 12:23 am    Post subject: Re: Problemi con la localizzazione Reply with quote

Scen wrote:
riatiopene wrote:
cat /etc/env.d/02locale
LANG="it_IT.utf8@euro"
LC_COLLATE="C"
LC_ALL="it_IT@euro"

TOGLI quel
Code:

LC_ALL="it_IT@euro"


La guida che ti ha linkato Onip è stata aggiornata di recente, e sconsiglia l'uso di tale variabile (che va a sovrascrivere le altre 2 variabili).

Comunque la localizzazione di KDE viene gestita tramite la variabile LINGUAS da impostare in /etc/make.conf, nel caso della lingua italiana devi mettere
Code:

LINGUAS="it"


KDE4.... che versione stai usando? Quella in Portage? Quella dell'overlay? CVS?


Ho tolto la stringa LC_ALL="it_IT@euro", ma non cambia niente. Ho kde 4.1 presa dal portage. Mi son dimenticato di dire che prima andava tutto bene, ma da quando ho dovuto aggiornare xorg alla versione 1.5.2 (per causa conflitti di dipendenze) la localizzazione non funziona più.
Back to top
View user's profile Send private message
riatiopene
n00b
n00b


Joined: 01 Nov 2008
Posts: 6

PostPosted: Fri Nov 07, 2008 2:53 pm    Post subject: Reply with quote

nessuna idea?
Back to top
View user's profile Send private message
nikko96
Apprentice
Apprentice


Joined: 22 Jul 2005
Posts: 229
Location: Pulcinella's Country

PostPosted: Mon Nov 10, 2008 4:38 pm    Post subject: Reply with quote

riatiopene wrote:
nessuna idea?

se togli @euro
Code:

LANG="it_IT.UTF-8"
LC_COLLATE="C"

riducendo il file a questo cambia qualcosa?
_________________
My system: cpu Intel core 2 duo e6750,mb asus p5n-e sli,scheda grafica nvidia GeForce 9600 GT,kernel 2.6.31-gentoo-r6
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Mon Nov 10, 2008 11:08 pm    Post subject: Reply with quote

io t suggerirei d rimuovere quel collate C, giustox nn saperne niente
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Nov 11, 2008 8:06 am    Post subject: Reply with quote

.:deadhead:. wrote:
io t suggerirei d rimuovere quel collate C, giustox nn saperne niente

Ehm... guarda che viene CALDAMENTE consigliata, tale assegnazione variabile, proprio nell'ultimo aggiornamento della guida alla localizzazione :roll:

Per me il problema sta altrove: lui lamenta il fatto che dopo un aggiornamento di xorg la localizzazione di KDE-4.1.2 si è sballata... Per me non c'entra assolutamente nulla!

@riatiopene: riprova ed effettuare l'emerge di kde-base/kde-l10n, verificando che ci sia "LINGUAS=it" tra le EXPANDED_USE. Inoltre fatti una copia della cartella nascosta di configurazione di kde ~/.kde*, e prova a partire con una configurazione "ex-novo".
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Nov 11, 2008 12:42 pm    Post subject: Reply with quote

Scen wrote:
.:deadhead:. wrote:
io t suggerirei d rimuovere quel collate C, giustox nn saperne niente

Ehm... guarda che viene CALDAMENTE consigliata, tale assegnazione variabile, proprio nell'ultimo aggiornamento della guida alla localizzazione
Perchè? Fondamentalmente C=us=en=it=fr... non ci sono differenze nell'ordinamento, o meglio C dovrebbe ignorare alcuni caratterli locali come le lettere accentate (premetto che la mia conoscenza degli standard posix è assai datata).
Mi sa che il documento necessita di una revisione "per lingua" piuttosto che di una semplice traduzione, sempre che non sia utile per ragioni di suppoorto.
Ovviamente se vuoi usare lingue europee ma ben più "trolliche" come quelle della musica che ascolti C va usata.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
Scen
Retired Dev
Retired Dev


Joined: 29 Jul 2003
Posts: 2470
Location: Padova, Italy

PostPosted: Tue Nov 11, 2008 1:20 pm    Post subject: Reply with quote

djinnZ wrote:
Scen wrote:
Ehm... guarda che viene CALDAMENTE consigliata, tale assegnazione variabile, proprio nell'ultimo aggiornamento della guida alla localizzazione
Perchè?


Perchè:
Guida alla localizzazione wrote:

Nota: Alcuni programmi sono scritti in modo tale da aspettarsi un'ordinamento dell'alfabeto in Inglese tradizionale...


Ma soprattutto per tale motivo. :wink:
_________________
I was born in a deep forest/I wish I could live here all my life/I am made from stones and roots/My home, these woods and roads
All my life I loved this sound/Of the woods all around/Eagles flies where the winds blows free
Journey is my destiny
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Tue Nov 11, 2008 2:00 pm    Post subject: Reply with quote

8O Porc! Adesso ho capito... ma talvolta potrebbero aggiornarli certi ruderi :evil:
inabile a fornire spiegazioni su cosa non mi funziona (o meglio va sulla gentoo ma non sulle altre distribuzioni) e perchè, senza profondermi in interminabili bestemmie ed imprecazioni, oltre ad essere assolutamente OT, tento di calmarmi.
_________________
scita et risus abundant in ore stultorum sed etiam semper severi insani sunt:wink:
mala tempora currunt...mater stultorum semper pregna est :evil:
Murpy'sLaw:If anything can go wrong, it will - O'Toole's Corollary:Murphy was an optimist :wink:
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Wed Nov 12, 2008 1:14 am    Post subject: Reply with quote

Scen wrote:
.:deadhead:. wrote:
io t suggerirei d rimuovere quel collate C, giustox nn saperne niente

Ehm... guarda che viene CALDAMENTE consigliata, tale assegnazione variabile, proprio nell'ultimo aggiornamento della guida alla localizzazione :roll:


Eh, lo so bene :D ti ricordi che l'abbiam aggiornata entrambi :P:P

Gli ho suggerito di fare questa prova, giusto perchè a me tale modifica ha creato casini pertanto suggerivo una via sperimentalel.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum