Gettext (.po, .pot)

Updated 2 months ago ​by Nick Ustinov

A PO file is made up of many entries, each entry holding the relation between an original untranslated string and its corresponding translation. All entries in a given PO file usually pertain to a single project, and all translations are expressed in a single target language.

Lokalise parses the following keys:

#: (reference)
# or #@ or #. (comment)
#, fuzzy (fuzzy flag)
msgctxt
msgid
msgid_plural
msgstr


Plural forms are accepted. Obsolete terms marked with (#~) are not imported from .po and .pot files.


How did we do