Features: ;
Fixes: 1) Correct DEEPL_API_URL to use the v2/translate endpoint; Extra: ;
This commit is contained in:
parent
88133b2f93
commit
cb66f217ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue