Skip to content

Concatenation of 'untranslated-string' and 'translated-string' (string) on the same line does not seem to work well #924

@schilive

Description

@schilive

This may not be a useful issue because I suspect this is undefined behaviour by xgettext/msgfmt.

The following translation string was interpreted different from expected by POEdit (Windows version 3.9 (7905), free version), as Ola " "Mundo!, when I'd expect Ola, Mundo!. I'd expect it because when compiling the PO file with this translation to MO with msgfmt (version 0.21), it was interpreted as such. Also, this is in accordance to C strings, which are the base of PO/POT strings syntax.

This also happened with msgstr "Ola ""Mundo!", interpreted by msgfmt as Ola, Mundo!, but Ola ""Mundo! by POEdit.

msgid "Hello, world!"
msgstr "Ola " "Mundo!"
Image
Image

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