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

JSONDecodeError: Expecting ',' delimiter during bulk translation #10

Open
jaga8285 opened this issue Jan 29, 2021 · 1 comment · May be fixed by #12
Open

JSONDecodeError: Expecting ',' delimiter during bulk translation #10

jaga8285 opened this issue Jan 29, 2021 · 1 comment · May be fixed by #12

Comments

@jaga8285
Copy link

Describe the bug
During the translation of the japanese equivalent of quotes (「」), an exception is thrown over the decoding of the http response.

To Reproduce
Steps to reproduce the behavior:
Run these in a python console

from pygoogletranslation import Translator 
translator = Translator()
translator.translate('「」',src="ja",dest="en")

Expected behavior
A translated object containing quotation marks is returned

Desktop (please complete the following information):

  • OS: Windows 10
  • Version 2.0.4

Additional context
Most likely the quotation marks aren't being properly escaped during JSON decoding

@jonata jonata linked a pull request Jan 29, 2021 that will close this issue
@yudhiesh
Copy link

yudhiesh commented Feb 1, 2021

I am having the same issue are there any solutions yet?

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

Successfully merging a pull request may close this issue.

2 participants