jellyfin/tests
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
..
Jellyfin.Api.Tests Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Jellyfin.Common.Tests
Jellyfin.Controller.Tests
Jellyfin.Extensions.Tests Replace AlphanumericComparator with new CompareOptions.NumericOrdering 2026-01-14 18:55:47 +01:00
Jellyfin.LiveTv.Tests Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Jellyfin.MediaEncoding.Hls.Tests
Jellyfin.MediaEncoding.Keyframes.Tests
Jellyfin.MediaEncoding.Tests Backport pull request #15807 from jellyfin/release-10.11.z 2025-12-28 07:22:31 -05:00
Jellyfin.Model.Tests Fix zh-CN subtitle language display (#15947) 2026-01-18 12:19:31 +01:00
Jellyfin.Naming.Tests Merge pull request #14824 from CodyEngel/fix-numeric-titles 2025-11-27 16:32:11 +01:00
Jellyfin.Networking.Tests Fix tests 2026-01-14 18:55:47 +01:00
Jellyfin.Providers.Tests
Jellyfin.Server.Implementations.Tests Merge pull request #15956 from ZeusCraft10/fix/issue-15945-unknown-type-deserialization 2026-01-09 18:40:59 +01:00
Jellyfin.Server.Integration.Tests Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Jellyfin.Server.Tests Update to .NET 10.0 2026-01-14 18:55:47 +01:00
Jellyfin.XbmcMetadata.Tests
coverletArgs.runsettings
Directory.Build.props Update to .NET 10.0 2026-01-14 18:55:47 +01:00