Translate doesn't know what to do with a '?' at the end of a question

42 views
Skip to first unread message

Frank Kicenko

unread,
May 18, 2022, 2:38:41 PM5/18/22
to Google Cloud Translation API
I am sending 5 questions comma separated to Translate... I receive 4 responses which are also comma separated and the question that terminated with a '?' Translate just blends the first 2 responses together before adding the comma. Example: 2 questions... 1. How was your day today? 2. Enter your Id

The response from Translate is correct in the translations but there is no separation be the responses as it should be: response 1, response2

thanks... 

Raul Saucedo Ramirez

unread,
May 19, 2022, 5:17:27 PM5/19/22
to Google Cloud Translation API

It could be because it is returning an escaped text. You could see this question[1].


[1]https://stackoverflow.com/questions/60623314/translation-by-google-cloud-translate-api-returns-html-escaped-text

Reply all
Reply to author
Forward
0 new messages