jellyfin/MediaBrowser.Model
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 Add ability to sort and filter activity log entries (#15583) 2025-12-08 21:01:32 -07:00
ApiClient
Branding
Channels
Collections
Configuration Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking 2026-01-18 12:17:06 +01:00
Cryptography
Devices
Dlna Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking 2026-01-18 12:17:06 +01:00
Drawing
Dto Deprecate HasPassword property on UserDto 2025-10-05 11:10:36 +02:00
Entities Fix zh-CN subtitle language display 2026-01-05 06:22:44 -05:00
Extensions Optimize StringHelper.ToFirstUpper() 2025-12-31 09:26:31 -05:00
Globalization
IO
Library
LiveTv
Lyrics Adapt LrcLyricParser to new LrcParser version (#14263) 2025-06-24 16:59:09 -06:00
MediaInfo
MediaSegments
Net Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Notifications
Playlists
Plugins
Properties
Providers
Querying
QuickConnect
Search
Serialization
Session
Subtitles
SyncPlay
System
Tasks
Updates
Users Backport pull request #15254 from jellyfin/release-10.11.z 2025-11-02 21:58:42 -05:00
MediaBrowser.Model.csproj Update to .NET 10.0 2026-01-14 18:55:47 +01:00