Implements AcceptLanguage::detect()