diff options
| author | Adrien Hopkins <[email protected]> | 2022-08-08 15:55:46 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-08-08 15:55:46 -0500 |
| commit | e3ca9fbc361f8150711c721bbf6f02c259675059 (patch) | |
| tree | 945b25d593fd97f3d26f2a6a72c503d8b333766f /src/lib | |
| parent | 9c1e8042e5ae5a2fd4afcc090c780f7f17b12796 (diff) | |
| download | coinos-ui-e3ca9fbc361f8150711c721bbf6f02c259675059.tar.gz coinos-ui-e3ca9fbc361f8150711c721bbf6f02c259675059.zip | |
tweaked locale selection & added i18n technical documentation
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/i18n.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/i18n.js b/src/lib/i18n.js index 44d06287..fdf5de3c 100644 --- a/src/lib/i18n.js +++ b/src/lib/i18n.js @@ -35,7 +35,7 @@ function pickLocale(navigatorLocale, availableLocales) { } else if (availableLocales.includes(languageCode)) { return languageCode; } else { - return null; + return navigatorLocale; } } |
