OpenPetra
Free Administration Software for Non-Profits
GenerateI18N.TPoFileParser Class Reference

parse a gettext po file More...

Static Public Member Functions

static string ParsePoLine (StreamReader sr, ref string ALine, out StringCollection AOriginalLines)
 a line in a po translation file starts with either msgid or msgstr, and can cover several lines. the text is in quotes. More...
 
static void WriteUpdatedPoFile (string APoFilePath, SortedList< string, string >ANewTranslations)
 add new translations to the po file More...
 

Detailed Description

parse a gettext po file

Member Function Documentation

◆ ParsePoLine()

static string GenerateI18N.TPoFileParser.ParsePoLine ( StreamReader  sr,
ref string  ALine,
out StringCollection  AOriginalLines 
)
inlinestatic

a line in a po translation file starts with either msgid or msgstr, and can cover several lines. the text is in quotes.

◆ WriteUpdatedPoFile()

static void GenerateI18N.TPoFileParser.WriteUpdatedPoFile ( string  APoFilePath,
SortedList< string, string >  ANewTranslations 
)
inlinestatic

add new translations to the po file


The documentation for this class was generated from the following file: