diff --git a/web/public/locales/en/common.json b/web/public/locales/en/common.json index 6f68a56af..5e87b6b45 100644 --- a/web/public/locales/en/common.json +++ b/web/public/locales/en/common.json @@ -163,6 +163,7 @@ "sk": "Slovenčina (Slovak)", "yue": "粵語 (Cantonese)", "th": "ไทย (Thai)", + "ca": "Català (Catalan)", "withSystem": { "label": "Use the system settings for language" } diff --git a/web/src/hooks/use-date-locale.ts b/web/src/hooks/use-date-locale.ts index d36c1dda5..62cbc31bb 100644 --- a/web/src/hooks/use-date-locale.ts +++ b/web/src/hooks/use-date-locale.ts @@ -34,6 +34,7 @@ const localeMap: Record Promise> = { "yue-Hant": () => import("date-fns/locale/zh-HK").then((module) => module.zhHK), th: () => import("date-fns/locale/th").then((module) => module.th), + ca: () => import("date-fns/locale/ca").then((module) => module.ca), }; export function useDateLocale(): Locale { diff --git a/web/src/lib/const.ts b/web/src/lib/const.ts index bb9a43712..44bedc9c3 100644 --- a/web/src/lib/const.ts +++ b/web/src/lib/const.ts @@ -5,11 +5,13 @@ export const supportedLanguageKeys = [ "fr", "de", "it", + "ca", "nl", "nb-NO", "zh-CN", "yue-Hant", "th", + "he", "ru", "tr", "pl",