jellyfin/Jellyfin.Server.Implementations
Bond-009 226da3b371
Fix zh-CN subtitle language display (#15947)
The DisplayTitle property was using .NET's CultureInfo.GetCultures(NeutralCultures)
to resolve language display names. Since zh-CN is a specific culture (not neutral),
it would fall back to the base 'zh' code, resulting in generic 'Chinese' instead
of 'Chinese (Simplified)'.

This change adds a LocalizedLanguage property to MediaStream that gets populated
via LocalizationManager.FindLanguageInfo() when streams are retrieved from the
database. This leverages Jellyfin's existing iso6392.txt mappings which correctly
map zh-CN to 'Chinese (Simplified)'.

The same pattern is already used for other localized strings like LocalizedDefault
and LocalizedExternal.
2026-01-18 12:19:31 +01:00
..
Activity
DbConfiguration
Devices
Events
Extensions
FullSystemBackup Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Item Fix zh-CN subtitle language display (#15947) 2026-01-18 12:19:31 +01:00
MediaSegments
Properties
Security
StorageHelpers
Trickplay
Users Backport pull request #15752 from jellyfin/release-10.11.z 2025-12-28 07:22:21 -05:00
Jellyfin.Server.Implementations.csproj Update to .NET 10.0 2026-01-14 18:55:47 +01:00