feat(libSceSystemService): map Slavic and Nordic locales

Russian, Ukrainian, Polish, Czech, Finnish, Swedish and Danish map to their
console language. Norwegian is the console's one Norwegian language, so no,
nb (Bokmal) and nn (Nynorsk) all map to it. Lithuanian, Latvian, Estonian and
the other Slavic languages the console has no entry for stay unrecognised.
This commit is contained in:
MarcZX10 committed 2026-10-29 08:51:17 +00:00
1 parent f365e87c52
commit e439a2afe1
1 file changed
+14
@@ -150,11 +150,25 @@ inline constexpr Row JapaneseKoreanRows[] = {
{"ko", "", "", Korean},
};
inline constexpr Row SlavicNordicRows[] = {
{"ru", "", "", Russian},
{"uk", "", "", Ukrainian},
{"pl", "", "", Polish},
{"cs", "", "", Czech},
{"fi", "", "", Finnish},
{"sv", "", "", Swedish},
{"da", "", "", Danish},
{"no", "", "", Norwegian},
{"nb", "", "", Norwegian},
{"nn", "", "", Norwegian},
};
inline constexpr std::span<const Row> RowGroups[] = {
LatinEuropeanRows,
IberianRows,
ChineseRows,
JapaneseKoreanRows,
SlavicNordicRows,
};
}