diff --git a/frontend/src/i18n/index.ts b/frontend/src/i18n/index.ts index 512d3ee5a..5653b5914 100644 --- a/frontend/src/i18n/index.ts +++ b/frontend/src/i18n/index.ts @@ -38,6 +38,7 @@ export const SUPPORTED_LOCALES = { 'ko-KR': '한국어', 'tr-TR': 'Türkçe', 'fi-FI': 'Suomi', + 'he-IL': 'עִבְרִית', // IMPORTANT: Also add new languages to useDayjsLanguageSync // IMPORTANT: Also add new languages to pkg/i18n/i18n.go } as const diff --git a/frontend/src/i18n/useDayjsLanguageSync.ts b/frontend/src/i18n/useDayjsLanguageSync.ts index 67989e5d5..b922777e5 100644 --- a/frontend/src/i18n/useDayjsLanguageSync.ts +++ b/frontend/src/i18n/useDayjsLanguageSync.ts @@ -30,6 +30,7 @@ export const DAYJS_LOCALE_MAPPING = { 'ko-kr': 'ko', 'tr-tr': 'tr', 'fi-fi': 'fi', + 'he-il': 'he', } as Record export const DAYJS_LANGUAGE_IMPORTS = { @@ -59,6 +60,7 @@ export const DAYJS_LANGUAGE_IMPORTS = { 'ko-kr': () => import('dayjs/locale/ko'), 'tr-tr': () => import('dayjs/locale/tr'), 'fi-fi': () => import('dayjs/locale/fi'), + 'he-il': () => import('dayjs/locale/he'), } as Record Promise> export async function loadDayJsLocale(language: SupportedLocale) { diff --git a/pkg/i18n/i18n.go b/pkg/i18n/i18n.go index 16b9e9941..4078f97db 100644 --- a/pkg/i18n/i18n.go +++ b/pkg/i18n/i18n.go @@ -74,6 +74,7 @@ var availableLanguages = map[string]bool{ "ko-KR": true, "tr-TR": true, "fi-FI": true, + "he-IL": true, // IMPORTANT: Also add new languages to the frontend }