-
-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check Supported Languages #244
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
In "Check Supported Languages" section, you mentioned we can check the supported languages of each translator by calling the get_supported_languages function as below example.
langs_list = GoogleTranslator().get_supported_languages() # output: [arabic, french, english etc...]
What I Did
Problem1:
I would like to check the language supported list of LingueeTranslator and give a command like this,
langs_list = LingueeTranslator().get_supported_languages()
The VSCode throws an error like below
File "h:\my_prog\deep-translator\deep_translator\base.py", line 84, in _map_language_to_code
raise LanguageNotSupportedException(
deep_translator.exceptions.LanguageNotSupportedException: en --> No support for the provided language.
I also try PonsTranslator like below command, the error is same
langs_list = PonsTranslator().get_supported_languages()
I was wondering if you could do me a bit of a favor?
The text was updated successfully, but these errors were encountered: