Skip to content

Translate code snippets #4

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

Closed
8 tasks done
m-aciek opened this issue Jan 25, 2020 · 3 comments
Closed
8 tasks done

Translate code snippets #4

m-aciek opened this issue Jan 25, 2020 · 3 comments

Comments

@m-aciek
Copy link
Collaborator

m-aciek commented Jan 25, 2020

Currently code blocks aren't translatable. They often contain comments or literals, for which translating them would be natural.

For example part of tutorial:

# this is the first comment
spam = 1  # and this is the second comment
          # ... and now a third!
text = "# This is not a comment because it's inside quotes."

For example React tutorial translation localizes code blocks.

Edit: recently the code blocks in the documentation are translatable. This task is now to track the progress of translating the code snippets in the main articles of the documentation that were already translated in whole (see #3).

@m-aciek
Copy link
Collaborator Author

m-aciek commented Jan 25, 2020

I've sent an email to [email protected].

@m-aciek m-aciek closed this as completed Jan 25, 2020
@m-aciek m-aciek reopened this Apr 14, 2020
@m-aciek m-aciek changed the title Set up discussion about translating code snippets Translate code snippets Apr 14, 2020
@m-aciek
Copy link
Collaborator Author

m-aciek commented Aug 19, 2024

This issue should be moved to https://github.com/python/docsbuild-scripts.

@m-aciek m-aciek closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2024
@m-aciek
Copy link
Collaborator Author

m-aciek commented Aug 30, 2024

Moved to python/cpython#123407.

@m-aciek m-aciek reopened this Aug 31, 2024
@m-aciek m-aciek pinned this issue Oct 3, 2024
@m-aciek m-aciek closed this as completed Oct 19, 2024
@m-aciek m-aciek unpinned this issue Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant