Skip to content
Open
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
6 changes: 5 additions & 1 deletion src/locales/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ const loadTranslation = (lang: string) => {
return import("./translations/fi");
case "kr":
return import("./translations/kr");
case "bg":
return import("./translations/bg");
default:
return import("./translations/en");
}
Expand Down Expand Up @@ -109,7 +111,8 @@ export type LanguageType =
| "ua"
| "ge"
| "fi"
| "kr";
| "kr"
| "bg";

interface LanguageResource {
label: string;
Expand Down Expand Up @@ -154,6 +157,7 @@ const LANGUAGE_METADATA: Record<
sr: { label: "Српски", type: "sr" },
fi: { label: "Suomi", type: "fi" },
kr: { label: "한국어", type: "kr" },
bg: { label: "Български", type: "bg" },
};

// Cache for loaded translations
Expand Down