"." as thousand separator in Main UI via State Description / Pattern

Thanks for all the hints. I managed to solve the problem myself based on the hints above.

Fun fact: My case illustrates how important it is to state the overall setting in which you’re operating in when opening a new post here in this forum: Since I’m running on docker (but forgot to mention this), raspi-config doesn’t even play a role, since this changes the Raspbian-variables, and the ones that are relevant for openHAB are (in my case) the ones of the docker container and thus defined in my docker-compose.yml. As a result the problem is also fairly easy to fix.

Here’s what I did to solve the problem:

  1. Access terminal of the openHAB docker container via docker exec -t -i openhab /bin/bash
  2. Typing locale proves that the reason why “,” is used as a thousand separator in openHAB is because all variables of the openHAB container are set to default (here: ```
    en_US.UTF-8):
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
  1. In the docker-compose.yml I added the following to the “environment:”-chapter
LANG: de_DE.UTF-8
LANGUAGE: de_DE.UTF-8
LC_ALL: de_DE.UTF-8
  1. “Update the stack” (I’m using Portainer)

Problem solved. :slight_smile:
image

Thanks for everyone involved.

1 Like