Skip to content

Commit

Permalink
Add case for "zh#Hans".
Browse files Browse the repository at this point in the history
  • Loading branch information
bmarty committed May 13, 2024
1 parent 594d47e commit 9a8519a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/localazy/importSupportedLocalesFromLocalazy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit 9a8519a

Please sign in to comment.