Finalize multilingual routing and translations
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-03-07 14:10:30 +01:00
parent 1ad9ae9629
commit 7f4277d1d7
53 changed files with 2805 additions and 1382 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ import { NextIntlClientProvider } from "next-intl";
import { getMessages, setRequestLocale } from "next-intl/server";
import { notFound } from "next/navigation";
import { ThemeProvider } from "@/components/theme-provider";
import { routing } from "@/i18n/routing";
import { getDirection } from "@/lib/locale";
type LocaleLayoutProps = {
children: ReactNode;
@@ -37,7 +37,7 @@ export default async function LocaleLayout({
return (
<NextIntlClientProvider messages={messages}>
<ThemeProvider>{children}</ThemeProvider>
<div lang={locale} dir={getDirection(locale)}>{children}</div>
</NextIntlClientProvider>
);
}