Make translate API, POST call as described in
https://cloud.google.com/translate/v2/using_rest#supported-query-params.
Use parameters:
source=en
target=de
q=AVERY DENNISON, MONARCH, 9825, PRINTER, MEDIUM
VOLUME 10.16cm, 203 DPI, 6 IPS, RS232 USB &PARALLEL
BASE MODEL, PLASTIC COVER
Expected output is something like
"Avery Dennison MONARCH, 9825, DRUCKER, MEDIUM VOLUME 10.16cm, 203 DPI, 6 IPS,
RS232 USB & PARALLEL Basismodell, PLASTIC COVER"
We have instead
{
"translatedText": "Avery Dennison MONARCH, 9825, DRUCKER, MEDIUM VOLUME 10,16, 203 DPI, 6 IPS, RS232 USB & PARALLEL Basismodell, PLASTIC COVER"
}
where "10,16" is the result of translation of "10.16cm". This corrupts the text.
We use /language/translate/v2. Calling application is Web server (Java/Tomcat)
Additional information:
* GET requests result in correct responses
* POST requests with other figures result in correct responses ("10.15cm",
"10.17cm")
Thank you
Original issue reported on code.google.com by catalogo...@gmail.com on 23 Jun 2015 at 5:51
Original issue reported on code.google.com by
catalogo...@gmail.com
on 23 Jun 2015 at 5:51