Skip to content

Commit fa1296d

Browse files
author
Zsombor Franczia
committed
Added 503 Service Unavailable as a "known limitation"
1 parent 86825fe commit fa1296d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,12 @@ Both static and non-static `translate()` methods will throw following Exceptions
141141

142142
In addition `translate()` method will return boolean `FALSE` if there is no translation available.
143143

144+
### Known limitations
145+
146+
- `503 Service Unavailable` response:
147+
If you are getting this error, it is most likely that Google has banned your external IP address and/or [requires you to solve a CAPTCHA](https://github.com/Stichoza/google-translate-php/issues/18). This is not a bug in this package. Google has become stricter, and it seems like they keep lowering the number of allowed requests per IP per a certain amount of time. Try sending less requests to stay under the radar, or change your IP frequently ([for example using proxies](#advanced-configuration)). Please note that once an IP is banned, even if it's only temporary, the ban can last from a few minutes to more than 12-24 hours, as each case is different.
148+
144149
## Disclaimer
145150

146151
This package is developed for educational purposes only. Do not depend on this package as it may break anytime as it is based on crawling the Google Translate website. Consider buying [Official Google Translate API](https://cloud.google.com/translate/) for other types of usage.
147152

148-
Also, Google might ban your server IP or [require to solve CAPTCHA](https://github.com/Stichoza/google-translate-php/issues/18) if you send unusual traffic (large amount of data/requests).
149-

0 commit comments

Comments
 (0)