Bug#5223: manpages-fr must use $LANG & co
On Fri, 1 Nov 1996, Christophe Le Bars wrote:
> Package: manpages-fr
> Version: 0.1-1
Mon premier bug, je suis emu... _(:
> When you install manpages-fr with dpkg you can read this message:
>
> > To enable these manpages prepend '/usr/man/fr_FR' at the beginning of
> > your $MANPATH environment variable.
> > The current value of your $MANPATH variable is:
> > []
>
> I don't think it's the good way to use locale manpages, because
> there are special environment variables to keep locale informations:
> LANG=fr_FR
> LC_COLLATE="fr_FR"
> LC_CTYPE="fr_FR"
> LC_MONETARY="fr_FR"
> LC_NUMERIC="fr_FR"
> LC_TIME="fr_FR"
> LC_MESSAGES="fr_FR"
> LC_ALL=
>
> Indeed, if you have LANG=fr_FR, you can read french manpages.
The problem is that I can't get it to work this way:
bash# export | grep FR
declare -x LANG="fr_FR"
declare -x LC_COLLATE="fr_FR"
declare -x LC_CTYPE="fr_FR"
declare -x LC_MESSAGES="fr_FR"
declare -x LC_MONETARY="fr_FR"
declare -x LC_NUMERIC="fr_FR"
declare -x LC_TIME="fr_FR"
bash# echo $MANPATH
/usr/man:/usr/local/man:/usr/X11R6/man
bash# ls -al /usr/man/fr_FR/man7/locale.7.gz
-rw-r--r-- 1 root root 2770 Oct 23 04:39 /usr/man/fr_FR/man7/locale.7.gz
bash# man 7 locale
LOCALE(7) Linux Programmer's Manual LOCALE(7)
NAME
locale - Description of multi-language support
SYNOPSIS
#include <locale.h>
DESCRIPTION
A locale is a set..... etc...
---------
Are there any other variables to set or /etc/manpath.config tuning to do?
> (manpages-fr must provide links to enable french manpages
> with fr_CH, fr_BE etc...)
This one will be fixed in the next version.
--
- ** Linux ** +-------------------+ ** WAW ** -
- vincent@debian.org | RENARDIAS Vincent | vincent@waw.com -
- Debian/GNU Linux +-------------------+ http://www.waw.com/ -
- http://www.debian.org/ | WAW (33) 4 91 81 21 45 -
- | Luminy (33) 4 91 82 85 32 -
---------------------------------------------------------------------------
--
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: