Assigned
Status Update
Comments
pu...@google.com <pu...@google.com>
pu...@google.com <pu...@google.com> #2
I have one question related to Google translate API. but it is not related to this issue.
When i am trying to access Google Translate API using javascript when the query string size is around 13000 characters i am getting server response error code 400. Can you please let me know what is the request size limit if any exist.
When i am trying to access Google Translate API using javascript when the query string size is around 13000 characters i am getting server response error code 400. Can you please let me know what is the request size limit if any exist.
Description
Please provide as much information as possible. At least, this should include a description of your issue and steps to reproduce the problem. If possible please provide a summary of what steps or workarounds you have already tried, and any docs or articles you found (un)helpful.
Problem you have encountered:
Consider the below 2 requests/responses:
#1:
REQUEST: <html> <head></head> <body> El apt 1C no me dio aceso </body></html>
RESPONSE: translatedText=<html><head></head><body>Apt 1C did not give me access</body></html>, sourceLanguage=es
#2:
REQUEST: <html> <head></head> <body> <span class="notranslate">{{uid=654032c04b287f641e1de5bd}}</span> El apt 1C no me dio aceso </body></html>
RESPONSE: translatedText=<html>
<head></head>
<body>
<span class="notranslate">{{uid=654032c04b287f641e1de5bd}}</span> El apt 1C no me dio aceso
</body>
</html>, sourceLanguage=en
What you expected to happen:
Scenario #1 above correctly identifies the source language as 'es' while scenario #2 incorrectly identifies the source language as 'en'
Steps to reproduce:
Call the translate API with the above 2 requests
Other information (workarounds you have tried, documentation consulted, etc):