forked from open-webui/open-webui
rename config key to default_locale
This commit is contained in:
parent
64e6003627
commit
0c021e42f5
3 changed files with 4 additions and 4 deletions
|
@ -25,8 +25,8 @@
|
|||
if (backendConfig) {
|
||||
// Save Backend Status to Store
|
||||
await config.set(backendConfig);
|
||||
if ($config.locale) {
|
||||
initI18n($config.locale);
|
||||
if ($config.default_locale) {
|
||||
initI18n($config.default_locale);
|
||||
} else {
|
||||
initI18n();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue