python-docs-pl icon indicating copy to clipboard operation
python-docs-pl copied to clipboard

Translate code snippets

Open m-aciek opened this issue 5 years ago • 3 comments

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 avatar Jan 25 '20 21:01 m-aciek

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

m-aciek avatar Jan 25 '20 22:01 m-aciek

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

m-aciek avatar Aug 19 '24 23:08 m-aciek

Moved to https://github.com/python/cpython/issues/123407.

m-aciek avatar Aug 30 '24 21:08 m-aciek