DeepLcom / deepl-python

Official Python library for the DeepL language translation API.
MIT License
1.1k stars 78 forks source link

Get detected source language from translate_document_from_filepath #52

Open ay2456 opened 1 year ago

ay2456 commented 1 year ago

I need to get the detected source language after sending a whole PDF for translation using translate_document_from_filepath. However, I quickly went through the documentation and source code and didn't find any way to do this. Is it possible?

daniel-jones-deepl commented 1 year ago

Hi @ay2456, thanks for creating this issue. You are right, this is not currently possible. We'll look at adding it to our API soon.