translate whole json file with google translate api

611 views
Skip to first unread message

Alireza Zebardast

unread,
Dec 9, 2019, 9:35:43 AM12/9/19
to Google Cloud Translation API
Hi engineers

i have a problem with translate whole json at once so i tried to trace it completely and translate it one by one but this process is to much for big json files mostly in having a few time. Is there anybody who worked with json and translate it to multi languages?!

Aziz Natour

unread,
Dec 9, 2019, 10:19:11 AM12/9/19
to Google Cloud Translation API
You should be able to do that through "Batch requests" -- only supported in the new v3 API (https://cloud.google.com/translate/docs/advanced/batch-translation)
Message has been deleted

Bhavishya Mittal

unread,
Dec 10, 2019, 5:01:23 PM12/10/19
to Google Cloud Translation API
What is your exact use case? With "BatchTranslation" feature you can provide the whole json file for translation, but we don't provide any guarantee that the output will be a valid json. BatchTranslation is used for translation large amount of sentences in a file or html files.
Reply all
Reply to author
Forward
0 new messages