openhab / openhabian

openHABian - empowering the smart home, for Raspberry Pi and Debian systems
https://community.openhab.org/t/13379
ISC License
820 stars 252 forks source link

Locale configuration doesn‘t work #1718

Closed florian-h05 closed 2 years ago

florian-h05 commented 2 years ago

This issue is just for tracking, a PR with a fix is on the way.

Issue information:

Setting the system locale with the openhabian-config tool (using 30 | System Settings -> 32 | Set system locale) does not work, en_US.UTF-8 is always the selected option.

Debug information:

Reading the contents of the locale config file, the following is returned:

openhabian@smarthomevm ~> tail /etc/default/locale
#  File generated by update-locale
LANG=de_DE.UTF-8
LC_ALL=en_US.UTF-8
LANGUAGE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8

Normally, the config file should contain:

openhabian@smarthomevm ~> tail /etc/default/locale
#  File generated by update-locale
LANG=de_DE.UTF-8
LC_ALL=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8

System information: