Skip to content

Commit

Permalink
Fix i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyEye-FAST committed Jul 24, 2024
1 parent ba5b72a commit 0b19f83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def get_locale() -> str:
)
if locale == "zh":
return "zh_CN"
if "zh" not in locale:
return "en"
return locale


Expand Down

0 comments on commit 0b19f83

Please sign in to comment.