On Sun, May 03, 2026 at 04:04:09PM +0200, Patrice Dumas wrote:
> 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...

Given that there's no sign of the existing "Info-documentlanguage"
variable being used, there is not a pressing need to add the information
from the other new commands.

I'm not keen to start using BCP 47 tags where they weren't used before.

If necessary I would support documentscript being in its own variable.
It is unlikely that documentlanguagevariant information would be used
without changes to translation infrastructure (gettext).

For example:

Info-documentlanguage: sr
Info-documentscript: latin

That is better than

Info-documentlanguage: sr@latin

Reply via email to