On Sun, May 03, 2026 at 05:23:27PM +0300, Eli Zaretskii wrote: > > Date: Sun, 3 May 2026 16:04:09 +0200 > > From: Patrice Dumas <[email protected]> > > > > Hello, > > > > Now that we have more information on language, I think that passing the > > language information to Info should be revisited. Independently, I > > think that the language information at the end of the preamble should be > > used, same as for other format. > > > > Regatding passing the information on the language, I can think of 3 > > possibilities: > > > > 1) pass a BCP 47 lang tag. This is what is used in the other output formats > > 2) pass an XPG locale (probably not the best choice right now given > > that some information is lost, but we could count on future changes in > > XPG locales) > > 3) pass the documentlanguage, documentscript and documentvariant > > separately each in its Info variable > > > > Any preference? If people doing the Info readers implementations could > > chime in that would be best... > > What is expected that the Info reader will do with this information?
It is expected to use it to use strings for cross-references and similar using the language of the Info file: https://lists.gnu.org/archive/html/help-texinfo/2023-12/msg00013.html For example, "veja" in portuguese instead of "see". -- Pat
