0
votes

I want to translate large text using GoogleCloud Translation API. I am able to translate short sentences, but I can't translate large text because there is a limit. The Cloud Translation API is optimized for translation of short requests. The recommended maximum length for each request is 2K code points. Documentation link: https://cloud.google.com/translate/quotas

I am thinking to break the large content into small parts and call the API in a loop. But, I don't know the limit for different languages(for example English and Chinese character limit will be different).

What is 2k code points in the documentation? and how can I calculate the limit for different languages?

1

1 Answers

0
votes

You can request for 5k characters per Google translation request. Our product applied 5k characters per request in Google Console platform. You can do that too.