jellyfin/MediaBrowser.Model/Entities
ZeusCraft10 9039077286 Fix zh-CN subtitle language display
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-05 06:22:44 -05:00
..
ChapterInfo.cs Enable nullable for more files and add tests 2023-08-22 18:11:34 +02:00
CollectionTypeOptions.cs Lowercase CollectionTypeOptions to match legacy experience (#11272) 2024-03-31 21:58:06 -06:00
DeinterlaceMethod.cs Use enums for encoding options (#12561) 2024-09-09 08:43:37 -06:00
DownMixStereoAlgorithms.cs fix doc 2024-07-31 00:00:34 +08:00
EncoderPreset.cs Use enums for encoding options (#12561) 2024-09-09 08:43:37 -06:00
ExtraType.cs
HardwareAccelerationType.cs chore: fix spelling 2025-01-25 20:05:15 -05:00
IHasProviderIds.cs
IHasShares.cs Apply review suggestions 2024-04-01 19:59:48 +02:00
ImageType.cs
IsoType.cs
LibraryUpdateInfo.cs
LocationType.cs
MediaAttachment.cs Cleanup extracted files (#13760) 2025-04-03 09:17:14 -06:00
MediaStream.cs Fix zh-CN subtitle language display 2026-01-05 06:22:44 -05:00
MediaStreamType.cs Store lyrics in the database as media streams (#9951) 2024-02-26 05:09:40 -07:00
MediaUrl.cs
MetadataField.cs
MetadataProvider.cs Add support for reading and storing Recording MBIDs from file metadata (#12173) 2025-02-28 23:00:52 -07:00
ParentalRating.cs Rework parental ratings (#12615) 2025-03-30 21:51:54 -06:00
ParentalRatingEntry.cs Rework parental ratings (#12615) 2025-03-30 21:51:54 -06:00
ParentalRatingScore.cs Rework parental ratings (#12615) 2025-03-30 21:51:54 -06:00
ParentalRatingSystem.cs Rework parental ratings (#12615) 2025-03-30 21:51:54 -06:00
PersonType.cs
PlaylistUserPermissions.cs Apply review suggestions 2024-04-01 19:59:48 +02:00
ProviderIdsExtensions.cs chore: fix spelling 2025-01-25 20:05:15 -05:00
SeriesStatus.cs
TonemappingAlgorithm.cs Use enums for encoding options (#12561) 2024-09-09 08:43:37 -06:00
TonemappingMode.cs Use enums for encoding options (#12561) 2024-09-09 08:43:37 -06:00
TonemappingRange.cs Use enums for encoding options (#12561) 2024-09-09 08:43:37 -06:00
TrailerType.cs
UserDataSaveReason.cs Added new API endpoint to update User item data 2023-11-12 17:52:24 +03:00
Video3DFormat.cs
VideoType.cs
VirtualFolderInfo.cs Add regressions tests for update library endpoint 2024-06-02 18:18:13 +02:00