Translating an entire docx or pdf document

419 views
Skip to first unread message

Aju Mathew

unread,
Dec 7, 2020, 11:26:44 AM12/7/20
to Google Cloud Translation API
I am looking for a solution to translate a docx/pdf file from spanish to english. The document has tables and paragraphs etc. i want to keep the structure of the document intact and translate the texts in it. this is possible from the google translate console by selecting a document and uploading it. i cannot figure out how to do this programmatically using python. Any help appreciated. I am able to extract the text from these docs and translate but the problem is to creating a new doc with same structure and putting the translated text in it  

Erik Chan

unread,
Dec 8, 2020, 2:29:11 AM12/8/20
to Google Cloud Translation API
Try www.translatefx.com/upload
Keeping the layout and formatting of office documents is not straightforward and our company spend a bunch of time making it work well. let me know if it works for you
Message has been deleted

Erik Chan

unread,
Dec 8, 2020, 1:03:27 PM12/8/20
to Google Cloud Translation API
Music, if Translate API ever needs help with this feel free to ping me :)

On Tuesday, 8 December 2020 at 09:32:32 UTC-8 Music Li wrote:
Hi,

Translating Word doc or pdf format is not currently supported in Translate API. But it is in our roadmap to support both formats through Translation API.

Best,
Music

Reply all
Reply to author
Forward
0 new messages