From 288cbd2880c0ef6a65a77ef2e6f2cabc10eb6b9d Mon Sep 17 00:00:00 2001 From: Oli Date: Wed, 4 Jan 2023 12:08:39 +0000 Subject: [PATCH] Linux SystemStats: Report language accurately --- modules/juce_core/native/juce_linux_SystemStats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/juce_core/native/juce_linux_SystemStats.cpp b/modules/juce_core/native/juce_linux_SystemStats.cpp index d44522469d..f733714ce3 100644 --- a/modules/juce_core/native/juce_linux_SystemStats.cpp +++ b/modules/juce_core/native/juce_linux_SystemStats.cpp @@ -204,7 +204,7 @@ String SystemStats::getUserLanguage() return {}; #else - return getLocaleValue (_NL_IDENTIFICATION_LANGUAGE); + return getLocaleValue (_NL_ADDRESS_LANG_AB); #endif } @@ -213,7 +213,7 @@ String SystemStats::getUserRegion() #if JUCE_BSD return {}; #else - return getLocaleValue (_NL_IDENTIFICATION_TERRITORY); + return getLocaleValue (_NL_ADDRESS_COUNTRY_AB2); #endif }