mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Fix babel locale discovery for zh_Hans_US
This commit is contained in:
@@ -141,7 +141,7 @@ def get_babel_locale():
|
||||
|
||||
for locale in try_locales:
|
||||
if localedata.exists(locale):
|
||||
return locale
|
||||
return localedata.normalize_locale(locale)
|
||||
|
||||
return "en"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user