public function translate($message, $parameters = array())
    {
        if (count($parameters) === 0) {
            return $this->translations[$message];
        } else {
            return vsprintf($this->translations[$message], $parameters);
        }
    }