Browse Source

Linux SystemStats: Report language accurately

v7.0.9
Oli Oliver James 3 years ago
parent
commit
288cbd2880
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_core/native/juce_linux_SystemStats.cpp

+ 2
- 2
modules/juce_core/native/juce_linux_SystemStats.cpp 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
}


Loading…
Cancel
Save