You are not logged in.
Pages: 1
Hi,
How can I force man to display pages in a language different from the one stated in the LANG variable? Commands already speak to me in the language I want, but I can't make the manual pages to do the same. I have all of the following locales generated, restarting Xorg (or shell session) doesn't help.
[root@deck:/root] locale-gen
Generating locales...
de_DE.UTF-8... done
de_DE.ISO-8859-1... done
en_GB.UTF-8... done
en_GB.ISO-8859-1... done
pl_PL.UTF-8... done
pl_PL.ISO-8859-2... done
Generation complete.
[root@deck:/root] locale
LANG=pl_PL.UTF8
LC_CTYPE="pl_PL.UTF8"
LC_NUMERIC="pl_PL.UTF8"
LC_TIME="pl_PL.UTF8"
LC_COLLATE=C
LC_MONETARY="pl_PL.UTF8"
LC_MESSAGES=en_GB.UTF8
LC_PAPER="pl_PL.UTF8"
LC_NAME="pl_PL.UTF8"
LC_ADDRESS="pl_PL.UTF8"
LC_TELEPHONE="pl_PL.UTF8"
LC_MEASUREMENT="pl_PL.UTF8"
LC_IDENTIFICATION="pl_PL.UTF8"
LC_ALL=
Note: I would like to keep pl_PL for LANG because otherwise KDE isn't smart enough to recognise appropriate polish characters.
Offline
I'm not a locale expert but I think that you need a copy of the man-pages in the desired languagues. That's what I understand from the presence of the man-pages-* packages in AUR.
Offline
I'm not a locale expert but I think that you need a copy of the man-pages in the desired languagues. That's what I understand from the presence of the man-pages-* packages in AUR.
This won't help.
If I understand correctly, Neuro wants to keep pl_PL locale but have en_GB man pages. Am I right? Then you should simply delete /usr/man/pl directory, I suppose.
to live is to die
Offline
This won't help.
If I understand correctly, Neuro wants to keep pl_PL locale but have en_GB man pages. Am I right? Then you should simply delete /usr/man/pl directory, I suppose.
Exactly. Deleting the directory works well. However, there is a slight problem with this solution: each time I update a package containing polish manual pages, the directory will get recreated.
Offline
Exactly. Deleting the directory works well. However, there is a slight problem with this solution: each time I update a package containing polish manual pages, the directory will get recreated.
A quick workaround is to put this into /etc/rc.local:
if [ -e /usr/man/pl ]; then
rm -rf /usr/man/pl
fi
to live is to die
Offline
Pages: 1