convertString()
convertString(string $value) : string
Convert a string from its PO representation.
Parameters
| string | $value |
Class to get gettext strings from php files returning arrays.
fromFile(array|string $file, \Gettext\Translations $translations, array $options = array())
Extract the translations from a file.
| array|string | $file | A path of a file or files |
| \Gettext\Translations | $translations | The translations instance to append the new translations. |
| array | $options |
fromString(string $string, \Gettext\Translations $translations, array $options = array())
Parses a .po file and append the translations found in the Translations instance.
| string | $string | |
| \Gettext\Translations | $translations | |
| array | $options |
extractHeaders(string $headers, \Gettext\Translations $translations) : array
Add the headers found to the translations instance.
| string | $headers | |
| \Gettext\Translations | $translations |