Google translations V3 issues with apostrophes on translations

Hi, i'm facing a issue translating (v3) with java client from Spanish to Catalan.

In Catalan, words can be merged with apostrophe. The problem is that there're moments where translation comes with "?" in place of "'" ('). This happens when the text ends with dot and theres a "รฑ" character on source text.

Spanish to Catalan translations:

  • Ha cerrado el aรฑo. -> Ha tancat l?any. (NOT VALID)
  • Ha cerrado el aรฑo -> Ha tancat l'any (VALID)

The issue seems to be with de final dot and the "รฑ" character. Because the next translations is valid:

  • Ha cerrado el hinvierno. -> Ha tancat l'hivern. (VALID)

The issue is not with encoding, the translations in TranslateTextResponse object comes with "?" character.

EDIT: Same issue when using https://translate.google.com/:

AleksAT_0-1711553310831.png

 

0 0 101
0 REPLIES 0
Top Labels in this Space
Top Solution Authors