l3on4rdo ha scritto:
in effetti qui da me LANG è l'italiano ma il man è in inglese... e quindi non capisco come mai non basti installare il solo pacchetto, ma serva dare anche il parametro -L
forse il man non si appoggia alla variabile LANG?
[quote=""
man man"] International support is available with this package. Native language
manual pages are accessible (if available on your system) via use of
locale functions. To activate such support, it is necessary to set
either $LC_MESSAGES, $LANG or another system dependent environment
variable to your language locale, usually specified in the POSIX 1003.1
based format:
[_[.[,]]]
If the desired page is available in your locale, it will be displayed
in lieu of the standard (usually American English) page.
[...]
-L locale, --locale=locale
man will normally determine your current locale by a call to the
C function setlocale(3) which interrogates various environment
variables, possibly including $LC_MESSAGES and $LANG. To
temporarily override the determined value, use this option to
supply a locale string directly to man. Note that it will not
take effect until the search for pages actually begins. Output
such as the help message will always be displayed in the
initially determined locale.
[...]
LANG, LC_MESSAGES
Depending on system and implementation, either or both of $LANG
and $LC_MESSAGES will be interrogated for the current message
locale. man will display its messages in that locale (if
available). See setlocale(3) for precise details.[/quote]
quindi provate con la variabile LC_MESSAGES