Table of Contents
PO Files
PO files use the file format of the Gettext tools. See http://www.gnu.org/software/gettext/
For information on KDE style PO files, see http://public.planetmirror.com/pub/kde/devel/gettext-kde/
Supported Features
- Headers
- Plural forms and plural form handling
- Obsolete messages
- Message Context (msgctxt)
Supported comments
- normal comments
# this is another comment
- automatic comments
#. comment extracted from the source code
- source location comments
#: sourcefile.xxx:35
- typecomments
#, fuzzy
- visiblecomments
#_ note to translator (this is nonsense)
This style is no longer used by tools like pofilter, they use normal comments to ensure that they work with Gettext tools. Handling of these will be removed in the future.
- msgidcomments
magid "_: within msgid\n"
Also know as KDE style comments as they are used by KDE for message disambiguation and comments to translators.
- obsolete messages
#~ msgid "Blah" #~ msgstr "Bleeh"
Unsupported Features
Previous msgid
#| msgid "previous message"
In Gettext 0.16
Alternate language
msgid "English" msgid[af] "Engels"
Unsure of when or if this was added to Gettext.