Files
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
..
2024-07-31 00:00:34 +08:00
2022-10-27 18:01:04 -07:00
2024-04-01 19:59:48 +02:00
2021-12-20 13:31:07 +01:00
2020-02-04 01:49:27 +01:00
2020-06-16 16:11:30 +12:00
2021-12-24 18:28:27 +01:00
2025-01-25 20:05:15 -05:00
2022-10-30 14:27:21 +01:00
2020-02-23 12:11:43 +01:00
2020-02-23 12:11:43 +01:00
2020-02-04 01:49:27 +01:00