mirror of
https://github.com/open-webui/open-webui
synced 2025-06-26 18:26:48 +00:00
rename config key to default_locale
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user