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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.