mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14410] [MERGED] Further refinement of BCP 47 language labeling support #13973
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?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/14410
Author: @dyphire
Created: 7/1/2025
Status: ✅ Merged
Merged: 8/4/2025
Merged by: @joshuaboniface
Base:
master← Head:language📝 Commits (2)
f9c4c9bAdd additional chinese languages2007815Further refinement of BCP 47 language labeling support📊 Changes
8 files changed (+84 additions, -26 deletions)
View changed files
📝
Emby.Naming/ExternalFiles/ExternalPathParser.cs(+6 -2)📝
Emby.Server.Implementations/Library/MediaSourceManager.cs(+1 -1)📝
Emby.Server.Implementations/Localization/LocalizationManager.cs(+7 -2)📝
Emby.Server.Implementations/Localization/iso6392.txt(+11 -8)📝
Jellyfin.Api/Controllers/ItemUpdateController.cs(+4 -1)📝
Jellyfin.Api/Controllers/LocalizationController.cs(+10 -1)📝
MediaBrowser.Model/Entities/MediaStream.cs(+44 -10)📝
tests/Jellyfin.Server.Implementations.Tests/Localization/LocalizationManagerTests.cs(+1 -1)📄 Description
Current support for BCP 47 language tags is still very much lacking, with some languages not being recognized and displayed correctly.
They are correctly supported through regionalized language code recognition in
.NET.Refer https://learn.microsoft.com/en-us/dotnet/api/system.globalization.cultureinfo.getcultures?view=net-9.0
Before:


After:


Changes
Based on #14407
Further refinement of BCP 47 language labeling support
Issues
Fixes #6302
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.