From 1c1d54c2c57e215b96033d709bdd52c658472244 Mon Sep 17 00:00:00 2001 From: Phil Huang Date: Tue, 21 Nov 2023 07:33:59 +0800 Subject: [PATCH] Add support for Chinese Traditional (zh-Hant) To speed up the implementation of Azure technologies, as a significant number of local government and financial customers are only familiar with the Chinese Traditional (zh-Hant) language, suggest to support the language here. Ref: https://learn.microsoft.com/en-us/azure/ai-services/translator/language-support --- scripts/translate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/translate.py b/scripts/translate.py index 116972a6c..941bff892 100644 --- a/scripts/translate.py +++ b/scripts/translate.py @@ -7,7 +7,7 @@ # Variables translate_keys = ('description', 'name', 'category', 'subcategory', 'waf', 'text', 'severity') -translate_languages = ['es', 'ja', 'pt', 'ko'] +translate_languages = ['es', 'ja', 'pt', 'ko', 'zh-Hant'] # Get environment variables translator_endpoint = os.environ["AZURE_TRANSLATOR_ENDPOINT"]