You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
Problem2:
I have tried my pdf file by following command and the content of abc.pdf have more than one page.
translated = GoogleTranslator(source='auto', target='chinese (traditional)').translate_file("abc.pdf")
the result of translated only have first page data, how can I get second and third pages translated data?
Do I need an extra processing to separate pdf file if content over one page?
I was wondering if you could do me a bit of a favor?
The text was updated successfully, but these errors were encountered:
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: