From 8081994954636504020bd8c539d555e4cc796e7a Mon Sep 17 00:00:00 2001 From: twoeater <95859199+twoeater@users.noreply.github.com> Date: Sat, 14 Dec 2024 05:25:02 +0900 Subject: [PATCH] add deepl supported target languages code. --- manga_translator/translators/deepl.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/manga_translator/translators/deepl.py b/manga_translator/translators/deepl.py index d99e8c764..b9e752a6b 100644 --- a/manga_translator/translators/deepl.py +++ b/manga_translator/translators/deepl.py @@ -20,7 +20,26 @@ class DeeplTranslator(CommonTranslator): 'ROM': 'RO', 'RUS': 'RU', 'ESP': 'ES', - 'IND': 'ID' + 'IND': 'ID', + 'ARA': 'AR', + 'BGR': 'BG', + 'BUL': 'BG', + 'DAN': 'DA', + 'ELL': 'EL', + 'EST': 'ET', + 'FIN': 'FI', + 'KOR': 'KO', + 'LTH': 'LT', + 'LIT': 'LT', + 'LAV': 'LV', + 'NOB': 'NB', + 'SVK': 'SK', + 'SLO': 'SK', + 'SLV': 'SL', + 'SWE': 'SV', + 'TRK': 'TR', + 'TUR': 'TR', + 'UKR': 'UK' } def __init__(self):