po
What is a .po file?
text/x-gettext-translation
A PO file (.po, Portable Object) is a gettext translation catalog: a plain-text list of msgid (source string) and msgstr (translation) pairs, with a header defining the language and plural rules, source-location comments, and support for plural forms. It is the working file translators edit and is compiled to a binary .mo for runtime.
How to use a .po file
Use an example .po file to test gettext parsers, PO editors and CAT tools, translation-memory importers, and PO-to-JSON/XLIFF converters, or to exercise plural-form handling.
Download example .po files
- gettext Catalog — Spanish (.po)A translated gettext .po catalog (Spanish) with a full header, source-location and translator comments, c-format flags, and a plural-form entry — for testing PO parsers and translation-memory tools.
- Gettext PO — FrenchA French (fr) gettext PO catalog with seven UI strings — for i18n toolchain tests.
- Gettext PO — GermanA German (de) gettext PO catalog with seven UI strings — for i18n toolchain tests.
- Gettext PO — Portuguese (Brazil)A Portuguese (Brazil) (pt-BR) gettext PO catalog with seven UI strings — for i18n toolchain tests.
- Gettext PO — KoreanA Korean (ko) gettext PO catalog with seven UI strings — for i18n toolchain tests.
- gettext PO with Plural-Forms — Polish (nplurals=3)A Polish gettext catalog with a real Plural-Forms header and 3 msgstr[] forms per plural entry, source-location and extracted comments, and c-format flags. Pairs with the compiled .mo of the same content, so a loader can be tested end to end rather than on the text format alone.
- gettext PO with Plural-Forms — Russian (nplurals=3)A Russian gettext catalog with a real Plural-Forms header and 3 msgstr[] forms per plural entry, source-location and extracted comments, and c-format flags. Pairs with the compiled .mo of the same content, so a loader can be tested end to end rather than on the text format alone.
- gettext PO with Plural-Forms — Arabic (nplurals=6)A Arabic gettext catalog with a real Plural-Forms header and 6 msgstr[] forms per plural entry, source-location and extracted comments, and c-format flags. Pairs with the compiled .mo of the same content, so a loader can be tested end to end rather than on the text format alone.
and 3 more in the library.