Better locale detection
This commit is contained in:
parent
ae476b5340
commit
f0528e9d43
1 changed files with 1 additions and 2 deletions
|
@ -21,8 +21,7 @@ const defaultSettings = ImmutableMap({
|
|||
deleteModal: true,
|
||||
defaultPrivacy: 'public',
|
||||
themeMode: 'light',
|
||||
// locale: navigator.language.slice(0, 2) || 'en', // FIXME: Dynamic locales
|
||||
locale: 'en',
|
||||
locale: navigator.language.split(/[-_]/)[0] || 'en',
|
||||
|
||||
systemFont: false,
|
||||
dyslexicFont: false,
|
||||
|
|
Loading…
Reference in a new issue