Better locale detection

This commit is contained in:
Alex Gleason 2020-06-04 17:29:00 -05:00
parent ae476b5340
commit f0528e9d43
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -21,8 +21,7 @@ const defaultSettings = ImmutableMap({
deleteModal: true, deleteModal: true,
defaultPrivacy: 'public', defaultPrivacy: 'public',
themeMode: 'light', themeMode: 'light',
// locale: navigator.language.slice(0, 2) || 'en', // FIXME: Dynamic locales locale: navigator.language.split(/[-_]/)[0] || 'en',
locale: 'en',
systemFont: false, systemFont: false,
dyslexicFont: false, dyslexicFont: false,