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

Translate code snippets #4

Open
m-aciek opened this issue Jan 25, 2020 · 1 comment
Open

Translate code snippets #4

m-aciek opened this issue Jan 25, 2020 · 1 comment

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.

@m-aciek
Copy link
Collaborator Author

m-aciek commented Jan 25, 2020

I've sent an email to doc-sig@python.org.

@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
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