Skip to content

Commit

Permalink
Merge pull request #787 from twoeater/add-deepl-langcode
Browse files Browse the repository at this point in the history
add deepl supported target languages code.
  • Loading branch information
zyddnys authored Dec 14, 2024
2 parents d04e2ed + 8081994 commit 3b4e4ad
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion manga_translator/translators/deepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3b4e4ad

Please sign in to comment.