[bug]: Changing the system language does not work
No existing issues.
- [x] There is no existing issue for my problem.
Describe the bug
Due to a still unresolved problem (sic!) https://github.com/issues/created?issue=ioBroker%7CioBroker.javascript%7C1497 when working with javascript scripts I have to change the system language from Polish to English (only then can I see the javascript script texts).
Unfortunately, since version 7.6.x of the iobroker.admin module .. changing the language stopped working. That is - you can go to the settings, change the language from the list, but after refreshing the page .. it is still the same. I returned to iobroker.admin 7.4.21 for testing purposes and I could change the application language without any problems. Effectively. Clearing the browser cache, restarting the computer, changing the system (Windows<>Linux), restarting the server - all do not help.
To Reproduce
- Goto "System settings" icon and click
- Select "System language" and change to any other
- Press button "Save & Close"
- Reload webpage
- Login into "admin panel"
- ... and still old language..
Expected behavior
Screenshots & Logfiles
Nothing
Adapter version
7.6.x
js-controller version
7.0.6
Node version
v20.19.2
Operating system
Windows/Linux
Additional context
No response
Reload webpage
You should wait till the page reloads itself.
Of course. After changing the language I waited until the "reload" button appeared. After pressing it the page refreshes.. but without changing the language. In the settings the old selection returns. As I wrote - I have returned to version 7.4.21 for testing purposes, where this change is made without a problem. In version 7.4.22 an error appears - so I am not talking about it. Selecting any version 7.6.x does not give me the effect of the change. What is more - the change made in version 7.4.21 is valid in versions 7.6.x.
v7.7.1 and still can't change language.
After changing the language (english -> polski), the page refreshes. It's actually in the selected language (polski). But... logging out or refreshing the page... and the previous language returns (english).
This is obviously a bug. See #3138
@MaaG-dA Please check with 7.7.2. Setting system language at admin should work again.
Yes, I confirm - it actually works now! :D Thank you very much. (I checked Polish, Dutch, and French).
If only they could fix this bug... it would be great (it's been there for a while now without any fixes...) https://github.com/issues/created?issue=ioBroker%7CioBroker.javascript%7C1497