> >This package should install the translated man pages into
> >%p/share/man/{lang}/man[1-8]
> Oh; so simple. Sorry I'm always looking for something not so obvious.
> 
> Then I just need to put a notice in the info file for the user so that 
> he prepends the path to his locale man pages to MANPATH.

He shouldn't need to. From the man man page: 

----8<----8<----8<----8<----
By default, man searches for a localized manpage in a set of
locale subdirectories of each manpath(1) component.

Locale name is taken from the first of three environment
variables with a nonempty value: LC_ALL, LC_CTYPE, or LANG,
in the specified order.
---->8---->8---->8---->8----

Your user should only need to set its environment variables to the correct
locales he uses for getting localized man pages.

That's the theory, but it seems it doen't work on 10.2.

A quick test and ktrace shows up 10.2.8's man don't give a fuck about that. 
More, its man page seems to require the charset in the path:

----8<----8<----8<----8<----
Otherwise, man will search in the following subdirectories,
in the order of precedence:

<lang>_<country>.<charset>
<lang>.<charset>
en.<charset>
---->8---->8---->8---->8----

Have a look at fink's man or 10.3's, they should handle this better.

-- 
Bertrand
                            Pike Language - http://pike.ida.liu.se/
                        Caudium WebServer - http://caudium.net/
                            CAMAS WebMail - http://caudium.net/camas/


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to