PO parser
Parser ID: PO.
Format: https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html.
Key features:
Auto-encoding. The PO parser supports UTF-8 encoding with and without BOM. The generated target files will have the same encoding as the source file.
Ignore duplicate entries. All Objects in a PO Object must have a unique Name. Duplicates are considered to be an error. The parser will skip duplicates without a warning.
Plural forms are supported.
Parser settings:
String id = {msgid}.{msgctxt} (
msgctxtInStringid).Default:
true.If set, the
msgctxtelement will be included in the string ID. Otherwise, only themsgidwill be the string ID.String IDs are hashed
The string ID, as written in the PO file, can contain invalid characters for Rigi string IDs.
Therefore, Rigi will calculate a hashed value from
{msgid}and optionally{msgctxt}. Example: the hash of string#USAis7bcd6d34464b3057cdaedff9bc02b94e.Use Unix newlines (
unixNewline).Default:
false.If set, the parser will generate a Unix newline (\n). Otherwise, a Windows newline (\r\n) will be generated.
Msgstr is source (
sourceMsgstr).Default:
false.According to the definition, the source strings are written in the element
msgid.When you set this option to true, the Rigi parser will take the string ID from
msgidand the source string frommsgstr.
Generate target
The first element in a PO file contains the definition of whether the msgid is empty (msgid ""). The parser will populate the Language and Plural-Forms when it generates a target.

For other parser settings, see the Generic parser settings article.