ioBroker.admin icon indicating copy to clipboard operation
ioBroker.admin copied to clipboard

[bug]: Changing the system language does not work

Open MaaG-dA opened this issue 8 months ago • 2 comments

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

  1. Goto "System settings" icon and click
  2. Select "System language" and change to any other
  3. Press button "Save & Close"
  4. Reload webpage
  5. Login into "admin panel"
  6. ... 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

MaaG-dA avatar Jun 15 '25 21:06 MaaG-dA

Reload webpage

You should wait till the page reloads itself.

GermanBluefox avatar Jun 16 '25 09:06 GermanBluefox

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.

MaaG-dA avatar Jun 16 '25 09:06 MaaG-dA

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).

MaaG-dA avatar Jul 10 '25 21:07 MaaG-dA

This is obviously a bug. See #3138

mcm1957 avatar Jul 21 '25 20:07 mcm1957

@MaaG-dA Please check with 7.7.2. Setting system language at admin should work again.

mcm1957 avatar Jul 22 '25 12:07 mcm1957

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

MaaG-dA avatar Jul 22 '25 20:07 MaaG-dA