Web UI to Spanish (#162)

This commit is contained in:
Styl
2023-04-24 22:51:20 -04:00
committed by GitHub
parent 52661df363
commit 96b6d28718
2 changed files with 100 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ def load_language_list(language):
class I18nAuto:
def __init__(self, language=None):
if language in ["auto", None]:
if language in ["Auto", None]:
language = locale.getdefaultlocale()[
0
] # getlocale can't identify the system's language ((None, None))