From e439a2afe18ca401751c8065c1fb9e4ac0e07c4e Mon Sep 17 00:00:00 2001 From: MarcZX10 <67475268+MarcZX10@users.noreply.github.com> Date: Thu, 29 Oct 2026 07:07:37 +0000 Subject: [PATCH] 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. --- .../prx/libSceSystemService/LanguageLocale.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/core/libs/prx/libSceSystemService/LanguageLocale.hpp b/core/libs/prx/libSceSystemService/LanguageLocale.hpp index 73f28df6a5..8c823126b6 100644 --- a/core/libs/prx/libSceSystemService/LanguageLocale.hpp +++ b/core/libs/prx/libSceSystemService/LanguageLocale.hpp @@ -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 RowGroups[] = { LatinEuropeanRows, IberianRows, ChineseRows, JapaneseKoreanRows, + SlavicNordicRows, }; }