Advertisement

PO::export_entry

Builds a string from the entry for inclusion in PO file

PO::comment_block

Prepare a text as a comment — wraps the lines and prepends # and a special character to each line

PO::prepend_each_line

Inserts $with in the beginning of every new line of $string and returns the modified string

PO::unpoify

Gives back the original string from a PO-formatted string

Advertisement

PO::poify

Formats a string in PO-style

PO::export_to_file

Same as {@link export}, but writes the result to a file

PO::export

Exports the whole PO file as a string

Advertisement

Plural_Forms::get

Get the plural form for a number.

Advertisement

Plural_Forms::parse

Parse a Plural-Forms string into tokens.