Questions tagged [deepl]

DeepL is a translation engine that also offers an API for integration into any program.

DeepL is a free translation engine that also offers a paid API named DeepL Pro for integration into any program. It provides measurably better results than Google, Microsoft and others.

59 questions
0
votes
1 answer

Translate all marked text layers in Photoshop using DeepL API in JavaScript

I am trying to translate all marked layers in Photoshop 2023 through the DeepL API using JavaScript. On each text layer, I'd like to be asked which target language should be used. But I am running into syntax errors - can you help me out here? This…
thowi
  • 35
  • 7
0
votes
1 answer

DeepL API not working on KivyMD 1.1.1 android app

I'm building a KivyMD python app for Android. I try to access the DeepL API. It works perfectly on my desktop and on my android device (when compiled with buildozer) when I use 'requests'. But it works on my desktop but not on my android device when…
0
votes
2 answers

How to make a HttpPost request to a DeepL Api

I am trying to post a html file in a DeepL Api. But somehow I am getting a bad request 400 all the time. Here is my code, file and the error message that I am receiving. Please help me figure it out. Thank you in advance My file reside in the temp…
user3920526
  • 404
  • 4
  • 20
0
votes
1 answer

Deepl API, output multiple translated langages from target language

I'm looking into the DEEPL API documentation and would like to know if anyone have been able to use it to output multiple translated languages from one target language? Using this call: POST /v2/translate curl -X POST…
nikoh
  • 101
  • 10
0
votes
0 answers

String from a sql statement not working as text var in deepl lib for python

It seems i cannot hand over my text (pulled from a mssql database) in the deepls request. It alway ends up with the error: raise ValueError("text must not be empty") ValueError: text must not be empty How to fix this? reading a variable…
Deton8
  • 1
  • 2
0
votes
1 answer

Python DeepL API glossary not working for translation

I am using the DeepL API to translate text and I also want to include a glossary for translating. Creating the glossary worked fine, I can see all the correct entries but translating with the glossary brings up some weird behaviors: One entry is…
Chris
  • 1,828
  • 6
  • 40
  • 108
0
votes
0 answers

Deepl api after 3 request go not reply c#

Wtih nugget deepl.net public async Task Translate(String test) { var translator = new Translator(this.apiKey); var translatedText = await translator.TranslateTextAsync( test, …
0
votes
2 answers

DeepL API creating Glossary only creating with first entry

I am using the DeepL API and would like to create a glossary. I read followed the documentation and got a function to create a glossary like this: def create_glossary(): url = 'https://api-free.deepl.com/v2/glossaries' headers = { …
Chris
  • 1,828
  • 6
  • 40
  • 108
0
votes
0 answers

How to send text from Python to DeepL desktop app

I know DeepL has a library to send text to their servers for translation, but I want to use their desktop app which has no internet dependency. The Desktop app has this feature where if you press Ctrl+C+C, it will put that highlighted text into the…
user1289479
  • 291
  • 4
  • 16
0
votes
1 answer

Parse and access deepl.com API response with VBA

I have a VBA function which retrieves data from the deepl.com API (translation). Private Function Translate_Text(INPUT_TEXT As String) As String Dim apiKey As String Dim textToTranslate As String Dim fromLanguage As String Dim toLanguage As…
Geole
  • 356
  • 1
  • 5
  • 17
0
votes
1 answer

Randomly split a single line sentence into multiple lines in a srt file

I had an srt file, and to be able to translate it using DeepL, I gathered the fragmented sentences in one line. Now I want to do the opposite of this process. In other words, I want to randomly divide the sentence in a single line into multiple…
Ömer Work
  • 23
  • 4
0
votes
2 answers

Why Deepl can't exclude jpg images while translating html text?

I use Deepl for translating HTML text. If I have a .gif file in my HTML it is okay but if I use .jpg I get the following error. I know Deepl uses gson in his lib but don't know how to solve it, I am wondering if any Deepl guys know about this…
lsa
  • 63
  • 6
0
votes
1 answer

Curl - always the last Argument is missing, why?

When i use the following Curl command in Terminal on Mac: curl "https://api-free.deepl.com/v2/glossaries" \ --header "Authorization: DeepL-Auth-Key 0c9649a5-e8f6-632a-9c42-a9eee160c330:fx" \ --data-urlencode "name=My Glossary" \ -d…
0
votes
1 answer

Translate wordpress posts ( except lines )

I use Deepl API plugin to translate posts. The posts all have code lines < code >
. When I translate the post , it also translates what is in the < code > line inside. I do not want that ! I googled , but did…
0
votes
2 answers

Typo3 DeepL 'No system languages found.'

I've been working on making my Typo3 11.5 powered site multi-language. To translate the bulk of my content elements I want to use DeepL via https://github.com/web-vision/wv_deepltranslate. While the manually translated pages are shown correctly in…