Skip to content

Commit

Permalink
Fx60: Fix default locale prefs
Browse files Browse the repository at this point in the history
An empty string for `intl.locale.requested` means to use the OS locale,
whereas if it's absent the default locale (English) is used.

`intl.regional_prefs.use_os_locales` isn't actually a replacement for
`intl.locale.matchOS` and should be false by default. See [1] for a
description.

[1] https://firefox-source-docs.mozilla.org/intl/locale.html
  • Loading branch information
dstillman committed Oct 27, 2019
1 parent 98de957 commit ced8a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pref("network.prefetch-next", false);
// Let operations run as long as necessary
pref("dom.max_chrome_script_run_time", 0);

// Use OS locale
pref("intl.regional_prefs.use_os_locales", true);
pref("intl.locale.requested", '');
pref("intl.regional_prefs.use_os_locales", false);

// Fix error initializing login manager after this was changed in Firefox 57
// Could also disable this with MOZ_LOADER_SHARE_GLOBAL, supposedly
Expand Down

0 comments on commit ced8a0f

Please sign in to comment.