Bug P2
Status Update
Comments
ar...@google.com <ar...@google.com>
ar...@google.com <ar...@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.
[Deleted User] <[Deleted User]> #3
@vrames
according to Google API FAQ
The maximum size of each text to be translated is 5000 characters, not including any HTML tags.
according to Google API FAQ
The maximum size of each text to be translated is 5000 characters, not including any HTML tags.
ar...@google.com <ar...@google.com> #5
I also have a same problem some html tags who are divided in few tags , and it's problematic .. there is some news about it ??
Description
1. Source phrase:
"Hello (<span class="notranslate">%{my_var}</span>), welcome!"
2. Call Translate API:
3. Returned response:
{ "data": { "translations": [ { "translatedText": "こんにちは( \u003cspan class=\"notranslate\"\u003e%{my_var}\u003c/span\u003e大歓迎!" } ] } }
4. Output:
こんにちは( <span class=\"notranslate\">%{my_var}</span>大歓迎!
Expected output:
こんにちは(<span class=\"notranslate\">%{my_var}</span>)、大歓迎!
I would expect the output to be similar to the public translated output via
E1. No extra spacing be added (see output right after opening parenthesis).
E2. Parenthesis pairs would be complete (see output right after the closing <span>).
E3. Comma would not be lost (see output right after the closing <span>).