Skip to content

feature-request: please support --previous option with sphinx-intl #121

@hwansing

Description

@hwansing

When updating po files after changings in the original, it would be really beneficial for translators, if sphinx-intl would support adding the old original string to the po file (as a comment, starting with "#|" ).

This is already known for decades as a functionality of msgattrib; see https://manpages.debian.org/bookworm/gettext/msgattrib.1.en.html for example: "[--previous] keep previous msgids of translated messages.

If translator then uses an editor, that supports this feature (like lokalize for example), the editor directly shows, what has changed in the original text. That's extremly helpful for example, when there is only a minor difference like correcting a typo - imagine only one character has changed in a 10 or 20 lines long msgid - a nightmare for translators.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions