diff --git a/frontend/src/i18n/index.ts b/frontend/src/i18n/index.ts index 246ddcfef..27cdd4c72 100644 --- a/frontend/src/i18n/index.ts +++ b/frontend/src/i18n/index.ts @@ -22,6 +22,7 @@ export const SUPPORTED_LOCALES = { 'ar-SA': 'اَلْعَرَبِيَّةُ', 'sl-SI': 'Slovenščina', 'pt-BR': 'Português Brasileiro', + 'hr-HR': 'Hrvatski', // IMPORTANT: Also add new languages to useDayjsLanguageSync } as const diff --git a/frontend/src/i18n/useDayjsLanguageSync.ts b/frontend/src/i18n/useDayjsLanguageSync.ts index 5d3a194d6..c40647452 100644 --- a/frontend/src/i18n/useDayjsLanguageSync.ts +++ b/frontend/src/i18n/useDayjsLanguageSync.ts @@ -23,6 +23,7 @@ export const DAYJS_LOCALE_MAPPING = { 'ar-SA': 'ar-sa', 'sl-SI': 'sl', 'pt-BR': 'pt', + 'hr-HR': 'hr', } as Record export const DAYJS_LANGUAGE_IMPORTS = {