refactor: improve locale parsing and normalization in localization ge… (#3330)

* refactor: improve locale parsing and normalization in localization generation script

* Remove chinese tranditional because it's breaking flutter

* delete retry in case of parallel save [skip ci]

* Improve translation
This commit is contained in:
Omar Hatem
2026-06-17 23:09:35 +02:00
committed by GitHub
parent 241503774f
commit 29684affc2
35 changed files with 1819 additions and 1695 deletions
@@ -2,5 +2,5 @@ const defaultLang = "en";
const langs = [
"ar", "bg", "cs", "de", "en", "es", "fa", "fr", "gn", "ha", "hi", "hr", "hy", "id", "it",
"ja", "ko", "my", "nl", "pl", "pt", "ru", "th", "tl", "tr", "uk", "ur", "yo",
"vi", "zh-cn", "zh-tw" // zh-cn for Chinese (Simplified), zh-tw for Chinese (Traditional)
"vi", "zh-cn" // zh-cn for Chinese (Simplified)
];