mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-26 07:45:34 +00:00
fix(i18n): default app language to English on first launch
This commit is contained in:
@@ -123,7 +123,9 @@ function getInitialLocale(): AppLocale {
|
||||
return storedLocale
|
||||
}
|
||||
|
||||
return normalizeLocale(window.navigator.language)
|
||||
// Product default must be English on first launch unless user explicitly
|
||||
// selected another locale and we persisted it in localStorage.
|
||||
return DEFAULT_LOCALE
|
||||
}
|
||||
|
||||
function getMessageValue(source: unknown, key: string): string | undefined {
|
||||
|
||||
Reference in New Issue
Block a user