About Cockpit's Multilingual #20688
Unanswered
zhaojing1987
asked this question in
Q&A
Replies: 1 comment
|
You can change the language in the "Session" menu at the top right. That setting will be stored as a cookie in your browser, that's about as "similar to a configuration file" as you can get with a browser application.
I suppose you mean on your custom cockpit page? That's certainly not what we do for the "official" cockpit pages, msgids are English there. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I want to know if there is a way to set the default language in cockpit, which is similar to a configuration file, such as zh_CN. I don't seem to find a way. Cockpit seems to automatically select the default language based on the browser.


My problem now is that my msgid is similar to a variable. I translated it into en_US and zh_CN, but when I set the browser language to a language other than these two, it shows msgid, which is not what I need. I know there is a problem with this method, but it seems difficult to modify it now. Is there any solution?
All reactions