LSCGettextMessageSource

Extends \CGettextMessageSource

Extension of CGettextMessageSource to allow plugins to have their own localization files

since 2016-07-25
author

Olle Haerstedt

package

Default

Methods

Loads the message translation for the specified language and category.

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

Arguments

$category

string

the message category

$language

string

the target language

Response

array

the loaded messages

Constants

CACHE_KEY_PREFIX

CACHE_KEY_PREFIX