public function set($messageId, $translation)
    {
        if (is_array($translation)) {
            $this->messages[$messageId] = $translation;
        } else {
            if (! isset($this->messages[$messageId])) {
                $this->messages[$messageId] = array();
            }
            $this->messages[$messageId][] = $translation;
        }
    }