mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2024-12-29 19:15:04 +08:00
fix i18n
This commit is contained in:
parent
a1bbcd6fd5
commit
740625fd2b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user