Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The annotations in c_annotations.py cannot be translated #101986

Closed
remilapeyre opened this issue Feb 17, 2023 · 2 comments
Closed

The annotations in c_annotations.py cannot be translated #101986

remilapeyre opened this issue Feb 17, 2023 · 2 comments
Labels
docs Documentation in the Doc dir

Comments

@remilapeyre
Copy link
Contributor

remilapeyre commented Feb 17, 2023

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.

Linked PRs

@remilapeyre remilapeyre added the docs Documentation in the Doc dir label Feb 17, 2023
@hugovk
Copy link
Member

hugovk commented Aug 4, 2023

See also #84435.

hugovk added a commit that referenced this issue Dec 10, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Dec 10, 2023
…e ABI (pythonGH-107680)

(cherry picked from commit 9cdf05b)

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk added a commit to hugovk/cpython that referenced this issue Dec 10, 2023
…& Stable ABI (pythonGH-107680)

(cherry picked from commit 9cdf05b)

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk added a commit that referenced this issue Dec 10, 2023
…le ABI (GH-107680) (#112940)

Co-authored-by: Adam Turner <[email protected]>
Co-authored-by: Ezio Melotti <[email protected]>
Co-authored-by: Hugo van Kemenade <[email protected]>
hugovk added a commit that referenced this issue Dec 10, 2023
@hugovk
Copy link
Member

hugovk commented Dec 10, 2023

PRs have been merged and backported, thanks for the report!

@hugovk hugovk closed this as completed Dec 10, 2023
aisk pushed a commit to aisk/cpython that referenced this issue Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this issue Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants