Post to Twitter Post to Yahoo Buzz Post to Google Buzz Post to LinkedIn Post to MySpace Post to Technorati

Description

The default parser that can read correctly PO is based on OKAPI filters for PO.

Here is how to localize this file type.

It is important to name your file .po in order to use the correct parser.

File structure

There are different modes for a po file.

bilingual mode : This is the most common mod. The msgid contains the source string and the msgstr contains the target string.

monolingual mode : The msgid contains the identifier of the string and the msgstr contains the source string. The domain value will be added in the identifier (Mydomain::Test string id)

This option will set in the configuration file for the parsers in the parser folder for the project (<project>/__PARSERS__/po.conf)

domain Mydomain
msgid "Test string id"
msgstr "Test string msg"

msgid "Test string id1"
msgstr "Test string msg1"

msgid "Test string id2"
msgstr "Test string msg2"

Encoding

As PO is an text file it is important that the file encoding is UTF-8 so you can work with the all the languages

4 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*


*

myL10N.net | Terms and Conditions
© 2007-2011 - myL10N.net All rights reserved