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.  |  
Please login to continue.