Skip to content

Commit 7478691

Browse files
author
Zsombor Franczia
committed
Added 413 Request Entity Too Large to known limitations (may close #73)
1 parent fa1296d commit 7478691

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ In addition `translate()` method will return boolean `FALSE` if there is no tran
145145

146146
- `503 Service Unavailable` response:
147147
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+
- `413 Request Entity Too Large` response:
149+
This error means that your input string is too long. Google only allows a maximum of 5000 characters to be translated at once. If you want to translate a longer text, you can split it to shorter parts, and translate them one-by-one.
148150

149151
## Disclaimer
150152

0 commit comments

Comments
 (0)