diff --git a/src/utils/base/language.py b/src/utils/base/language.py index 455299b9..8a4852d8 100644 --- a/src/utils/base/language.py +++ b/src/utils/base/language.py @@ -217,6 +217,7 @@ def get_system_lang_code() -> str: if l[0] is None: return "zh-CN" else: + return l[0].replace("_", "-")