[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Language menu in the HTML manual
From: |
André A . Gomes |
Subject: |
Re: Language menu in the HTML manual |
Date: |
Wed, 19 Jan 2022 18:39:08 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Ludovic Courtès <ludo@gnu.org> writes:
>> Is that what the icon is supposed to do? If possible, the links should
>> go to the same page in the other language, but that might be
>> difficult.
>
> Yes. What makes it difficult is that Texinfo transliterates node names
> to ASCII (which I find imperialistic and ridiculous, or at least
> anachronistic):
While I understand your intention, that might be too harsh. Are you
aware of https://en.wikipedia.org/wiki/Punycode?
> Probably the easiest (and ugliest?) way to fix it would be to view the
> transliteration algorithm as a black box and to implement a mapping from
> node names to file names, similar to the indexes computed in
> ‘doc/build.scm’.
Yes, and transliteration rules change over time too.
--
André A. Gomes
"Free Thought, Free World"