From c4e2c003de271a025b2a8143476261e94ad9ebda Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 21 Oct 2025 21:35:05 +0300 Subject: [PATCH] feat(i18n): enable Italian language --- apps/client/src/widgets/collections/calendar/index.tsx | 1 + apps/server/src/services/i18n.ts | 1 + packages/commons/src/lib/i18n.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/apps/client/src/widgets/collections/calendar/index.tsx b/apps/client/src/widgets/collections/calendar/index.tsx index 2d7d77b2e..3c3925bae 100644 --- a/apps/client/src/widgets/collections/calendar/index.tsx +++ b/apps/client/src/widgets/collections/calendar/index.tsx @@ -66,6 +66,7 @@ export const LOCALE_MAPPINGS: Record Promise<{ de de: () => import("@fullcalendar/core/locales/de"), es: () => import("@fullcalendar/core/locales/es"), fr: () => import("@fullcalendar/core/locales/fr"), + it: () => import("@fullcalendar/core/locales/it"), cn: () => import("@fullcalendar/core/locales/zh-cn"), tw: () => import("@fullcalendar/core/locales/zh-tw"), ro: () => import("@fullcalendar/core/locales/ro"), diff --git a/apps/server/src/services/i18n.ts b/apps/server/src/services/i18n.ts index a23ff7ea2..be7ebdeb5 100644 --- a/apps/server/src/services/i18n.ts +++ b/apps/server/src/services/i18n.ts @@ -16,6 +16,7 @@ export const DAYJS_LOADER: Record Promise import("dayjs/locale/es.js"), "fa": () => import("dayjs/locale/fa.js"), "fr": () => import("dayjs/locale/fr.js"), + "it": () => import("dayjs/locale/it.js"), "he": () => import("dayjs/locale/he.js"), "ja": () => import("dayjs/locale/ja.js"), "ku": () => import("dayjs/locale/ku.js"), diff --git a/packages/commons/src/lib/i18n.ts b/packages/commons/src/lib/i18n.ts index fc7c51577..65ff196d2 100644 --- a/packages/commons/src/lib/i18n.ts +++ b/packages/commons/src/lib/i18n.ts @@ -17,6 +17,7 @@ const UNSORTED_LOCALES = [ { id: "en", name: "English", electronLocale: "en" }, { id: "es", name: "Español", electronLocale: "es" }, { id: "fr", name: "Français", electronLocale: "fr" }, + { id: "it", name: "Italiano", electronLocale: "it" }, { id: "ja", name: "日本語", electronLocale: "ja" }, { id: "pt_br", name: "Português (Brasil)", electronLocale: "pt_BR" }, { id: "pt", name: "Português (Portugal)", electronLocale: "pt_PT" },