mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-01-17 20:00:09 +08:00
fix i18n
This commit is contained in:
parent
a1bbcd6fd5
commit
740625fd2b
@ -15,7 +15,7 @@ class I18nAuto:
|
|||||||
language = locale.getdefaultlocale()[
|
language = locale.getdefaultlocale()[
|
||||||
0
|
0
|
||||||
] # getlocale can't identify the system's language ((None, None))
|
] # 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"
|
language = "en_US"
|
||||||
self.language = language
|
self.language = language
|
||||||
# print("Use Language:", language)
|
# print("Use Language:", language)
|
||||||
|
Loading…
Reference in New Issue
Block a user