Change default language for UI

Hi!

Can anyone please help me to figure out how I can change the default language for OpenEMS UI? I have tried to change the language of the admin user during local testing on my PC, but it seems to be reset (set back to german) on the next run.

I am running the UI connected to an edge instance.

Hi,

You can change the default language in the Language.ts file( openems/language.ts at develop · OpenEMS/openems · GitHub ).

You can see a static field which is DEFAULT = Language.DE ( openems/language.ts at develop · OpenEMS/openems · GitHub );

You can change it to the language you want to. The same default language is being applied in app.module.ts ( openems/app.module.ts at develop · OpenEMS/openems · GitHub )

Thanks,
Sagar