We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cca523 commit b345b3eCopy full SHA for b345b3e
ui/base/l10n/l10n_util.cc
@@ -456,6 +456,9 @@ std::string GetApplicationLocale(const std::string& pref_locale) {
456
candidates.push_back(GetDefaultLocale());
457
458
#elif defined(OS_LINUX)
459
+ if (!pref_locale.empty())
460
+ candidates.push_back(pref_locale);
461
+
462
// If we're on a different Linux system, we have glib.
463
464
// GLib implements correct environment variable parsing with
0 commit comments