Le 31 janv. 2004, à 23:31, Bertrand Lupart a écrit :
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:
...
More, its man page seems to require the charset in the path:
...in the order of precedence:

<lang>_<country>.<charset>
<lang>.<charset>
en.<charset>
Have a look at fink's man or 10.3's, they should handle this better.
Same man page as on 10.2.8, rather old (1991). What I understood (I may be wrong) from Linux man pages (sorry for the reference, but they seem to be more advanced in localization), the scheme you mentioned is one of the recommended way to name man pages that ensured correct association of lang/country/charset in the event of country with more than one language and more than one charset per language. That's not the scheme used on Fink, see the dpkg-dev French man pages, it's on the /sw/share/man/fr/man1, it's based on LANG. I don't know how it determines the correct charset. Nevertheless I tend to follow the Fink way of doing it.

Then even if the LC-xxx and LANG are set up, the loaded man pages are the rooted ones, i.e. the english ones on /sw/share/man/ (default proposed MANPATH) and from that directory the system search for manx directories. So you have to prepend /sw/share/man/fr/ to the man path, to get the French man pages. This way you'll have the French man pages, if any, then the English ones. Well, you have them but not always with the valid charset, at least not on my system (no accent with LANG and LC_x to fr_Fr.ISO8859-15), though it works perfectly with xman.

Michèle
<http://micmacfr.homeunix.org>



-------------------------------------------------------
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