9 March, 2014, 10:53 AM
PHP PO File Compiler for language translations
PO files are used on the web to provide translations from English to other languages for text used in software such as content management systems. They are text files that are easily edited by translators or by using software tools.
The main properties (array indexes) are:
id (msgid): English word/phrase appearing in the source code
cx (msgctxt): context e.g. "place name" or "item name" (optional)
pl (msgid_plural): English plural version (optional)
tr (msgstr): translation array of strings (the first one is singular and any following on are used for plurals depending on a number passed by the look-up function).
Last edited by Andy101; 9 March, 2014 at 11:03 AM.
Reason: The PHP formatting was all messed up
Tags for this Thread