Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui language does not change no matter what i try #1834

Open
linuarM opened this issue Dec 7, 2024 · 11 comments
Open

ui language does not change no matter what i try #1834

linuarM opened this issue Dec 7, 2024 · 11 comments

Comments

@linuarM
Copy link

linuarM commented Dec 7, 2024

its my first time using the GPT-SoVITS so im not sure what i came up to.
if i have to start from the beginning..
i downloaded the windows 10 link. then open the bat file and everything is chinese as followed in the picture too.

saveee

i thought it could be because my windows gui language being japanese. but later i turned it to english and restarted my computer it stayed the same.

i tried changing the GPT-SoVITS-beta\GPT-SoVITS-beta0706\tools\i18n\locale files by deleting them and keeping the one i need. but it did not work.

i tried editing and adding en-US to the .bat file but it didnt work too.

then tried searching for the name of the chinese json file in the whole folder and changed the name of that one i find to en-US.

also did change en-US.json file name to the name of the chinese files name but didnt work.

i tried re downloading the GPT-SoVITS but it still is the same.
what should i do?

@XXXXRT666
Copy link
Contributor

In the .bat file, it's python webui.py <language>

@XXXXRT666
Copy link
Contributor

Maybe you can use en_US or ja_JP

@linuarM
Copy link
Author

linuarM commented Dec 8, 2024

Maybe you can use en_US or ja_JP

my .bat file is

runtime\python.exe webui.py ja_JP
pause

i tried en_US and tr_TR too but somehow the result is still chinese.
maybe im writing .bat file in a wrong way?
i also thought it could be i have to write it with <> but it instant closed cmd too..
or maybe the .bat file checks something and automatically says this users pc have this language in there then uses it?
but i cant change via .bat file too.

@XXXXRT666
Copy link
Contributor

then delete the zh_CN.json

@XXXXRT666
Copy link
Contributor

If it's still Chinese, maybe there is some cache

@XXXXRT666
Copy link
Contributor

If you delete all the i18n files, it will remains Chinese

@linuarM
Copy link
Author

linuarM commented Dec 8, 2024

If you delete all the i18n files, it will remains Chinese

i didnt deleted all of them. but only the zh_CN and yes, after i deleted the zh_CN.json it still remained the same. is there a way to delete that caches?

@XXXXRT666
Copy link
Contributor

XXXXRT666 commented Dec 8, 2024

Just unzip a new package, and change the zh_CN to en_US in the BAT file

@linuarM
Copy link
Author

linuarM commented Dec 8, 2024

en_US

i unzipped a new gpt-sovits and editted .bat added en_US but it didnt work..

@XXXXRT666
Copy link
Contributor

XXXXRT666 commented Dec 8, 2024

Rename the file en_US to zh_CN then, and show the logs, or you could print(i18n) in the web.py to check the i18n language

@linuarM
Copy link
Author

linuarM commented Dec 8, 2024

Rename the file en_US to zh_CN then, and show the logs, or you could print(i18n) in the web.py to check the i18n language

it did not change when changed en_US to zh_CN. how can i show the logs? or where is the web.py file exactly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants