Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

fix(frontend:i18n): remove explicit 'en' locale definition to prevent bs-datepicker translation conflicts

johaven13529f1b7c68
diff --git a/frontend/src/i18n/lib/bs.i18n.ts b/frontend/src/i18n/lib/bs.i18n.ts
index f5699658..781b8888 100644
--- a/frontend/src/i18n/lib/bs.i18n.ts
+++ b/frontend/src/i18n/lib/bs.i18n.ts
@@ -8,7 +8,6 @@ import { i18nLocaleSupported } from '@sync-in-server/backend/src/common/i18n'
import {
defineLocale,
deLocale,
- enGbLocale,
esLocale,
frLocale,
hiLocale,
@@ -23,9 +22,9 @@ import {
zhCnLocale
} from 'ngx-bootstrap/chronos'
-const BOOTSTRAP_LOCALES: Record<i18nLocaleSupported, LocaleData> = {
+// Remove explicit 'en' locale definition to prevent translation conflicts
+const BOOTSTRAP_LOCALES: Record<Exclude<i18nLocaleSupported, 'en'>, LocaleData> = {
de: deLocale,
- en: enGbLocale,
es: esLocale,
fr: frLocale,
hi: hiLocale,