From ee2e05eaf06d54cda7333ede2da4e3d39c2a9e30 Mon Sep 17 00:00:00 2001 From: Tadashi Date: Sat, 7 Dec 2024 09:11:27 +0700 Subject: [PATCH] feat: add more common languages --- libs/ktem/ktem/utils/lang.py | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/libs/ktem/ktem/utils/lang.py b/libs/ktem/ktem/utils/lang.py index af6601d41..2a394076a 100644 --- a/libs/ktem/ktem/utils/lang.py +++ b/libs/ktem/ktem/utils/lang.py @@ -1 +1,33 @@ -SUPPORTED_LANGUAGE_MAP = {"en": "English", "ja": "Japanese", "vi": "Vietnamese"} +SUPPORTED_LANGUAGE_MAP = { + "en": "English", + "ja": "Japanese", + "vi": "Vietnamese", + "es": "Spanish", + "fr": "French", + "de": "German", + "zh": "Chinese", + "ru": "Russian", + "ar": "Arabic", + "pt": "Portuguese", + "hi": "Hindi", + "bn": "Bengali", + "pa": "Punjabi", + "ko": "Korean", + "it": "Italian", + "nl": "Dutch", + "tr": "Turkish", + "pl": "Polish", + "uk": "Ukrainian", + "ro": "Romanian", + "el": "Greek", + "hu": "Hungarian", + "sv": "Swedish", + "cs": "Czech", + "fi": "Finnish", + "da": "Danish", + "no": "Norwegian", + "he": "Hebrew", + "th": "Thai", + "id": "Indonesian", + "ms": "Malay", +}