translateMessage() protected method
Translates the specified message.
If the message is not found, a missingTranslation event will be triggered. If there is an event handler, it may provide a fallback translation. If no fallback translation is provided this method will return false
.
protected string|boolean translateMessage ( $category, $message, $language ) | ||
---|---|---|
$category | string |
The category that the message belongs to. |
$message | string |
The message to be translated. |
$language | string |
The target language. |
return | string|boolean |
The translated message or false if translation wasn't found. |
Please login to continue.