[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: texi2any not translating @copying contents without @documentlanguage
From: |
Gavin Smith |
Subject: |
Re: texi2any not translating @copying contents without @documentlanguage |
Date: |
Thu, 2 Nov 2023 16:54:51 +0000 |
On Thu, Nov 02, 2023 at 10:52:56AM +0100, Patrice Dumas wrote:
> 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
>
I get it now. Thank you for the quick fix.