PO::trim_quotes
PO::read_line
PO::read_entry
Advertisement
PO::import_from_file
PO::is_final
Helper function for read_entry
PO::match_begin_and_end_newlines
PO::export_entry
Builds a string from the entry for inclusion in PO file
Advertisement
PO::comment_block
Prepare a text as a comment — wraps the lines and prepends # and a special character to each line
PO::unpoify
Gives back the original string from a PO-formatted string
PO::prepend_each_line
Inserts $with in the beginning of every new line of $string and returns the modified string
PO::poify
Formats a string in PO-style
Advertisement
PO::export_to_file
Same as {@link export}, but writes the result to a file
PO::set_comment_before_headers
Text to include as a comment before the start of the PO contents
PO::export
Exports the whole PO file as a string