Code: Select all
sys-apps/man-pages -nls
Is it possible that changing one of the variables mentioned in the Gentoo Linux Localization Guide can help you?batistuta wrote:But the wierd thing is that now all my man pages show up in Italian. I would like to have them back in English. So my question is, how do you configure the default language for man pages?
the --help option always that you can provide to commands still show up in English, it is just the man pages that don't.
This brings up another quesiton, how do you change the language of bash itself? I don't want to, it's just for curiosity...
thanks
Code: Select all
$ localeCode: Select all
LC_ALL=en man bashCode: Select all
alias man='LC_ALL=en man'Good tip! I will try that. I really don't care about man pages in anything than English. I understand man pages better in English than in my mother tonge01mf02 wrote:I have the entryin my /etc/portage/package.use to get rid of all translations of the official man pages - which means all official man pages are shown in English.Code: Select all
sys-apps/man-pages -nls
Code: Select all
mafalda ~ # locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=en_US.utf8
Code: Select all
LC_ALL=en man bashCode: Select all
LC_ALL=en man cpCode: Select all
mafalda ~ # locale
LANG=en_US.utf8Code: Select all
mafalda # locale -a
C
de_DE
de_DE@euro
de_DE.utf8
en_US
en_US.utf8
es_AR
es_AR.utf8
es_ES
es_ES@euro
es_ES.utf8
it_IT
it_IT@euro
it_IT.utf8
POSIX
Code: Select all
mafalda batistuta# locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
mafalda batistuta# Code: Select all
mafalda batistuta# locale-gen
* Generating 13 locales (this might take a while) with 1 jobs
* ( 1/13) Generating en_US.ISO-8859-1 ... [ ok ]
* ( 2/13) Generating en_US.UTF-8 ... [ ok ]
* ( 3/13) Generating de_DE.ISO-8859-1 ... [ ok ]
* ( 4/13) Generating de_DE.ISO-8859-15@euro ... [ ok ]
* ( 5/13) Generating de_DE.UTF-8 ... [ ok ]
* ( 6/13) Generating es_ES.ISO-8859-1 ... [ ok ]
* ( 7/13) Generating es_ES.ISO-8859-15@euro ... [ ok ]
* ( 8/13) Generating es_ES.UTF-8 ... [ ok ]
* ( 9/13) Generating it_IT.ISO-8859-1 ... [ ok ]
* (10/13) Generating it_IT.ISO-8859-15@euro ... [ ok ]
* (11/13) Generating it_IT.UTF-8 ... [ ok ]
* (12/13) Generating es_AR.ISO-8859-1 ... [ ok ]
* (13/13) Generating es_AR.UTF-8 ... [ ok ]
* Generation complete
mafalda batistuta # Yeah, I know, it's sad. It really was utf8 once, but it is changed to UTF-8 now in all Linux distributions I know.batistuta wrote:I've found this locale shit really frustrating, docs contradict themselves more than George Bush
...
locale -a still shows the same as before, with utf8.
Code: Select all
# less /usr/share/i18n/SUPPORTEDCode: Select all
$ LANG=en LC_ALL=en man commandCode: Select all
sys-apps/man-pages -nls