Locale detection ignores English language since v1.23.12
CirnoT opened this issue Β· comments
Cirno the Strongest commented
π I have found these related issues/pull requests
#4244 (see review for exact cause)
π‘οΈ Security Policy
- I agree to have read this project Security Policy
Description
English language is now silently skipped, even if browser indicates that it is of higher priority. Instead, the next highest priority language is used.
π Reproduction steps
navigator.languages => ['en-US', 'en', 'pl', 'ja']
Accept-Language: en-US,en;q=0.9,pl;q=0.8,ja;q=0.7
π Expected behavior
Interface and status page is displayed in English
π Actual Behavior
Interface and status page is displayed in Polish
π» Uptime-Kuma Version
1.23.12
π» Operating System and Arch
Docker
π Browser
Chromium124.0.6367.61
π₯οΈ Deployment Environment
- Runtime: Docker version 25.0.4, build 1a576c5
- Database: sqlite/embedded
- Filesystem used to store the database on: ext4 via docker volume
π Relevant log output
No response