Skip to content

Re-implement translation notes #1367

@jpmckinney

Description

@jpmckinney

ci.yml used to include:

      - run: |
          make
          python manage.py add-translation-notes

However, I noticed a bug a few weeks ago. If a page was moved in the English version, there would be a broken link in a translated version – because the command downloads the last fully translated text, which still contains the old URL.

Instead, the insertion of notes should be performed during the Sphinx build. There is no way to use the last fully translated text without encountering the above issue, so we'll just explain in the note that some paragraphs might be in English.

This Sphinx documentation is relevant to writing a hook:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions