-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
i18n: Highlight untranslated paragraphs #1246
Comments
Idea from @JulienPalard: Not only highlight but also allow jumping directly to the translation instructions/portal. |
This will be possible in Sphinx 7.0.1 thanks to #11502. That PR has a link to an example about how to do exactly what the description of this issue mentions (use CSS to highlight untranslated paragraphs). I think we can probably close this issue as well. |
Sounds good! Now I will close this ticket. Thanks. |
@humitos could we add that example recipe to the documentation? A |
@AA-Turner yes. Do you have a page in mind where it could be a good place for it? |
|
Minimal explanation with a full extension example about how the `translated=True` attribute injected by `sphinx.transforms.i18n.Locale` can be used to extend Sphinx's functionality. Related sphinx-doc#1246
I would like to mark paragraphs that are missing translation with an additional css class. Comments in the code (
sphinx/sphinx/transforms.py
Line 183 in 88c72be
The text was updated successfully, but these errors were encountered: