Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove debug log and fix default japanese/spanish in browser (#10368)

Tianzhou (天舟)5ce91106f286
diff --git a/frontend/src/plugins/i18n.ts b/frontend/src/plugins/i18n.ts
index 22d5896f9d..128cf4d44a 100644
--- a/frontend/src/plugins/i18n.ts
+++ b/frontend/src/plugins/i18n.ts
@@ -20,7 +20,6 @@ const getValidLocale = () => {
}
locale = storage.value?.appearance?.language || "";
- console.log("locale", locale);
if (validLocaleList.includes(locale)) {
return locale;
}
@@ -31,6 +30,12 @@ const getValidLocale = () => {
// here if we got "en" from localStorage
locale = "en-US";
}
+ if (locale === "ja") {
+ locale = "ja-JP";
+ }
+ if (locale === "es") {
+ locale = "es-ES";
+ }
if (validLocaleList.includes(locale)) {
return locale;
}