Assigned
Status Update
Comments
mo...@google.com <mo...@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.
of...@google.com <of...@google.com> #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.
st...@google.com <st...@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 ??
mo...@google.com <mo...@google.com> #6
I met with the problem just now, it seems the bug nof fixed yet.
st...@google.com <st...@google.com> #7
Update: I found the bug triggered not only by anchor tag, but also others. It seems that the problem is the context, and when I replace the tag with special symbol, 【】 for example, it worked.
In some context:
<a id="text">bla bla...</a> -> <a id="text">alb</a>alb<a id="text">...</a>
after change anchor tag to 【】,it worked:
【bla bla ...】 -> 【alb alb ...】
In some context:
<a id="text">bla bla...</a> -> <a id="text">alb</a>alb<a id="text">...</a>
after change anchor tag to 【】,it worked:
【bla bla ...】 -> 【alb alb ...】
[Deleted User] <[Deleted User]> #8
This same issue exists for <span> tags. If I send the translate API a document consisting of text in span tags, each with a unique id, the result comes back with many of the span tags mixed up, nested and duplicated. A partial example from a test document, translated from German to English:
Input: <span id='1'>Per </span><span id='2'>Web-ERV</span><span id='3'>Handelsgericht Wien</span><span id='4'>Marxergasse 1a</span><span id='5'>1030 Wien</span><span id='6'>Firmenbuchsache</span>
Output: <span id='1'>Via</span> <span id='2'>web ERV</span> <span id='3'>Vienna Commercial Court</span> <span id='4'>Marxergasse 1a</span> <span id='5'>1030 <span id='6'>Wien</span></span> <span id='6'>Commercial thing</span>
Notice above in the output from the API, there is now an extra <span id="6"> now nested in <span id="5">, around partial content of <span id="5">.. This is completely unacceptable for a paid service, html translation is completely unusable with this bug.
Input: <span id='1'>Per </span><span id='2'>Web-ERV</span><span id='3'>Handelsgericht Wien</span><span id='4'>Marxergasse 1a</span><span id='5'>1030 Wien</span><span id='6'>Firmenbuchsache</span>
Output: <span id='1'>Via</span> <span id='2'>web ERV</span> <span id='3'>Vienna Commercial Court</span> <span id='4'>Marxergasse 1a</span> <span id='5'>1030 <span id='6'>Wien</span></span> <span id='6'>Commercial thing</span>
Notice above in the output from the API, there is now an extra <span id="6"> now nested in <span id="5">, around partial content of <span id="5">.. This is completely unacceptable for a paid service, html translation is completely unusable with this bug.
de...@simpleclub.com <de...@simpleclub.com> #9
Hi there,
any update on this one?
any update on this one?
st...@google.com <st...@google.com> #10
Hi,
This issue is also affecting a user in case number 17353456.
Is there any update?
This issue is also affecting a user in case number 17353456.
Is there any update?
de...@simpleclub.com <de...@simpleclub.com> #11
Hi, any updates on this?
de...@simpleclub.com <de...@simpleclub.com> #12
I guess it's not an easy one.
I kind of "solved" this by replacing my placeholders with some utf8 encoded string.
I was having trouble with strings like: "{s} Lorem Ipsum is simply dummy text of the printing and typesetting industry." but if I encode it like "{123_115_125} Lorem Ipsum is simply dummy text of the printing and typesetting industry." it seems to work fine.
Of course it's kind of cheating but it worked so far.
I kind of "solved" this by replacing my placeholders with some utf8 encoded string.
I was having trouble with strings like: "{s} Lorem Ipsum is simply dummy text of the printing and typesetting industry." but if I encode it like "{123_115_125} Lorem Ipsum is simply dummy text of the printing and typesetting industry." it seems to work fine.
Of course it's kind of cheating but it worked so far.
ti...@google.com <ti...@google.com> #13
We're seeing these issues as well with html tags being swapped around breaking links. Example output:
<p class="tile-land-image">
<a href="../tutorials/1_overview.htm">
<img class="tile-image" src="../Resources/images/thumbnails/landing_environs.png"></a> </img>
</p>
<p class="tile-land-image">
<a href="../tutorials/1_overview.htm">
<img class="tile-image" src="../Resources/images/thumbnails/landing_environs.png"></a> </img>
</p>
el...@gmail.com <el...@gmail.com> #14
Hi, I am trying to fix it, could you provide some examples, including input/output sentences?
st...@google.com <st...@google.com>
[Deleted User] <[Deleted User]> #16
Below is an example where the anchor tag goes missing after translating:
Part of html Sent for translation:
<a class="d-flex align-items-center text-decoration-none" href="/customers">
<div class="ml-4">
<h6 class="font-weight-bold text-uppercase text-primary mb-0">Customer</h6>
</div>
</a>
Part of html received after translation:
<div class="ml-4">
<h6 class="font-weight-bold text-uppercase text-primary mb-0"> Client </h6>
</div>
This can be reproduced following the code from the Python guide[1]. The library version used is google-cloud-translate==2.0.0
[1]https://cloud.google.com/translate/docs/advanced/translating-text-v3#translating_input_strings
Part of html Sent for translation:
<a class="d-flex align-items-center text-decoration-none" href="/customers">
<div class="ml-4">
<h6 class="font-weight-bold text-uppercase text-primary mb-0">Customer</h6>
</div>
</a>
Part of html received after translation:
<div class="ml-4">
<h6 class="font-weight-bold text-uppercase text-primary mb-0"> Client </h6>
</div>
This can be reproduced following the code from the Python guide[1]. The library version used is google-cloud-translate==2.0.0
[1]
[Deleted User] <[Deleted User]> #17
The product engineering team is aware of this issue and are investigating solutions. There is no ETA at this time for a fix, but all further updates should occur here.
ja...@storyhealth.ai <ja...@storyhealth.ai> #18
This issue hasn't been fixed after more than 6 years now?
vi...@google.com <vi...@google.com>
pa...@mycraftnote.de <pa...@mycraftnote.de> #19
Comment has been deleted.
Description
Stackdriver Trace presently does not work on GCF – at least for Node.js. This means that it hard to get an end-to-end view of RPC latency in a complex application that may have services deployed on GCF.