The c_annotations Sphinx extension at https://github.com/python/cpython/blob/main/Doc/tools/extensions/c_annotations.py adds some markup to the documentation files but those do not appear in the translation dumps, e.g. the file at https://git.afpy.org/AFPy/python-docs-fr/src/branch/3.11/c-api/refcounting.po contains no annotations of the form "Part of the Stable ABI since version 3.10.".
Because their is no translation support in c_annotations.py and the annotation are not in the translation dump either it is not possible to translate those messages at the moment.
See also #84435.
GH-101986: Support translation for Limited/Unstable API & Stable ABI (#…
pythonGH-101986: Support translation for Limited/Unstable API & Stabl…
[3.11] pythonGH-101986: Support translation for Limited/Unstable API …
[3.12] GH-101986: Support translation for Limited/Unstable API & Stab…
[3.11] GH-101986: Support translation for Limited/Unstable API & Stab…
PRs have been merged and backported, thanks for the report!
Activity
hugovk commented on Aug 4, 2023
See also #84435.
GH-101986: Support translation for Limited/Unstable API & Stable ABI (#…
pythonGH-101986: Support translation for Limited/Unstable API & Stabl…
[3.11] pythonGH-101986: Support translation for Limited/Unstable API …
[3.12] GH-101986: Support translation for Limited/Unstable API & Stab…
[3.11] GH-101986: Support translation for Limited/Unstable API & Stab…
hugovk commented on Dec 10, 2023
PRs have been merged and backported, thanks for the report!
pythonGH-101986: Support translation for Limited/Unstable API & Stabl…
pythonGH-101986: Support translation for Limited/Unstable API & Stabl…