deepl-python
deepl-python copied to clipboard
Official Python library for the DeepL language translation API.
👋 Hello, we're super happy with this nice SDK ! We're just missing a small feature that would help us improving our performance. We would like to have the ability...
Hi, I have a problem because I want to translate a series of Word documents from Spanish to Portuguese but in these documents there is some English text that I...
``` import deepl target_language = 'ZH' translator = deepl.Translator('my---key') content = ”Transcript ‘In Trust’ Episode 11: The Return to Osage County“ result = translator.translate_text(content , target_lang="ZH") print(result.text) ``` The result...
The code ``` import deepl translator = deepl.Translator(...) ``` Produces the following `mypy` error: `error: Module "deepl" does not explicitly export attribute "Translator" [attr-defined]`
In the typing of the translate_text it would be better to use method overloading, so that the return type is not ambiguous when passing a `text` variable that is either...
Hi! We have been using your service (Pro version) for a while now mostly for Korean-English translations and it works well, except for some particular words. We created a glossary...
When I called for documentation translation for about 15MB, it failed to upload. Docs less than 10MB is usually fine. # Translate the document translator.translate_document_from_filepath( input_path, output_path, source_lang=SOURCE_LANGUAGE, target_lang=TARGET_LANGUAGE, glossary...
The problem seems to be a mismatch in the placement of the tags number between the English and Ukrainian sentences. In the English text, after the segment "Is she into...
text= ```html Chapter I. Margaret Makes Herself at Home Chapter II. Stephen's Life Goes On ``` translate_text(text, source_lang='EN', target_lang='DE', tag_handling='html') for the above text returns this: ```html Kapitel I. Margaret...
DeepL API will sometimes drop phrases, sentences, or words in the post translation. I am assuming this issue is already known, but am adding another data point. Feel free to...