-
Notifications
You must be signed in to change notification settings - Fork 731
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
Specific translation does not work #419
Comments
Same for me: translator.translate("Printer", dest="de") raises an TypeError("'NoneType' object is not iterable") Strange enough, this works: translator.translate("PrinterFoobar", dest="de") |
Can try this for now #398 (comment). I don't think the maintainer is that actively supporting this project now. |
its because some words in Spanish has two translations one feminine and one masculine so google returns both translation so it becomes array, i added condition in the parsing login where if there is array then return its first element, it works for me. |
I have officially released version 4.0.0 of py-googletrans. I will now close issues related to earlier versions. If you are still experiencing the same issue in the latest release, please open a new issue. I apologize for the delay in addressing these issues and hope the latest release resolves them. Thank you for your understanding. |
Googletrans version:
I'm submitting a ...
Current behavior:
When I try to translate the text "Set Commission In Percentage For This Seller" from English to Spanish, it gives me the error: AttributeError: 'NoneType' object has no attribute 'group'
Related code:
Other information:
The text was updated successfully, but these errors were encountered: