From 7be6af6d05872fcbd49960c538a0dc77f1531a5d Mon Sep 17 00:00:00 2001 From: Courville Software Date: Sun, 11 Aug 2024 18:10:00 +0400 Subject: [PATCH] ISO639codes: be clearer aboput zh/cn for tmdb with zh being simplified chinese --- src/com/archos/mediacenter/utils/ISO639codes.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/com/archos/mediacenter/utils/ISO639codes.java b/src/com/archos/mediacenter/utils/ISO639codes.java index 7c568f94..2fc02dd6 100644 --- a/src/com/archos/mediacenter/utils/ISO639codes.java +++ b/src/com/archos/mediacenter/utils/ISO639codes.java @@ -64,7 +64,10 @@ public class ISO639codes { // cf. https://github.com/nova-video-player/aos-AVP/issues/1129 //missingISO6391ToISO6393.put("cn", "yue"); // take yue = Cantonese (cn is used for tmdb) - missingISO6391ToISO6393.put("cn", "s_traditional_chinese"); // take yue = Cantonese (cn is used for tmdb) + // zh = Mandarin -> Chinese Simplified (zh-cn) or Chinese + // cn = Cantonese -> Chinese Traditional (zh-tw) + missingISO6391ToISO6393.put("cn", "s_traditional_chinese"); + missingISO6391ToISO6393.put("zh", "s_chinese_simplified"); // Moldavian is now officially Romanian since 202303 mo -> ron // {"iso_639_1":"mo","english_name":"Moldavian","name":""} missingISO6391ToISO6393.put("mo", "ron"); // Moldovian != Romanian it is an issue (mo is used for tmdb)