private function addCurrentMessage()
    {
        if ($this->currentMessage->hasTranslation()) {
            $this->messages[] = $this->currentMessage;
            $this->currentMessage = new Message();
        }
    }