mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 12:55:19 +00:00
refac
This commit is contained in:
parent
73a77abd20
commit
edf94d732b
1 changed files with 1 additions and 1 deletions
|
|
@ -476,7 +476,7 @@
|
||||||
// Initialize i18n even if we didn't get a backend config,
|
// Initialize i18n even if we didn't get a backend config,
|
||||||
// so `/error` can show something that's not `undefined`.
|
// so `/error` can show something that's not `undefined`.
|
||||||
|
|
||||||
initI18n();
|
initI18n(localStorage?.locale);
|
||||||
if (!localStorage.locale) {
|
if (!localStorage.locale) {
|
||||||
const languages = await getLanguages();
|
const languages = await getLanguages();
|
||||||
const browserLanguages = navigator.languages
|
const browserLanguages = navigator.languages
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue