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 Enable nullability for ServerDiscoveryInfo (#5804) 2021-04-15 15:39:59 +02:00
Branding Preserve SplashscreenLocation when updating branding config (#13756) 2025-03-31 17:46:01 -06:00
Channels Enable nullable for more files 2021-10-26 13:56:30 +02:00
Collections Fix some warnings 2020-02-23 12:11:43 +01:00
Configuration Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking 2026-01-18 12:17:06 +01:00
Cryptography Increase password hash iterations 2024-08-30 19:29:23 +02:00
Devices Add SessionInfoDto, DeviceInfoDto and implement JsonDelimitedArrayConverter.Write 2024-09-18 15:42:15 +02:00
Dlna Merge pull request #15926 from abitofevrything/feat/accurate_hls_seeking 2026-01-18 12:17:06 +01:00
Drawing Use MediaTypeNames where possible (#13440) 2025-01-26 21:06:24 -07:00
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 Translate the ISO-639-2/B codes to ISO-639-2/T. (#13068) 2025-04-07 21:29:12 -06:00
IO Cleanup file related code (#14023) 2025-05-04 08:40:34 -06:00
Library Fixed namespaces 2025-03-25 16:45:00 +01:00
LiveTv Use Guid for parentPrimaryImageItemId (#13874) 2025-04-08 14:59:21 -06:00
Lyrics Adapt LrcLyricParser to new LrcParser version (#14263) 2025-06-24 16:59:09 -06:00
MediaInfo Only reselect audio streams when user preference is respected (#13832) 2025-04-08 19:22:30 -06:00
MediaSegments Fix existing media segments not being handled on scan (#14218) 2025-06-10 07:45:09 -06:00
Net Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Notifications Remove Emby.Notifications (#9147) 2023-01-28 07:43:55 -07:00
Playlists make playlist creation private by default (#12853) 2024-11-17 08:13:01 -07:00
Plugins chore: fix spelling 2025-01-25 20:05:15 -05:00
Properties Move StreamBuilderTests to correct project (#7461) 2022-03-18 22:19:02 +01:00
Providers Merge pull request #13175 from Shadowghost/external-url-providers 2025-03-13 21:08:18 -04:00
Querying Cleanup ItemFields (#13818) 2025-03-31 17:46:21 -06:00
QuickConnect Fix issues with QuickConnect and AuthenticationDb 2021-06-23 21:07:08 -06:00
Search Explicitly set default value for enums used in API models (#13821) 2025-03-31 17:43:31 -06:00
Serialization Remove custom Json serializer 2020-12-23 13:24:34 +01:00
Session fix(Session): don't query DB if queue hasn't changed (#14244) 2025-06-09 17:33:28 -06:00
Subtitles fix lint 2020-08-20 15:17:42 +08:00
SyncPlay Fix SyncPlay WebSocket OpenAPI schemas (#13946) 2025-04-19 13:08:15 -06:00
System Add Api and startup check for sufficient storage capacity (#13888) 2025-04-20 20:06:50 -06:00
Tasks Implement TaskTriggerInfoType enum (#12783) 2024-12-01 17:08:37 -07:00
Updates Replace == null with is null 2022-12-05 15:00:20 +01:00
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