[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#4727: Manpages how to use them



Christoph Lameter wrote:
> 
> I have done an
> 
> export LANG=de_DE
> 
> and I still have english webpages!
> 
> The message that comes up during install should be put into
> /usr/doc/manpages-de.
> 
> I just tried following Lars instructions:
> 
> export LC_MESSAGES=de_DE
> waterf:/usr/src/linux$ man init
> 
> and its english again. I really like my native language...

Setting LANG or LC_MESSAGES should be the same for man.

I also had some troubles for that and I noticed that man was using the
preformatted catman page (in english) if it existed.

I had to edit /etc/manpath.config and add the row 

MANDB_MAP       /usr/man/de_DE          /var/catman/de_DE

just BEFORE 

MANDB_MAP       /usr/man                /var/catman

I also had to mkdir the hierarchy /var/catman/de_DE and the subdirs
cat1, cat2, cat3 ..., otherways user that doesn't have the de_DE set
will anyway get the cached german manpages :-)


I have prepared a script to do this automagically from the postinst (for
the manpages-it) but I was thinking that it should belong to the man
package. I asked Alvar Bray to pass me the man package (as he was asking
for someone to do that), but now he seems to be out of the Net...

ciao
Fabrizio
-- 
+-------------------------------------------------------------+
| e-mail: fpolacco@megabaud.fi    fpolacco@debian.org         |
| http://megabaud.fi/~fpolacco/   Join the UKI Linux Project! |
| fingerprint 70 1A 72 2D 2B C8 A5 63 7A C2 CC E0 2A 54 AE DA |
| finger: fpolacco@megabaud.fi    fpolacco@master.debian.org  |
+-------------------------------------------------------------+

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: