feature/components #1

Merged
behzadaslani merged 9 commits from feature/components into develop 2026-04-20 12:44:34 +00:00
5 changed files with 9 additions and 3 deletions
Showing only changes of commit cf2093bf34 - Show all commits

View File

@@ -1,5 +1,5 @@
{
"Home": {
"title": "goodbye"
"title": "مرحبا"
}
}

5
messages/fa.json Normal file
View File

@@ -0,0 +1,5 @@
{
"Home": {
"title": "سلام"
}
}

View File

@@ -1,5 +1,5 @@
{
"Home": {
"title": "hello"
"title": "مرحبا"
}
}

View File

@@ -4,6 +4,7 @@ export const localeDirectionMap: Record<string, Direction> = {
en: "ltr",
ar: "rtl",
ku: "rtl",
fa: "rtl",
};
export function getDirection(locale: string): Direction {

View File

@@ -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",
});