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

Re: Errors in website build logs for the release notes



On Fri, Apr 06, 2007 at 10:40:38PM +0200, Frans Pop wrote:
> On Friday 06 April 2007 22:19, Jens Seidel wrote:
> > This does not happen as the target update-po isn't called by default.
> > Each translation is more or less independent of the English document.
> > The binding happens *only* with make update-po.
> 
> Hmm. Wonder if that will work correctly if we add para's: a translated 
> SGML file is created using both the PO file _and_ the current English 
> SGML file after all...

Right. But on one system only one method is used (dependant on po4a
version).

> The test if the build is done on the server or not could easily be done 
> using an environment variable. This is done already with PUBLISHDIR for 
> example. No big deal.

Oops, it's much easier. We could just remove the "*.sgml: *.po" rule and
create the SGML file manually before we commit it.

Nevertheless the initial (and proper) solution is not to commit SGML at
all and to deal only with PO files in CVS. Generated SGML files in CVS are
just a stupid workaround.

Not committing PO files but generated SGML files was used by some translators
in the past and resulted already in vanished PO files.

Jens



Reply to: