← Back to DAGDA | Support | Source: https://github.com/sphinx-doc/sphinx/issues/1246
Skip to content

i18n: Highlight untranslated paragraphs #1246

Closed

Description

@shimizukawa

I would like to mark paragraphs that are missing translation with an additional css class. Comments in the code (

# XXX add marker to untranslated parts
) suggest that this idea is not new.


Activity

  1. added
    type:enhancement
    type:proposal
    on Jan 3, 2015
  2. lehmannro commented on Jan 19, 2016

    @lehmannro
    Member

    Idea from @JulienPalard: Not only highlight but also allow jumping directly to the translation instructions/portal.

  3. added this to the some future version milestone on Sep 29, 2022
  4. humitos commented on Jul 24, 2023

    @humitos
    Contributor

    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.

  5. shimizukawa commented on Jul 24, 2023

    @shimizukawa
    MemberAuthor

    Sounds good! Now I will close this ticket. Thanks.

  6. AA-Turner commented on Jul 24, 2023

    @AA-Turner
    Member

    @humitos could we add that example recipe to the documentation?

    A

  7. humitos commented on Jul 24, 2023

    @humitos
    Contributor

    @AA-Turner yes. Do you have a page in mind where it could be a good place for it?

  8. AA-Turner commented on Jul 24, 2023

    @AA-Turner
    Member

    doc/usage/advanced/intl.rst?

  9. locked as resolved and limited conversation to collaborators on Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internals:internationalisationtype:enhancementtype:proposal

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions