openhab / openhab-core

Core framework of openHAB
https://www.openhab.org/
Eclipse Public License 2.0
899 stars 415 forks source link

Language settings are ignored for "System Services" #3146

Open spacemanspiff2007 opened 1 year ago

spacemanspiff2007 commented 1 year ago

Steps to reproduce:

  1. Change language in UI
  2. Restart openHAB
  3. Check language is changed
  4. Description is still in system language

grafik

wborn commented 1 year ago

Some logic uses this setting whereas other logic uses the browser language based on the request headers. So it needs to be decided how it should work.

If we want to support using openHAB in multi language environments, this setting should only be used as fallback and the language used in the UI should be based on a user or browser preference.

spacemanspiff2007 commented 1 year ago

There are two language settings: The language used for user interaction (e.g. GUI) and the language for openHAB itself (log files, etc.). Imho it should be possible for both to set them on a defined value and not use e.g. the browser preference or the system default.

openhab-bot commented 11 months ago

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/openhab-4-translation-fallback-in-main-ui/148331/2