Text overlapping issues

1,106 views
Skip to first unread message

Inspiredge IT Solutions

unread,
Mar 9, 2022, 9:38:40 AM3/9/22
to Google Cloud Translation API
Hi,

We have been using the language translation API and the output text is overlapping with other words and not readable. Is there any fix?

Below mentioned are the sample text that's overlapping after conversion:

费用组成: ’-

收费项目                   接入方式       互联网接入服务费           备注
合同的收费标准       微波接入              27000元7年           垄断园区


Please share if there is any fix for avoiding overlapping of texts.

Thank you in advance.

Olu

unread,
Mar 9, 2022, 5:19:23 PM3/9/22
to Google Cloud Translation API
Hello, 

I tried to reproduce this issue by using the projects.translateText Method[0] of the Cloud Translation API on your Sample text[1] and the translation worked fine. The Output[2] I got did not have the output text overlapping or am I making any mistakes to assume so?

So, if this behavior seem specific to your use-case and your implementation, you can give more information about how you are using the Cloud Translation API, it will help understand better how we can help. For example, you can tell us the version of the Translation API being used. Also, the method you are calling to make the translation. Tell us how you are collecting the result, is it via a Web UI? Can we assume the formatting may be affected by this? 

费用组成: ’-

收费项目                   接入方式       互联网接入服务费           备注
合同的收费标准       微波接入              27000元7年           垄断园区

[2]
{
  "translations": [
    {
      "translatedText": "Fee composition: charging item access method Internet access service fee remarks contract charging standard microwave access 27,000 yuan 7-year monopoly park",
      "detectedLanguageCode": "zh-CN"
    }
  ]
}
Reply all
Reply to author
Forward
Message has been deleted
0 new messages