Repository navigation
Availability extension's text translation breaks directive rendering #126609
Description
Activity
There's been a few other issues about this extension -- is this related to those at all?
A
After reviewing issues and PRs open and closed, it doesn't look like they are related.
For the record, this issues started after extracting
availabilityinto a new extension. I git-checkout'ed it and built the docs to test it.PL translation got impacted yesterday by this issue. Confirming that translating
"Availability"(exposed to translation by the directive) to"Dostępność"(Polish translation) breaks rendering of the directive (as shown on screenshots).@rffontenelle I suggest renaming the ticket to „Availability extension's text translation breaks directive rendering” or similar.
Reacted by Rafael Fontenelle and Stan Ulbrych- changed the title
[-]Availability extension's text translation causes warning[/-][+]Availability extension's text translation breaks directive rendering[/+]on Jan 30, 2025 I have opened a PR that reverts the move.
It seems that I missed the
sphinx_gettextcall here to allow translation. I've attempted to test #129549 locally and it seems to work, but please could someone here test it with an actual translation?A
Reacted by Maciej Olko- added a commit that references this issue
on Feb 2, 2025 - added a commit that references this issue
on Feb 3, 2025
Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsTodo



Documentation
The availability extension shows "Availability" text in the built docs. In the translation context, "Availability" is available for translation, but translating that text causes hundreds of warnings like this:
The translated page will show the translation text ("Disponibilidade", in Portuguese) without the important text: the platforms where it is available. (That's unwanted!)
Some checking around:
Linked PRs
availabilitydirective #129549availabilitydirective (GH-129549) #129584availabilitydirective (GH-129549) #129585