Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con la localizzazione [RISOLTO]
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
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Thu Jul 29, 2004 10:31 pm    Post subject: problemi con la localizzazione [RISOLTO] Reply with quote

ciao,

allora... premetto che ho fluxbox e che da quando sono passato a quello (primo avevo gnome) ho sempre avuto il sistema in inglese...

dunque... questo è tutto ciò che ho fatto (sono solito scrivermi sempre tutto... 8)):

Inserisco questa linea alla fine del file /etc/profile:
export LANG="it_IT@euro"

Controllo che in /etc/rc.conf:
KEYMAP="it"

Controllo che in /etc/X11/xorg.conf ci sia:
Option "XkbLayout" "it"

In /etc/rc.conf:
CONSOLEFONT="lat9w-16"

In /usr/X11R6/lib/X11/fonts/misc/fonts.alias:
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859
variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859

oltre a questo verifica che il kernel sia stato compilato correttamente:
https://forums.gentoo.org/viewtopic.php?t=197230

File systems > Native Language Support
(iso8859-15) Default NLS Option
[N] NLS ISO 8859-1 (Latin 1; Western European Languages)
[Y] NLS ISO 8859-15 (Latin 9; Western European Languages with Euro)

purtroppo niente da fare... dimentico qualcosa???


Last edited by fctk on Fri Jul 30, 2004 5:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Thu Jul 29, 2004 10:57 pm    Post subject: Reply with quote

dato che nn va ho provato a fare un'altra prova...

ho tolgo tutto cio che ho messo in /etc/profile e ho creato invece questo file /etc/env.d/02locale e ci ho metto:
LANG="it_IT@euro" # senza l'export

env-update && source /etc/profile

le info le ho prese qui:
https://forums.gentoo.org/viewtopic.php?t=155889
https://forums.gentoo.org/viewtopic.php?t=176245

tuttavia il problema resta :(
Back to top
View user's profile Send private message
Marculin
Guru
Guru


Joined: 24 Feb 2004
Posts: 376

PostPosted: Fri Jul 30, 2004 7:35 am    Post subject: Reply with quote

io non ho capito che problema hai!spiegati meglio!
_________________
Non capisco perchè continuavo ad avere cosi paura della shell.....è cosi bella :)
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Jul 30, 2004 9:04 am    Post subject: Reply with quote

il problema è che tutte le applicazioni sono in inglese e tali rimangono (mentre io le vorrei in italiano): vedi gedit, gpdf, file-roller ecc.. ecc...
Back to top
View user's profile Send private message
Marculin
Guru
Guru


Joined: 24 Feb 2004
Posts: 376

PostPosted: Fri Jul 30, 2004 9:07 am    Post subject: Reply with quote

li hai compilati con la use nls?mi sembra che può anche essere quella la causa!
_________________
Non capisco perchè continuavo ad avere cosi paura della shell.....è cosi bella :)
Back to top
View user's profile Send private message
Marculin
Guru
Guru


Joined: 24 Feb 2004
Posts: 376

PostPosted: Fri Jul 30, 2004 9:10 am    Post subject: Reply with quote

scusa ma perchè fai post doppi?
https://forums.gentoo.org/viewtopic.php?t=204084
https://forums.gentoo.org/viewtopic.php?t=204065
ti sembra corretto?
_________________
Non capisco perchè continuavo ad avere cosi paura della shell.....è cosi bella :)
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31447
Location: here

PostPosted: Fri Jul 30, 2004 9:41 am    Post subject: Reply with quote

http://www.gentoo.org/doc/it/guide-localization.xml
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Jul 30, 2004 12:08 pm    Post subject: Reply with quote

Marculin wrote:
li hai compilati con la use nls?mi sembra che può anche essere quella la causa!


il fatto è che gedit, file-roller, gpdf non hanno una flag nls da settare... comunque penso sia abilitata di default
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Jul 30, 2004 12:10 pm    Post subject: Reply with quote

Marculin wrote:
scusa ma perchè fai post doppi?
https://forums.gentoo.org/viewtopic.php?t=204084
https://forums.gentoo.org/viewtopic.php?t=204065
ti sembra corretto?


scusa ma non capisco il problema... l'ho fatto in modo tale che anche la comunità internazionale mi possa aiutare... cmq. se non si possono fare "post doppi" adesso lo so e la prossima volta non lo farò +... promesso :oops:
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Jul 30, 2004 12:11 pm    Post subject: Reply with quote

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


thx ma proprio la prima cosa che ho provato è stata quella (nella sua versione inglese, però)...
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31447
Location: here

PostPosted: Fri Jul 30, 2004 1:58 pm    Post subject: Reply with quote

fctk wrote:
il fatto è che gedit, file-roller, gpdf non hanno una flag nls da settare... comunque penso sia abilitata di default

Se non hanno la flag nls allora ho trovi qualcosa sul sito (come mozilla-firefox) oppure non potrai mai localizzarli.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3135

PostPosted: Fri Jul 30, 2004 2:37 pm    Post subject: Re: problemi con la localizzazione Reply with quote

fctk wrote:
In /usr/X11R6/lib/X11/fonts/misc/fonts.alias:
fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859
variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859


quelle stringhe non dovrebbero riferirsi a iso8859-15 ?

Coda
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Jul 30, 2004 5:36 pm    Post subject: Reply with quote

RISOOOOOOLTO!!! 8)

bastava: :roll:
1) settare le varie variabili in /etc/profile
2) assicurarsi che esse venissero lette correttamente con echo (ed eventualmente riloggarsi o riavviare)
3) disinstallare tutte le applicazioni incriminate
4) reinstallare tutte le applicazioni incriminate

la prossima volta che reinstallo gentoo comunque le imposto subito così non ho problemi...

grazie cmq. a tutti x avermi aiutato! :P
Back to top
View user's profile Send private message
rust5
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jun 2004
Posts: 80
Location: Melee Island

PostPosted: Thu Sep 30, 2004 3:43 pm    Post subject: Reply with quote

quindi alla fine quali sono i passaggi necessari da fare appena si parte con l'installazione di gentoo?
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Thu Sep 30, 2004 5:53 pm    Post subject: Reply with quote

niente... prima di installare le applicazioni ti conviene impostare il locale corretto, per evitare di dover ricompilare tutto (anche se non sono sicuro che x forsa si debba ricompilare).

per impostare il locale corretto devi:
1) editare /etc/env.d/02locale e metterci ad esempio:
Code:
LANG="it_IT.UTF-8"

2) dare questi comandi:
Code:
# env-update
# source /etc/profile

3) verificare se il computer ha capito:
Code:
# locale
# echo $LANG


se vuoi fare le cose con stile potresti anche riemergere glibc prima di fare quanto descritto sopra, compilandolo con il supporto esclusivo per il locale che te vuoi utilizzare (nel mio caso it_IT.UTF-8).

praticamente:
1) aggiungi in /etc/portage/package.keywords
Code:
sys-libs/glibc ~x86

2) aggiungi in /etc/portage/package.use
Code:
sys-libs/glibc userlocales

3) editi /etc/locales.build
Code:
it_IT.UTF-8/UTF-8

4) emergi glibc (verificando che siano utilizzate le flags userlocales e nls)
5) verifichi che glibc abbia compilato solo il tuo (o i tuoi) locale preferito(i):
Code:
locale -a


e poi, ripeto, fai quanto detto prima.
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