[MPlayer-dev-eng] Re: install localized manpages + [PATCH#2]

Fabien Tassin fta+mplayer at sofaraway.org
Mon Feb 17 23:53:29 CET 2003


According to Gabucino:
> 
> Andreas Hess wrote:
> > > This doesn't suck, this is the way to go.
> > This way leads into the wrong direction ;) So what is wrong, if mplayer
> > just installs the english version when no $LINGUAS is present?
> Then r=1 users will only see the english manpage. Is that what you want?
> Look, using the LANG variable was about the second thing I learnt on Linux
> (about seven years ago). The LINGUAS variable? Yesterday was the first day
> I heard about it.

just hints..

This all have to do with FHS (Filesystem Hierarchy Standard) and NLS support.
http://www.pathname.com/fhs/2.2/fhs-4.11.html#4.11.5
Some OSes/distro use it (like Debian), some don't.

About LINGUAS, it comes from GNU gettext. Here is the relative part of
gettext info:

==========================================================
Magic for Installers
====================

   By default, packages fully using GNU `gettext', internally, are
installed in such a way that they to allow translation of messages.  At
_configuration_ time, those packages should automatically detect
whether the underlying host system already provides the GNU `gettext'
functions.  If not, the GNU `gettext' library should be automatically
prepared and used.  Installers may use special options at configuration
time for changing this behavior.  The command `./configure
--with-included-gettext' bypasses system `gettext' to use the included
GNU `gettext' instead, while `./configure --disable-nls' produces
programs totally unable to translate messages.

   Internationalized packages have usually many `LL.po' files.  Unless
translations are disabled, all those available are installed together
with the package.  However, the environment variable `LINGUAS' may be
set, prior to configuration, to limit the installed set.  `LINGUAS'
should then contain a space separated list of two-letter codes, stating
which languages are allowed.
==========================================================

> Discussion ended?

you decide :)

/Fabien


More information about the MPlayer-dev-eng mailing list