src/Easy/WebPage.php
protected function getMessage($msgId, $params = array())
    {
        $message = isset($this->objectMessages[$msgId]) ? $this->objectMessages[$msgId] : constant($msgId);
        $message = I18n::t($message, $msgId, $this->getModuleName($this->objectName));
        return vsprintf($message, $params);
    }
protected function getMessage($msgId, $params = array())
    {
        $message = isset($this->objectMessages[$msgId]) ? $this->objectMessages[$msgId] : constant($msgId);
        $message = I18n::t($message, $msgId, $this->getModuleName($this->objectName));
        return vsprintf($message, $params);
    }
Get message, and translate it

@param <type> $msgId message Id
@param array $params
@return string message string