This commit is contained in:
Ftps 2023-08-28 21:58:36 +09:00
parent a1bbcd6fd5
commit 740625fd2b

View File

@ -15,7 +15,7 @@ class I18nAuto:
language = locale.getdefaultlocale()[
0
] # getlocale can't identify the system's language ((None, None))
if not os.path.exists(f"./lib/i18n/{language}.json"):
if not os.path.exists(f"./i18n/locale/{language}.json"):
language = "en_US"
self.language = language
# print("Use Language:", language)