mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
Preferred display language is wrong from {accept-language} #6502
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @penghaiheng on GitHub (Nov 22, 2024).
This issue respects the following points:
Description of the bug
The following content is directly translated by Google Translate, so some of the content may not be very specific. Please understand:
If {accept-language} is: [zh;zh-CN;q=0.9;en;q=0.8] in the http header when the browser client initiates the request, that is, the first item is "zh", the second item is "zh-CN", and the third item is "en". In this state, the content returned by the page is all displayed in English.
Thank you very much for your contribution
Reproduction steps
If {accept-language} is: [zh;zh-CN;q=0.9;en;q=0.8] in the http header when the browser client initiates the request, that is, the first item is "zh", the second item is "zh-CN", and the third item is "en". In this state, the content returned by the page is all displayed in English.
However, if {accept-language} is: [zh-CN;zh;q=0.9;en;q=0.8] in the http header when the browser initiates the request, the content returned by the web page is normally Chinese (Simplified).
I am not sure if this is a problem, perhaps because when selecting "display language" to "Chinese (Simplified)" can only match "zh-CN"
If you want to trigger such a problem, you can change "Chinese" instead of "Chinese (Simplified)" in the browser "Settings" - "Language" - "Preferred language" Stick it to the top. This will make the "display language" appear even if it is in Chinese, it will still show English. And there is absolutely no other way to change the language translation.
What is the current bug behavior?
Preferred display language is not work
What is the expected correct behavior?
Chinese should be displayed even if the browser's http header preferred language is "zh"
Jellyfin Server version
10.10.0+
Specify commit id
No response
Specify unstable release number
No response
Specify version number
No response
Specify the build version
docker:latest
Environment
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@jellyfin-bot commented on GitHub (Mar 23, 2025):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Apr 13, 2025):
This issue was closed due to inactivity.