fixed fa direction for multi language feature
This commit is contained in:
@@ -4,6 +4,7 @@ export const localeDirectionMap: Record<string, Direction> = {
|
||||
en: "ltr",
|
||||
ar: "rtl",
|
||||
ku: "rtl",
|
||||
fa: "rtl",
|
||||
};
|
||||
|
||||
export function getDirection(locale: string): Direction {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { defineRouting } from "next-intl/routing";
|
||||
|
||||
export const routing = defineRouting({
|
||||
locales: ["en", "ar", "ku"],
|
||||
locales: ["en", "ar", "ku", "fa"],
|
||||
defaultLocale: "en",
|
||||
localePrefix: "never",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user