aboutsummaryrefslogtreecommitdiff
path: root/Emby.Common.Implementations/TextEncoding/NLangDetect/Profiles
diff options
context:
space:
mode:
authorLasath Fernando <devel@lasath.org>2026-04-04 16:10:07 +0000
committerLasath Fernando <devel@lasath.org>2026-04-08 12:38:24 -0500
commit553f38a2377cf843404cd4d3b3602e8a72bc75f8 (patch)
tree2e17bd39afaaabd3b97a23b215c73f0b150365ea /Emby.Common.Implementations/TextEncoding/NLangDetect/Profiles
parent78e0a2b5c13eba9c65779bde41362fe728d57fb2 (diff)
Fix language display for ISO 639-2-only codes (e.g. mul, und)
LoadCultures() in LocalizationManager skipped all iso6392.txt entries without a two-letter ISO 639-1 code, dropping 302 of 496 languages including mul (Multiple languages), und (Undetermined), mis (Uncoded languages), zxx, and many real languages like Achinese, Akkadian, etc. This caused FindLanguageInfo() to return null for these codes, which meant: - ExternalPathParser could not recognize them as valid language codes in subtitle filenames, so the Language field was never set - DisplayTitle fell back to the raw code string (e.g. "Mul") Fix by allowing entries without two-letter codes to be loaded with an empty TwoLetterISOLanguageName. Also set LocalizedLanguage in ProbeResultNormalizer for ffprobe-detected streams (the DB repository path was already handled on master).
Diffstat (limited to 'Emby.Common.Implementations/TextEncoding/NLangDetect/Profiles')
0 files changed, 0 insertions, 0 deletions