Add Arabic RTL locale to commerce market configuration
davoodmehraban89 committed
Oct 13, 2026 at 23:08 UTC
5332102f75c56945847cb3492dee59ce896fd24e
1 file changed
+2
-1
commerce/src/config/markets.ts
+2
-1
@@ -8,10 +8,11 @@ export const MARKETS = {
8
} as const
9
10
export type MarketCode = keyof typeof MARKETS
11
-export type StoreLocale = "fa-IR" | "en"
11
+export type StoreLocale = "fa-IR" | "ar" | "en"
12
13
export const LOCALES = {
14
"fa-IR": { language: "fa", direction: "rtl" },
15
+ ar: { language: "ar", direction: "rtl" },
16
en: { language: "en", direction: "ltr" },
17
} as const
18