aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2022-08-08 15:55:46 -0500
committerAdrien Hopkins <[email protected]>2022-08-08 15:55:46 -0500
commitb156efdf1f0647dc296c4237cf8eb12d8c4d0503 (patch)
treec1060f73bf7ab312de2b8941458e268485177e07 /src
parent62cfc2f3fe11047085c39fd460647357bcaaf127 (diff)
downloadcoinos-ui-b156efdf1f0647dc296c4237cf8eb12d8c4d0503.tar.gz
coinos-ui-b156efdf1f0647dc296c4237cf8eb12d8c4d0503.zip
tweaked locale selection & added i18n technical documentation
Diffstat (limited to 'src')
-rw-r--r--src/lib/i18n.js2
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;
}
}