bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Bug#538150: gettext: autopoint does not see additional po/ directori


From: Guillem Jover
Subject: Re: Bug#538150: gettext: autopoint does not see additional po/ directories (fwd)
Date: Thu, 6 Aug 2009 01:53:52 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Hi!

On Mon, 2009-07-27 at 09:56:18 +0200, Bruno Haible wrote:
> Guillem Jover wrote:
> > In dpkg we have several domains, and thus several po/ directories in
> > the source tree. We (try) not to keep autogenerated files in git
> 
> This situation is supported by the GNU gettext + autotools toolchain.

> > getttextize used to support more than one podir
> 
> No, gettextize always only supported one podir. But gettextize is only
> the tool for migrating from one gettext version to the next. A package
> maintainer can get away without it, with a bit of handwork, following
> the GNU gettext documentation.

Before autopoint existed the only tool to be (ab)used was gettextize,
even if it was probably doing more changes than desired, as it was not
its intended purpose. Also wasn't autoreconf initially calling
gettextize as well, before switching to autopoint?

> > it would be nice to get similar support for autopoint.
> 
> Autopoint supports and always supported multiple podirs under the
> same configure.ac. If you have subpackages with separate configure.acs,
> I believe that you need to invoke autopoint in each of them.
> (It's not recursively processing subpackages. Like
> "autoreconf --no-recursive".)

I checked this long time ago and just before filing the bug report to
make sure, I can see gettextize's --po-dir option which can be
specified several times, and AFAIR gettextize used to detect several
po dirs automatically. But cannot find any option in the info docs, nor
anything in autopoint's code which would seem to support several po/
dirs. So I'm a bit confused now, if you didn't mix those two, could you
explain how to do it with autopoint, please? Or better yet, add it to
the docs? :)

thanks,
guillem




reply via email to

[Prev in Thread] Current Thread [Next in Thread]