Update LanguageDetector.php