From f83b67e59ca0d059aebd568ee1f3c9f3abc92b3e Mon Sep 17 00:00:00 2001 From: EAR Date: Tue, 16 Jul 2024 09:27:35 -0500 Subject: [PATCH] add chinese target languages --- srtranslator/translators/deepl_scrap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srtranslator/translators/deepl_scrap.py b/srtranslator/translators/deepl_scrap.py index 461bc49..47b42e5 100644 --- a/srtranslator/translators/deepl_scrap.py +++ b/srtranslator/translators/deepl_scrap.py @@ -22,6 +22,9 @@ class DeeplTranslator(Translator): languages = { "auto": "Any language (detect)", "bg": "Bulgarian", + "zh": "Chinese", # Only usable for source language + "zh-Hans": "Chinese (Simplified)", # Only usable for destination language + "zh-Hant": "Chinese (Traditional)", # Only usable for destination language "zh": "Chinese", "cs": "Czech", "da": "Danish",