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
1
vote
1 answer

Deepl Api request blocked by CORS policy

I have integrated Deepl API in our Web CRM since a few months. It was working fine until a few days ago. I don't know when exactly, but maybe since the new year. Now, all requests are blocked by CORS policy : Access to XMLHttpRequest at…
1
vote
1 answer

Translating in R in 2022, translateR or deeplr?

Looking to translate columns in a data frame from english to french, and it looks like translateR has been archived, and deeplr does not have the translate_df function anymore? Can anyone confirm a package that is currently operational that can do…
1
vote
2 answers

Language detection using deepl's python library

Is there a way to use the deepl Python client library (or raw API) to detect the source language (without translating it)? The marketing blurb on the API website says, detection is available but I can't find it anywhere in the library or API.
Bastian Venthur
  • 12,515
  • 5
  • 44
  • 78
1
vote
1 answer

How to avoid translating df [TEXT] in the html text by Deepl?

I have a lot of data frame such as [COMPANY]in my html text file which I want exclude while Deepl translating my text. I use Deepl Java lib with api and not allowed to change the data frame format. Any Idea how to exclude df[TEXT] from…
lsa
  • 63
  • 6
1
vote
1 answer

Web scraping DEEPL.com using VBA Excel and Selenium

i'm trying to code a function to translate sentences in Excel using DEEPL.com My approach is using Selenium to scrape the web using Chrome (as IExplore is not supported by the web). Public Function deepL(txt As String, inputLang As String,…
1
vote
1 answer

Autodetect and translate two or more languages ins a sentence using python

I have the following example sentence text_to_translate1=" I want to go for swimming however the 天气 (weather) is not good" As you can see there exist two languages in the sentence (i.e, English and Chinese). I want a translator. The result that I…
xavi
  • 80
  • 1
  • 12
1
vote
2 answers

Calling an API in Google Sheets only when changed have been applied to a cell

I'm Thomas and pretty new to appscript. I managed to use it in order to translate cells in a google sheet using DeepL API. I did it thanks to this post : https://webapps.stackexchange.com/questions/149026/integrate-deepl-with-google-sheets But I…
1
vote
3 answers

Translate dataframe with DeepL

I would like to translate (using DeepL) the text inside the df ["text"] column, where in each line there is a sentence. The text is not written in a single language, so I'd like to automatically detect the language of the text and put the…
1
vote
2 answers

How to use deep-pro translate Service properly?

I am playing around alot with the deepl-translation API and I have created a class here called "DeeplRequests: which contains: private static readonly RestClient Client = new RestClient("https://www2.deepl.com/jsonrpc"); private static…
Shpendicus
  • 83
  • 6
1
vote
1 answer

Google Sheets custom function to translate with DeepL API not working as expected

I found @soMario correction of @Folleloide custom function to translate cell values in Google Sheets using DeepL API: function deeplapi() { var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheet = ss.getActiveSheet(); var text =…
1
vote
2 answers

How to resolve TranslationError: DeepL call resulted in a unknown result? Python Pydeepl

I wanted to use pydeepl in order to translate some sentences on python. I have installed pydeepl and reproduced the same code as the main page of this library: import pydeepl sentence = 'I like turtles.' from_language = 'EN' to_language =…
yassine
  • 55
  • 8
1
vote
1 answer

How manage a API (DeepL) which send data in UTF-8 format?

I use the DeepL API : https://www.deepl.com/docs-api/translating-text/ I interact with it by using python and request library. import requests import ast r = requests.post(url='https://api.deepl.com/v2/translate', data = { …
Arnaud Hureaux
  • 121
  • 1
  • 10
1
vote
1 answer

How to find out the quality of machine translation systems?

I know that there are various metrics for measuring the quality of machine translation systems, for example: Bleu METEOR Lepor Are there somewhere in the public domain metric results for popular translation systems? For example, such as: Google…
0
votes
0 answers

Auto translate on Strapi

I'm using Strapi for a project on which I need to implement an auto-translate functionnality on some Collection. To do so I install the strapi-plugin-translate and I follow the process as indicated using the provider strapi-provider-translate-deepl.…
Kvasir
  • 1,197
  • 4
  • 17
  • 31
0
votes
0 answers

DeepL APScript in Google Sheet not working

I'm trying to use a deepL API function in Google Spreadsheet to translate some JP texts to EN. For the script, I copied and pasted from this raw Github repository with custom value replaced (API key). However, when I saved the script and tried the…
YusMat
  • 1