On Tue, Feb 10, 2026 at 04:00:17AM +0100, Vincent Lefevre wrote: > On 2026-02-06 17:32:16 +0000, Gavin Smith wrote: > > The next pretest distribution for the next Texinfo release (7.3) has been > > uploaded to > > > > https://alpha.gnu.org/gnu/texinfo/texinfo-7.2.91.tar.xz > > I've tested the Debian/experimental package. > > > * Language > [...] > > . if there is no @documentlanguage, the language is unspecified, rather > > than en_US. (texi2any will still use English strings by default, > > but will not put en_US in the output, depending on output format.) > > This is problematic, because until now, the default language was > the English one. So this will break current manuals that do not > use @documentlanguage (because it was useless).
This is a feature, now no @documentlanguage means that the language is unspecified. As a side note, previously, the language was already unspecified for some output formats, see https://lists.gnu.org/archive/html/bug-texinfo/2025-03/msg00076.html If an author intends to be explicit about the language, the manual should be modified. > In particular, > Firefox is sensitive to the lang HTML attribute, and without > @documentlanguage, one gets lang="", which means that Firefox > will no longer choose the Latin script (I got inconsistent font > settings until I reconfigured them in Firefox). Since no @documentlanguage means that the language is unspecified, it is best intepreted as an unknown language in HTML. If the user wants to make sure that the "en" language is selected, he should now specify it explicitely. This is a feature. In HTML output, lang could be completely avoided instead of being an empty string. I do not have a strong opinion here. > Note also that the change of > > <body lang="en"> > > to > > <body lang=""> This is not intentional, the NEWS is right, I will try to fix the wording in the manual. > does not match the GNU Texinfo manual: > > * Internationalization:: Supporting languages other than English. > > and > > 15 Internationalization > *********************** > > Texinfo has some support for writing in languages other than English, > [...] > > The "other than English" intends to mean that the default language > is English. > > -- > Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> > 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> > Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon) >
