save() public method
Saves messages to a PO file.
public void save ( $filePath, $messages ) | ||
---|---|---|
$filePath | string |
File path |
$messages | array |
Message translations. Array keys are source messages and array values are translated messages: source message => translated message. Note if the message has a context, the message ID must be prefixed with the context with chr(4) as the separator. |
Please login to continue.