1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Linux SystemStats: Report language accurately

This commit is contained in:
Oli 2023-01-04 12:08:39 +00:00 committed by Oliver James
parent fa0b607bf9
commit 288cbd2880

View file

@ -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
}