How to I mark an empty translation (msgstr) as translated in po gettext files?

后端 未结 3 1243
天涯浪人
天涯浪人 2021-02-08 02:11

I found that is the translation for a string (msgid) is empty all gettext tools will consider the string as untranslated.

Is there a workaround for this? I do want to ha

3条回答
  •  滥情空心
    2021-02-08 02:57

    As this seems to be a big design flaw in the gettext specification, I decided to use: Unicode Character 'ZERO WIDTH SPACE' (U+200B) inside these fields.

提交回复
热议问题