Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/i18n/i18nConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "dayjs/locale/it";
import "dayjs/locale/mr";
import "dayjs/locale/pl";
import "dayjs/locale/pt-br";
import "dayjs/locale/si";
import "dayjs/locale/sv";
import "dayjs/locale/zh-cn";
import i18n from "i18next";
Expand All @@ -28,6 +29,7 @@ import it from "~/i18n/locales/it/translation.json";
import mr from "~/i18n/locales/mr/translation.json";
import pl from "~/i18n/locales/pl/translation.json";
import pt_BR from "~/i18n/locales/pt_BR/translation.json";
import si from "~/i18n/locales/si/translation.json";
import sv from "~/i18n/locales/sv/translation.json";
import th from "~/i18n/locales/th/translation.json";
import zh_Hans from "~/i18n/locales/zh_Hans/translation.json";
Expand Down Expand Up @@ -125,6 +127,12 @@ export const resources = {
components: fa.components,
permissions: fa.permissions,
},
si: {
translation: si.translation,
common: si.common,
components: si.components,
permissions: si.permissions,
},
} as const;

// needs to be aligned with `resources`
Expand All @@ -145,6 +153,7 @@ export const supportedLocales = [
{ locale: "mr", label: "मराठी" },
{ locale: "th", label: "ไทย" },
{ locale: "fa", label: "فارسی" },
{ locale: "si", label: "Sinhalese" },
];

i18n
Expand Down
Loading