Closed
Description
The document translation example in the README is currently wrong, the order of arguments is different and a filename needs to be supplied
Wrong:
DeepL.document.translate_document('/path/to/spanish_document.pdf', 'ES', 'EN', '/path/to/translated_document.pdf')
Correct:
DeepL.document.translate_document('/path/to/spanish_document.pdf', '/path/to/translated_document.pdf', 'ES', 'EN', 'spanish_document.pdf')
I am keeping this issue to track this for now, I already have a fix that fixes the README and makes the filename argument optional.
Metadata
Metadata
Assignees
Labels
No labels