mongodb\i18n\MongoDbMessageSource loadMessages()

loadMessages() protected method

Loads the message translation for the specified language and category.

If translation for specific locale code such as en-US isn't found it tries more generic en.

protected array loadMessages ( $category, $language )
$category string

The message category

$language string

The target language

return array

The loaded messages. The keys are original messages, and the values are translated messages.

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

Please login to continue.