Add Platform.GetUserLanguage for text localization, separate from locale used for numbers, currency and dates

This commit is contained in:
2026-04-08 13:04:19 +02:00
parent 79d1d0c109
commit 6a8d6af17e
6 changed files with 29 additions and 6 deletions
+1 -1
View File
@@ -622,7 +622,7 @@ void EngineImpl::InitLog()
// Log product info
LOG(Info, "Product: {0}, Company: {1}", Globals::ProductName, Globals::CompanyName);
LOG(Info, "Current culture: {0}", Platform::GetUserLocaleName());
LOG(Info, "Current language: {}, culture: {}", Platform::GetUserLanguage(), Platform::GetUserLocaleName());
LOG(Info, "Command line: {0}", CommandLine);
LOG(Info, "Base folder: {0}", Globals::StartupFolder);
LOG(Info, "Binaries folder: {0}", Globals::BinariesFolder);