$options
$options :
toFile(\Gettext\Translations $translations, string $file, array $options = array()) : boolean
Saves the translations in a file.
\Gettext\Translations | $translations | |
string | $file | |
array | $options |
toString(\Gettext\Translations $translations, array $options = array()) : string
{@parentDoc}.
\Gettext\Translations | $translations | |
array | $options |
toArray(\Gettext\Translations $translations, boolean $includeHeaders) : array
Returns a plain dictionary with the format [original => translation].
\Gettext\Translations | $translations | |
boolean | $includeHeaders |
fromArray(array $messages, \Gettext\Translations $translations)
Extract the entries from a dictionary.
array | $messages | |
\Gettext\Translations | $translations |