Add case for "zh#Hans".
This commit is contained in:
parent
594d47ee0d
commit
9a8519a344
1 changed files with 4 additions and 0 deletions
|
|
@ -27,6 +27,8 @@ def normalizeForResourceConfigurations(locale):
|
|||
return "in"
|
||||
case "zh_TW#Hant":
|
||||
return "zh-rTW"
|
||||
case "zh#Hans":
|
||||
return "zh-rCN"
|
||||
case _:
|
||||
return locale
|
||||
|
||||
|
|
@ -37,6 +39,8 @@ def normalizeForLocalConfig(locale):
|
|||
return "in"
|
||||
case "zh_TW#Hant":
|
||||
return "zh-TW"
|
||||
case "zh#Hans":
|
||||
return "zh-CN"
|
||||
case _:
|
||||
return locale
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue