You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're using DeepL in our codebase to translate content from British English into several target languages: French, Italian, Spanish, Portuguese, and Polish — all of which work as expected. However, we're encountering an issue with Greek: the API returns the original (untranslated) text.
A few notes:
The source text occasionally includes HTML tags, but this hasn't caused any issues with the other target languages.
Translating the same text using the DeepL web translator (manually) works correctly for Greek.
This issue appears specific to the API when targeting Greek.
Is this a known issue, or is there something we might be doing wrong?
Version: currently on 1.19.1 but upgrading doesn't make a difference
Example text:
This product is for car investors looking to get brand-new cars at the <strong>best value for money</strong> who do not mind which brand of car they own. We only supply cars from approved dealers selected from those currently available in stock, and we cannot specify which brand of car you will receive.
The text was updated successfully, but these errors were encountered:
Sorry, I cant reproduce this. Are you using next-gen or classic models (though this works for me for both).
The following code:
import deepl
auth_key = 'MY_AUTH_KEY'
client = deepl.DeepLClient(auth_key, send_platform_info=False)
text = 'This product is for car investors looking to get brand-new cars at the <strong>best value for money</strong> who do not mind which brand of car they own. We only supply cars from approved dealers selected from those currently available in stock, and we cannot specify which brand of car you will receive.'
result = client.translate_text(text, target_lang='EL')
print(result.text)
gives
Το προϊόν αυτό απευθύνεται σε επενδυτές αυτοκινήτων που επιθυμούν να αποκτήσουν ολοκαίνουργια αυτοκίνητα με την <strong>καλύτερη δυνατή σχέση ποιότητας-τιμής</strong> και δεν τους ενδιαφέρει η μάρκα του αυτοκινήτου που κατέχουν. Προμηθεύουμε μόνο αυτοκίνητα από εγκεκριμένους αντιπροσώπους που επιλέγονται από αυτά που είναι επί του παρόντος διαθέσιμα σε απόθεμα και δεν μπορούμε να καθορίσουμε ποια μάρκα αυτοκινήτου θα λάβετε.
Are you setting the correct source and target languages? Are you using source language detection (like in my example)? If the source language matches the target language, the API just returns the input text as there is nothing to do.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
We're using DeepL in our codebase to translate content from British English into several target languages: French, Italian, Spanish, Portuguese, and Polish — all of which work as expected. However, we're encountering an issue with Greek: the API returns the original (untranslated) text.
A few notes:
Is this a known issue, or is there something we might be doing wrong?
Version: currently on 1.19.1 but upgrading doesn't make a difference
Example text:
The text was updated successfully, but these errors were encountered: