Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Locale configuration doesn‘t work #1718

Closed
florian-h05 opened this issue Sep 16, 2022 · 0 comments · Fixed by #1719
Closed

Locale configuration doesn‘t work #1718

florian-h05 opened this issue Sep 16, 2022 · 0 comments · Fixed by #1719

Comments

@florian-h05
Copy link
Contributor

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:

  • amd64 virtual machine
  • cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
  • uname -m: x86_64
florian-h05 added a commit to florian-h05/openhabian that referenced this issue Sep 16, 2022
Fixes openhab#1718.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
mstormi pushed a commit that referenced this issue Sep 17, 2022
Fixes #1718.

Signed-off-by: Florian Hotze <florianh_dev@icloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant