jesseduffield / jesseduffield/lazydocker
Wrong UI language detected on Windows
- Dominant language
- Go
- Stars
- 52.8k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I am trying to use lazydocker on Windows with English Language and German Region.
What I am seeing is a UI that is half German/half English.
**To Reproduce**
1. Set Windows Language to English and Region to German
1. Launch lazydocker.
1. See a Language mix.
**Expected behaviour**
Everything is in English.
**Screenshots**




**Desktop (please complete the following information):**
- OS: Windows 10
- Lazydocker Version
```
Version: 0.20.0
Date: 2022-11-12T04:29:12Z
BuildSource: binaryRelease
Commit: 530dbbe57009f4596bfeedba1c8169becd98b9a8
OS: windows
Arch: amd64
```
**Additional context**
Looking through the source code I can see that cloudfoundry's jibber_jabber library from 2015 is used to detect the user language. That library is abandoned. Maybe there exists a better library to determine the UI language?
If there is no better way to detect the effective UI language, maybe an environment variable can be set to force a certain language in the app?
Btw. all other language sensitive apps I am using correctly display in English.
Contributor guide
Assessment
This issue has not been assessed yet.