Gettext Template POT-Files

POT template files for use with Gettext.

File Extensions .pot
API Extension gettext_template
Format Options No
Import Yes
Export Yes
Pluralization supported? Yes
Descriptions/Comments supported? Yes

Example

msgid ""
msgstr ""
"Language: en\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: PhraseApp (phraseapp.com)\n"

msgid "app_title"
msgstr ""

msgid "greeting"
msgstr ""

msgid "new_messages"
msgid_plural ""
msgstr[0] ""
msgstr[1] ""

Further Reading

  • Introduction to Gettext