i18n\GettextMoFile load()

load() public method

Loads messages from an MO file.

public array load ( $filePath, $context )
$filePath string

File path

$context string

Message context

return array

Message translations. Array keys are source messages and array values are translated messages: source message => translated message.

throws yii\base\Exception

if unable to read the MO file

doc_Yii
2016-10-30 17:06:08
Comments
Leave a Comment

Please login to continue.