Parses a po file that has been exported from Mediawiki. More...
Public Member Functions | |
__construct ( $file) | |
setProgressCallback ( $callback) | |
parse () | |
Parses relevant stuff from the po file. | |
Protected Member Functions | |
reportProgress ( $text, $channel=null, $severity='status') | |
initMessages ( $id, $code) | |
Loads translations for comparison. | |
Parses a po file that has been exported from Mediawiki.
Other files are not supported.
Definition at line 91 of file poimport.php.
PoImporter::__construct | ( | $file | ) |
string | $file | File to import |
Definition at line 101 of file poimport.php.
|
protected |
Loads translations for comparison.
string | $id | Id of MessageGroup. |
string | $code | Language code. |
Definition at line 124 of file poimport.php.
PoImporter::parse | ( | ) |
Parses relevant stuff from the po file.
Definition at line 137 of file poimport.php.
|
protected |
Definition at line 110 of file poimport.php.
PoImporter::setProgressCallback | ( | $callback | ) |
Definition at line 105 of file poimport.php.