Skip to content
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

RequestError #239

Open
roaddust2 opened this issue Sep 9, 2023 · 2 comments
Open

RequestError #239

roaddust2 opened this issue Sep 9, 2023 · 2 comments

Comments

@roaddust2
Copy link

  • deep_translator version: 1.11.4
  • Python version: 3.11
  • Operating System: Debian 12 slim (as a container)

Description

Hello! And thank you for your work

Recently the translation (ka -> en) stopped working and the error below appeared.
I did not change anything in code base related to translation

What I Did

Just calling translate:

from deep_translator import GoogleTranslator


translator = GoogleTranslator(source='ka', target='en')
translator.translate('somestring')

Traceback:

File "/opt/venv/lib/python3.11/site-packages/deep_translator/google.py", line 74, in translate
raise RequestError()
deep_translator.exceptions.RequestError: Request exception can happen due to an api connection error. Please check your connection and try again
@mistune
Copy link

mistune commented Nov 27, 2023

@roaddust2 Were you able to resolve this?

@IliasAarab
Copy link

@roaddust2 Were you able to resolve this?

Same question, as I have the same issue across different languages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants