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

Re: Bug#176661: locale.1 does not mention LOCPATH



At Sat, 8 Mar 2003 13:35:59 +0100,
Denis Barbier wrote:
> 
> On Fri, Mar 07, 2003 at 02:43:17PM -0500, Daniel Jacobowitz wrote:
> [...]
> > > > It is not obvious how to use a different directory than 
> > > > /usr/lib/locale for the locale data from reading the manual pages.
> > > 
> > > Well, it's not worth while describing.
> > 
> > I disagree.  I've needed to use LOCPATH a couple of times.  For
> > instance GCC's testsuite wants to use it to make sure some locales are
> > generated before running the libstdc++ tests.
> 
> Is there a similar environment variable for /usr/share/locale?

No, there isn't.

> I would need it to generate translated man pages of coreutils programs.

bindtextdomain(3) is not your friend?  Thus, LOCALEDIR option in make
is useful for your purpose.

BTW, why does coreutils contain /usr/share/locale/*/LC_TIME/*.mo?

Regards,
-- gotom



Reply to: