Skip to content

References in PO translation files #29962

@Stadly

Description

@Stadly

The PO translation file format supports references, so that one can easily see where the message is used in the source files. This can be very helpful when translating.

The PoFileDumper does not support references. It would be really nice if this could be implemented.

The format is:

#: path\to\file:line
#: path\to\other\file:line
msgid untranslated-string
msgstr translated-string

For example:

#: lib/error.c:116
msgid "Unknown system error"
msgstr "Error desconegut del sistema"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions