RISOLTO: vector 7 lingua italiano

Forum dedicato ai Porting ufficiali e non di Slackware, vedi Slack/390, ARMedslack, Slamd64, Slackintosh, Ocsid, Sloox, Zenwalk, How-Tux, Slax etc etc

Moderatore: Staff

Regole del forum
1) Specificare nome e versione del porting.
2) Specificare se discussione/suggerimento o richiesta d'aiuto.
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
freeheartm
Linux 0.x
Linux 0.x
Messaggi: 30
Iscritto il: gio 16 giu 2011, 19:02
Nome Cognome: Domenico
Slackware: 14
Desktop: kde

RISOLTO: vector 7 lingua italiano

Messaggio da freeheartm »

ragazzi vi stresso sempre con questa vector ;)
Ho scaricato l ultima vector, installata sul mio pc, solo che non riesco a metterla in italiano.
Con le altre vector modificavo il file etc/profilo aggiungendo queste due righe:
export LANG="it_IT@euro"
export LC_ALL="it_IT@euro"
oppure cambiavo le scritte eng con it, solo che stavolta sul file etc/profile non c'è nulla che indichi la lingua, ho provato anche ad incollare alla fine del testo le due righe sopra e niente, rimane inglese.
Ovviamente ho riavviato per vedere se passava in italiano, ma niente!
apete se c'è qualcosa che posso fare?
Ultima modifica di freeheartm il sab 7 apr 2012, 10:31, modificato 1 volta in totale.

freeheartm
Linux 0.x
Linux 0.x
Messaggi: 30
Iscritto il: gio 16 giu 2011, 19:02
Nome Cognome: Domenico
Slackware: 14
Desktop: kde

Re: vector 7 italiano

Messaggio da freeheartm »

andando a scavare nella mia precedente installazione, ho risolto trovando l errore.

Si modifica il file etc/profile aggiungendo queste due righe:

export LANG="it_IT@euro"
export LC_ALL="it_IT@euro"

doo questa riga:

export LESS="-M"

con le due righe risulterà così:

# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.

# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
export LANG="it_IT@euro"
export LC_ALL="it_IT@euro"

e questo è il mio file profile modificato nel punto che dicevo prima:

Codice: Seleziona tutto

# /etc/profile: This file contains system-wide defaults used by
# all Bourne (and related) shells.

# Set the values for some environment variables:
export MINICOM="-c on"
export MANPATH=/usr/local/man:/usr/man:/usr/X11R6/man
export HOSTNAME="`cat /etc/HOSTNAME`"
export LESSOPEN="|lesspipe.sh %s"
export LESS="-M"
[color=#0040FF]export LANG="it_IT@euro"
export LC_ALL="it_IT@euro"
[/color]
# If the user doesn't have a .inputrc, use the one in /etc.
if [ ! -r "$HOME/.inputrc" ]; then
  export INPUTRC=/etc/inputrc
fi

# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/bin:/usr/local/games"

# For root users, ensure that /usr/local/sbin, /usr/sbin, and /sbin are in
# the $PATH.  Some means of connection don't add these by default (sshd comes
# to mind).
if [ "`id -u`" = "0" ]; then
  echo $PATH | grep /usr/local/sbin 1> /dev/null 2> /dev/null
  if [ ! $? = 0 ]; then
    PATH=/usr/local/sbin:/usr/sbin:/sbin:$PATH
  fi
fi

# I had problems using 'eval tset' instead of 'TERM=', but you might want to 
# try it anyway. I think with the right /etc/termcap it would work great.
# eval `tset -sQ "$TERM"`
if [ "$TERM" = "" -o "$TERM" = "unknown" ]; then
 TERM=linux
fi

# Set ksh93 visual editing mode:
if [ "$SHELL" = "/bin/ksh" ]; then
  VISUAL=emacs
#  VISUAL=gmacs
#  VISUAL=vi
fi

# Set a default shell prompt:
#PS1='`hostname`:`pwd`# '
if [ "$SHELL" = "/bin/pdksh" ]; then
 PS1='! $ '
elif [ "$SHELL" = "/bin/ksh" ]; then
 PS1='! ${PWD/#$HOME/~}$ '
elif [ "$SHELL" = "/bin/zsh" ]; then
 PS1='%n@%m:%~%# '
elif [ "$SHELL" = "/bin/ash" ]; then
 PS1='$ '
else
 PS1='\u@\h:\w\$ '
fi
PS2='> '
export PATH DISPLAY LESS TERM PS1 PS2

# Default umask.  A umask of 022 prevents new files from being created group
# and world writable. This is Slackware default
umask 022

# Set up the LS_COLORS and LS_OPTIONS environment variables for color ls:
if [ "$SHELL" = "/bin/zsh" ]; then
 eval `dircolors -z`
elif [ "$SHELL" = "/bin/ash" ]; then
 eval `dircolors -s`
else
 eval `dircolors -b`
fi

# Notify user of incoming mail.  This can be overridden in the user's
# local startup file (~/.bash.login or whatever, depending on the shell)
if [ -x /usr/bin/biff ]; then
 biff y
fi

# Append any additional sh scripts found in /etc/profile.d/:
for profile_script in /etc/profile.d/*.sh ; do
  if [ -x $profile_script ]; then
    . $profile_script
  fi
done
unset profile_script

# For non-root users, add the current directory to the search path:
if [ ! "`id -u`" = "0" ]; then
 PATH="$PATH:."
fi

da terminale:
diventare root e scrivere:
(per diventare root e sufficiente digitare la parola su cliccare invio e poi digitare la password e si diventa root)

nano /etc/profile

si apre il file e si modifica.

Buon vector italianizzato ;)

Rispondi