public function addDetectedLanguage($language)
    {
        if (!in_array($language, $this->detectedLanguages)) {
            $this->detectedLanguages[] = $language;
        }

        return $this;
    }