Class \Prado\I18N\core\Gettext\TGettext
File_Gettext
GNU gettext file reader and writer.
#################################################################
All protected members of this class are public in its childs.
#################################################################
Class hierarchy
Author: Michael Wallner <mike@php.net>
public
static
|
|
public
|
fromArray(array<string|int, mixed> $array) : bool
fromArray
Assigns meta info and strings from an array of a structure like that:
|
public
static
|
|
public
static
|
poFile2moFile(string $pofile, string $mofile) : mixed
poFile2moFile
That's a simple fake of the 'msgfmt' console command. It reads the contents of a GNU PO file and saves them to a GNU MO file. |
public
static
|
|
public
|
toArray() : array<string|int, mixed>
toArray
Returns meta info and strings as an array of a structure like that:
|
public
|
|
public
|
|