On Thu, Nov 02, 2023 at 07:02:03AM +0000, Gavin Smith wrote:
> On Wed, Nov 01, 2023 at 11:10:04PM +0100, Patrice Dumas wrote:
> > > However, removing the first "@documentlanguage fr" line prevents the
> > > translation:
> > 
> > That's because an element is onlt marked as 'untranslated' if there is a
> > @documentlanguage set at the time of parsing.  It is possible to change
> > code such that it is always set.
> 
> Yes, I realise this now.  Sorry for the confusion.  I understand that
> the @copying block was not translated becayse there was no @documentlanguage
> at the time of its definition, so the output is as it should be.

To be clear, I made the change I proposed based on your report, so now
the untranslated type is always added:
https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=965090bc780eb8ec7d38a3828fa064b1c8bb0a20

-- 
Pat

Reply via email to