Batch translation size limit ?

86 views
Skip to first unread message

LaPépitOuf

unread,
Oct 7, 2011, 7:34:37 AM10/7/11
to google-tra...@googlegroups.com
Hi,

I am updating my Google Translate connector code from my app to fit your v2 API requirements, and I am wondering if there is a size limit for the q parameters in case of batch translations ?

I read from the documentation that the q param must be less than 5K characters (as I am using POST method) but what about if there is multiple q params in the same request ?
Each q param can contain a 5K characters text ? And if yes, how many q params can we provide in the same POST request ?

As i am performing some batch translation, i need to know how to implement my 'partition strategy' before submitting a translate request.

Thanks in advance ;)

Google Translate API Team

unread,
Nov 3, 2011, 6:51:40 PM11/3/11
to google-tra...@googlegroups.com
You can provide as many q params in a POST request as you like as long as the sum of all of the source text is 5K or less.

Thanks,
The Google Translate API Team
Reply all
Reply to author
Forward
0 new messages