林凌儿
林凌儿
Until today I still got English of application language only. I'm wonder how do you get system language .Maybe we can try fix it
I still can't get Chinese.Please help
After struggling with the code. I found on my arch install the result of `const auto systemLocale = QLocale::system().name();` should be zh_CN. So the translation file should be named as...
Okay I will try it. And I'm wondering how you get system language. In my case the locale is zh_CN.UTF-8.
Okay. I don't know the QT and Cpp at all . So I said I'm struggling with the code. Now I got the file name . Trying to figure out...
It doesn't work. Still English.I looked through the source code of translatemanager it seems that the program uses a relative path to load the translation file.So I just wanna debug...
I used qDebug trying to get it's translation dir. And I found the directory seems to be right. Now I'm trying to get what the translation file should be. I...
Now I figured out what the filename the translation file should be in Chinese. The filename should be ui.zh_CN.qm. Now I will try rename the file and recompile it. Do...
I rename the ts file and recompile the program . When I built it. I found in the language files directory contains both ui.zh_CN.qm and ui.zh_Hans.qm. I think the filename...
However I renamed recompiled . It doesn't work . I did some modifications to translation manger and and use qtranslator manually. I will start a new pull request later