louislam / uptime-kuma

A fancy self-hosted monitoring tool

Home Page:https://uptime.kuma.pet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Locale detection ignores English language since v1.23.12

CirnoT opened this issue Β· comments

πŸ“‘ I have found these related issues/pull requests

#4244 (see review for exact cause)

πŸ›‘οΈ 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

chrome_2024-04-19_00-25-01

πŸ‘€ 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