On Thu, Apr 16, 2026 at 07:20:27PM +0100, Gavin Smith wrote: > On Wed, Apr 15, 2026 at 11:54:56PM +0200, Patrice Dumas wrote: > > Hello, > > > > Currently, @documentlanguage unknown main language or region are used > > in texi2any, with a warning. Should an unknown language or region be > > ignored instead? > > > > On the one hand, maybe the user is doing it on purpose, for example she > > could have redefined the documentlanguage formatting with the HTML > > customization API. On the other hand it is likely that language support > > will be poor. Maybe it does not matter, there is a warning, therefore > > there should not be any user expectation. > > > > I do not have a clear idea on what should be best, Any recommendation? > > Surely it is possible that new document languages or regions are added > after the user's released version of Texinfo, which can only recognise > a fixed list of codes. If users want to use codes that were added > after their version of Texinfo was released, we shouldn't stop them. > > It's fine to warn if they use an unrecognised code (as the chance of > it being a mistake is quite high), but it would seem completely wrong > to me to stop users from using language codes just because they weren't > recognised at release time.
Ok. -- Pat
