-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
Doc: Disable smartquotes for zh-tw and fr translations. #9337
Conversation
@adrianliaw can you please test a build with this patch and validate it fixes zh-tw quote issues? |
It works perfectly for our build. Thank you @JulienPalard for the PR! As a side note, previously the issue occurred in the translation of tutorial/venv.rst where:
was translated into:
but output as
Now by applying this PR, this issue doesn't raise again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks @JulienPalard. I'll leave this for you to merge.
I prefer the #9423 version, so I close mine. |
This is a replacement for python#9337. * Using conf.py to disable smartquotes through Sphinx instead of using docutils.conf * Disable smartquotes for Japanese, French and Traditional Chinese translations See: * Suggesting to use conf.py: https://mail.python.org/pipermail/doc-sig/2018-September/004084.html * Original smartquotes issue in ja translations: https://bugs.python.org/issue31793 * Disabling for ja: python#4006 * Smartquotes issue in fr: python/python-docs-fr#303 * Smartquotes issue in zh_TW: https://mail.python.org/pipermail/doc-sig/2018-August/004079.html
See: https://mail.python.org/pipermail/doc-sig/2018-August/004079.html
and: #4006