Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(i18n): enable Italian language
Elian Doranc4e2c003de27
diff --git a/apps/client/src/widgets/collections/calendar/index.tsx b/apps/client/src/widgets/collections/calendar/index.tsxindex 2d7d77b2ec..3c3925bae7 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<DISPLAYABLE_LOCALE_IDS, (() => Promise<{ dede: () => 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.tsindex a23ff7ea27..be7ebdeb52 100644--- a/apps/server/src/services/i18n.ts+++ b/apps/server/src/services/i18n.ts@@ -16,6 +16,7 @@ export const DAYJS_LOADER: Record<LOCALE_IDS, () => Promise<typeof import("dayjs"es": () => 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.tsindex fc7c515778..65ff196d22 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" },