Fix current language detection.