Closed sorin-davidoi closed 3 years ago
The default is False (https://github.com/ssut/py-googletrans/blob/d15c94f176463b2ce6199a42a1c517690366977f/googletrans/constants.py#L186). Shows "Translation failed. Please check for network issues" when the API returns 429 Too Many Requests. While the message is a bit misleading (there are no network errors), it's an improvement over the current situation (the input test is shown as the output and no errors are reported to the user).
False
429 Too Many Requests
Closes https://github.com/dialect-app/dialect/issues/151.
Thanks!
While the message is a bit misleading
Yeah true, that can be improved latter. We should split network errors from server ones.
The default is
False
(https://github.com/ssut/py-googletrans/blob/d15c94f176463b2ce6199a42a1c517690366977f/googletrans/constants.py#L186). Shows "Translation failed. Please check for network issues" when the API returns429 Too Many Requests
. While the message is a bit misleading (there are no network errors), it's an improvement over the current situation (the input test is shown as the output and no errors are reported to the user).Closes https://github.com/dialect-app/dialect/issues/151.