Opened 3 years ago
Closed 3 years ago
#33326 closed Bug (invalid)
[doc] Does french translation uses smartquotes or something?
Reported by: | Julien Palard | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In Transifex I see:
par exemple, l':ref:
multi-table-inheritance
which is right, and dates from 8 years ago so I bet it propagated to docs.djangoproject.com.
But in https://docs.djangoproject.com/fr/3.2/ref/models/fields/#django.db.models.OneToOneField I see:
par exemple, l”Héritage multi-table
which is wrong (see the "typographic" double quote).
This reminds me of typical [smartquotes](https://docutils.sourceforge.io/docs/user/smartquotes.html) issues, that we disabled on docs.python.org for similar reasons.
So, is smartquotes used on https://docs.djangoproject.com/fr/ and if so can it be disabled to avoid those bugs?
Globally, the smartquote functionality (https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-smartquotes) is nice, as for example it converts the straight apostrophes to typographic apostrophes that improve readability, so I wouldn't like to disable it altogether. In those edge cases, I wonder if using a typographic quote in the translation could be a workaround. I'll try that.
Still, this is rather a djangoproject.com issue, so I'll close it here.