[PR #14410] [MERGED] Further refinement of BCP 47 language labeling support #13973

Closed
opened 2026-02-07 07:22:13 +03:00 by OVERLORD · 0 comments
Owner

📋 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: masterHead: language


📝 Commits (2)

  • f9c4c9b Add additional chinese languages
  • 2007815 Further 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:
image
image

After:
image
image

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.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/14410 **Author:** [@dyphire](https://github.com/dyphire) **Created:** 7/1/2025 **Status:** ✅ Merged **Merged:** 8/4/2025 **Merged by:** [@joshuaboniface](https://github.com/joshuaboniface) **Base:** `master` ← **Head:** `language` --- ### 📝 Commits (2) - [`f9c4c9b`](https://github.com/jellyfin/jellyfin/commit/f9c4c9b3456d682901afbc747a12b45dd18f31a6) Add additional chinese languages - [`2007815`](https://github.com/jellyfin/jellyfin/commit/2007815fa6b592984a64a6d3d978d41ae8f7347b) Further refinement of BCP 47 language labeling support ### 📊 Changes **8 files changed** (+84 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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: ![image](https://github.com/user-attachments/assets/13b4f60f-4f71-47b5-80e4-868c69bf6d9b) ![image](https://github.com/user-attachments/assets/e4ef93ba-6eac-47ab-b64c-10ea295528eb) After: ![image](https://github.com/user-attachments/assets/dc5d2ff2-538b-4561-8300-91c96bd24413) ![image](https://github.com/user-attachments/assets/1c3dedae-3f3a-45bd-9f5b-0413fde24a9d) **Changes** Based on #14407 Further refinement of BCP 47 language labeling support **Issues** Fixes #6302 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:22:13 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13973