PO::export_entries(): string

In this article

Exports all entries to PO format

Return

string sequence of mgsgid/msgstr PO strings, doesn’t containt newline at the end

Source

public function export_entries() {
	// TODO: Sorting.
	return implode( "\n\n", array_map( array( 'PO', 'export_entry' ), $this->entries ) );
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.