We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b2b018 commit 1545072Copy full SHA for 1545072
1 file changed
lib/i18n-core.ts
@@ -3,7 +3,7 @@ export type Locale = (typeof supportedLocales)[number];
3
export const DEFAULT_LOCALE: Locale = "en";
4
export const LOCALE_COOKIE = "app-locale";
5
6
-export const localeMeta: Record<Locale, { dir: "ltr" | "rtl"; label: string }> = {
+export const localeMeta: Record<string, { dir: "ltr" | "rtl"; label: string }> = {
7
en: { dir: "ltr", label: "English" },
8
ar: { dir: "rtl", label: "\u0627\u0644\u0639\u0631\u0628\u064a\u0629" },
9
id: { dir: "ltr", label: "Bahasa Indonesia" },
0 commit comments