Translation of MS Office documents (.doc, .xls, .ppt, .pdf)

Hello All, Can someone point me to the right direction, I want to automate translation of documents via RPA. how can I get the bot to take all text strings example in a powerpoint and pass them though Google Text translate via api for translation and save the changes without changing the format of the document.
Thanks

Have you looked here?

You could probably use ‘invoke code’ activity, and replace the two queries with variables in your workflow, an input and output.