-
Notifications
You must be signed in to change notification settings - Fork 728
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
IndexError for some texts #267
Comments
I don't understand why, but code don't like dot without space. |
Similar issue #278. Both issues result from the inappropriate way to received the data from |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm having the same issue with 4.0.0rc1 using entry.msgstr = translator.translate(entry.msgid, dest="es").text |
I am also having the same error. Could anyone suggest solution? |
Using googletrans-4.0.0rc1, I try to translate "40.41.43.44" and any string which has "//", but the error appears: IndexError: list index out of range
The problem is with this line in client.py:
translated_parts = list(map(lambda part: TranslatedPart(part[0], part[1] if len(part) >= 2 else []), parsed[1][0][0][5]))
The text was updated successfully, but these errors were encountered: