diff --git a/translate/provider/google.py b/translate/provider/google.py index 7923bca..7947c50 100644 --- a/translate/provider/google.py +++ b/translate/provider/google.py @@ -74,7 +74,7 @@ def is_supported_language(self, code: str) -> bool: return code.lower() in self.supported_languages.keys() def get_language_name(self, code: str) -> str: - return self.supported_languages[code] + return self.supported_languages[code.lower()] make_translation_provider = GoogleTranslate