Skip to content

Commit 1545072

Browse files
committed
fix: change locale type to string to support Indonesian
1 parent 4b2b018 commit 1545072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/i18n-core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export type Locale = (typeof supportedLocales)[number];
33
export const DEFAULT_LOCALE: Locale = "en";
44
export const LOCALE_COOKIE = "app-locale";
55

6-
export const localeMeta: Record<Locale, { dir: "ltr" | "rtl"; label: string }> = {
6+
export const localeMeta: Record<string, { dir: "ltr" | "rtl"; label: string }> = {
77
en: { dir: "ltr", label: "English" },
88
ar: { dir: "rtl", label: "\u0627\u0644\u0639\u0631\u0628\u064a\u0629" },
99
id: { dir: "ltr", label: "Bahasa Indonesia" },

0 commit comments

Comments
 (0)