Cloud Translation
Translating text programmatically allows us to offer our services to users speaking different languages. Cloud Translation can help us understand their opinions and comments and even make them able to communicate with each other, thanks to its support for more than 100 language pairs. You can find a link to the full list of supported languages in the Further reading section, located at the end of this chapter.
Cloud Translation is a part of Translation AI and is offered in two editions: Basic and Advanced. I will only cover the Basic edition in the rest of this section, but you can find a link to a full comparison of both editions at the end of the chapter.
We can use the Cloud Translation API to translate texts or documents, supporting file extensions such as TXT, HML, TSV, PDF, DOCX, XLSX, or PPTX.
A basic translation request will include the text to translate, the source and target languages, and the format of the input data. I chose a very famous quote...