Bug#4193: German Manpages
> Package: manpages-de
> Version: 0.1-1
>
> I installed the German manpages.
Yes, but 0.1-1 installs the manpages in a wrong directory.
> But what do I do to use them?
Install the newest version (0.1-5; available from
ftp.infodrom.north.de:/pub/people/joey/debian).
> I tried export LANG=de but that did not change anything.
set LC_MESSAGES to de_DE
> Please provide documentation somewhere about how to use the manpages.
This is provided in the latest version, I believe.
Here's the message I sent to Joey and Alvar about this (before the fixed
manpages-de came along):
I've found out how to do NLS manpages correctly!
Here's the story (demonstrated using german manpages):
man-2.3.10's configure correctly defines HAVE_SETLOCALE;
src/man.c does internal_locale = NLSINIT [defined (nls/nls.h)
to setlocale(LC_MESSAGES,"")] and later calls src/manp.c's
add_nls_manpath with internal_locale as one of its parameters.
Now internal_locale must be non-NULL and non-empty for man to
attempt to access an NLS manpage. Some experimentation showed
that this means the environment variable LC_MESSAGES must be
set to 'de_DE' (not 'de' or 'de_DE.88591' [1], despite what
manpath(5) suggests! [2]). man will then search for german
manpages under /usr/man/de_DE (this directory should be added to
the MANDB_MAPs in etc/manpath.conf for catmans to be stored).
What this means:
- manpages-{de,es} should be modified to install under
/usr/man/{de_DE,es_ES} instead of /usr/man{de,es}.
This is fixed in the current release of those packages.
- man: MANDB_MAPs for both should be added to /etc/manpath.conf
Ray
--
PATRIOTISM A great British writer once said that if he had to choose
between betraying his country and betraying a friend he hoped he would
have the decency to betray his country.
- The Hipcrime Vocab by Chad C. Mulligan
Reply to: