Saravananslb / py-googletranslation

pygoogletranslation: Free and Unlimited Google translate API for Python. Translates totally free of charge.
https://saravananslb.github.io/py-googletranslation/
MIT License
156 stars 40 forks source link

translated result is truncated for long input text #16

Closed cnglen closed 3 years ago

cnglen commented 3 years ago

translate.py: `

            # wrong versoin
            translated = data[0][2][1][0][0][5][0][0]

           # correct versoin
            translated = "".join([e[0] for e in data[0][2][1][0][0][5]])

`

Only test in translated.google.cn

Saravananslb commented 3 years ago

We fix this issue pls try again