Can't change language

Hi all.

I’m moving the first steps with OpenEms.

I’ve successfully built both the OpenEms edge and opeEns UI V. 2026.6.0-SNAPSHOT
I’ve deployed both on my linux Embedded device.
All run correctly, I’m running the simulation described on the getting getting started guide.

I’m facing a problem, I can’t set the UI in English or other languages different from the default (de)

I’m logged in with the admin user, when I try to change the language I’ve the error see the attached image

Could you help me ?
thank you in advance

Sorry, no solution here, just the additional info, that for me it’s the same. I’m using the provided docker images for edge and UI.

Same here. But did you notice this remark?

The language can not be changed permanently in the local online-monitoring for technical reasons.

Maybe this only works on the backend?

yes. exactly this is the case.

So we have to configure the backend (in my case the edge) by modifying the openems edge code ?
Are there any guide about changing openems language ?

The Backend and the Edge are two different software packages. In my understanding you would need to install the Backend in addition to the Edge.

Maybe this is what you are looking for:

How about adding this requirement to the error message? Suggestion: “Change failed Endpoint with method “updateUserLanguage” is not defined! Please ensure, that the Backend is installed and configured correctly.”

You could just set the default language in the UI code to your language.

The BackEnd is the cloud component, but I’d like to run tests without relying on it.
I’m currently using the Edge module and the UI directly on the embedded device.
However, it seems that the language settings require the BackEnd module to function properly.
As for our demo we need to have english.

I try to modify the UI code, but without success:

ui/src/app/shared/type/language.ts:
public static readonly DEFAULT = Language.EN;

ui/src/app/app.module.ts
{ provide: LOCALE_ID, useFactory: () => (Language.EN ?? Language.EN ?? Language.EN).key },

ui/src/themes/openems/environments/theme.ts
defaultLanguage: "en",

copied en.json to ui/src/assets/i18n/de.json

none of these worked:
UI run always in german

If you did this and it did not change - seems more like a Caching Issue.

I did find two files out of which the error message is combined, thus the change is probably not as trivial as I was hoping:

As I didn’t receive any feedback on this, I’ll currently not continue on this on my own.

The reason why this is not possible with Edge is, that currently there is no handling for UpdateUserLanguageRequest in Edge. It’s not currently on our roadmap to implement this, but it would not be too hard to do it… The value should maybe be stored in the UserService configuration: openems/io.openems.edge.core/src/io/openems/edge/core/user/Config.java at develop · OpenEMS/openems · GitHub

Is anybody interested to implement this?