Features: ;

Fixes: 1) Correct DEEPL_API_URL to use the v2/translate endpoint;

Extra: ;
This commit is contained in:
Egor Pavlovich Gorbunov 2025-05-21 15:34:54 +03:00
parent 88133b2f93
commit cb66f217ac

View file

@ -5,7 +5,7 @@ import requests
from django.core.management.base import BaseCommand, CommandError
from django.db import transaction
DEEPL_API_URL = "https://api.deepl.com"
DEEPL_API_URL = "https://api.deepl.com/v2/translate"
DEEPL_TARGET_LANGUAGES_MAPPING = {
"en-gb": "EN-GB",