Guidedog Manual 1.0.0-beta.16
Language
On this page
Guidedog / Documentation 1.0.0-beta.16

Translation and index review

On 16 October 2026 we investigated issue 2: translated glossary terms disappeared from the general index while their page anchors remained present.

Root cause

A glossary term contains two kinds of children: visible inline text and a generated index record. The translation pass replaced all children with newly parsed inline content. This removed the index record along with the source text. The HTML collector therefore had no entry to put in genindex.html. The PDF book uses the same collected index and was affected too.

The defect is independent of script. A translated Latin term disappears in the same way. An untranslated term keeps its original children, which explains why Latin terms left untranslated still appeared in the reported project. A natively written non-Latin glossary also keeps its index records.

Fix

The reader marks the automatic glossary index record as generated metadata. The translation pass preserves generated children when it replaces written inline content. The glossary entry takes its display text from the parsed translation, without markup, and keeps its original target and category. Existing :term: links continue to resolve to the same anchors.

The pass already preserved generated prefixes, such as parameter names inserted before a description. It now preserves generated children after the written content too. A translation that is refused keeps the complete original subtree, including its metadata.

Regression checks

Both defects were reproduced with failing tests before the fixes. Reader-level tests cover reStructuredText and MyST, marked-up terms, category keys, refused translations and reordered or renamed inline indexes. The glossary matrix includes Japanese, Chinese, Korean, Hindi, Arabic and German.

End-to-end checks use the real gettext extraction, intl update and MO compilation paths. They verify translated entries, unchanged entries, native non-Latin terms, stable term links, cached rebuilds and catalog changes. A PDF build verifies that the book index contains the same translated entries and targets. Every release archive’s smoke test also builds a translated glossary and separate translated paragraphs with inline index roles.

We also compared the published 1.0.0-beta.2 Linux executable with the corrected 1.0.0-beta.3 working tree in fresh project folders. In each of the six languages, the old binary indexed only the untranslated term out of three and emitted only the first of two inline index anchors. The corrected build indexes all three terms and emits both distinct anchors. Original glossary anchors remain present exactly once in both builds.

After publication, we repeated the six-language checks with the downloaded 1.0.0-beta.3 Linux executable. Fresh builds, cached builds and edited catalogs all preserved the three glossary entries, both inline index targets and the original term links. A German PDF also passed checks of its generated index labels and visible index text. The Release 1.0.0-beta.3 record identifies the artifacts and qualification runs.

Wider review

We reviewed the path from source discovery through reading, translation, collection, reference resolution, HTML and PDF composition, cache invalidation and output publication. We also checked the CLI and linked-plugin boundaries, resource confinement, preview paths, bounded HTTP reads and release qualification. The workspace checks exercise these layers together with their parser fixtures, malformed-input tests, transaction recovery tests and plugin scenarios.

The known limits in Readiness for 1.0.0 beta remain recorded separately. This review fixes the two reproduced index defects; it does not establish that every possible document or platform behavior is free of defects.