[Doc-SIG] About smart-quotes in translations

Adrian Liaw adrianliaw2000 at gmail.com
Mon Sep 17 22:20:43 EDT 2018


Hi Julien,

No problem, I'll do that.

Best,

On Mon, 17 Sep 2018 at 22:56 Julien Palard <julien at palard.fr> wrote:

> Hi Adrian,
>
> I like this approach too, I can modify my PR, or would you open a PR with
> your test Adrian? I'll appreciate if you add 'fr' in the exclude list, we
> just got bitten by this issue too.
>
> --
> Julien Palard
> https://mdk.fr
>
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Monday, September 17, 2018 9:37 AM, Adrian Liaw <
> adrianliaw2000 at gmail.com> wrote:
>
> Hi Julien,
>
> It works perfectly, thank you so much for creating the PR!
>
>
> Hi cocoatomo,
>
>
>> Sphinx now has the option "smartquotes_excludes" in conf.py that disable smartquotes
>> directly.
>> This option might be better, because this enables more detailed and
>> straightforward configuration.
>>
>
> Thanks for the information, I've tried adding a line of smartquotes_excludes
> = {'languages': ['ja', 'zh_TW'], 'builders': ['man', 'text']} in the
> conf.py of my local CPython clone (and removing the docutils.conf) and it
> works perfectly.  Maybe it's a good idea to adapt this approach.
>
>
> Best Regards,
> --
> Wey-Han "Adrian" Liaw (@adrianliaw2000)
> https://linkedin.com/in/adrianliaw
> https://github.com/adrianliaw
>
>
> --
Wey-Han "Adrian" Liaw (@adrianliaw2000)
https://linkedin.com/in/adrianliaw
https://github.com/adrianliaw
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/doc-sig/attachments/20180918/eb40b91e/attachment.html>


More information about the Doc-SIG mailing list