i18n implementation & Login i18n

This commit is contained in:
headlessdev
2025-04-28 23:19:55 +02:00
parent 58bd039635
commit ff49825eab
7 changed files with 183 additions and 17 deletions

View File

@@ -2,6 +2,8 @@ import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "@/components/theme-provider"
import {NextIntlClientProvider} from 'next-intl';
import {getLocale} from 'next-intl/server';
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -34,7 +36,9 @@ export default function RootLayout({
enableSystem
disableTransitionOnChange
>
{children}
<NextIntlClientProvider>
{children}
</NextIntlClientProvider>
</ThemeProvider>
</body>
</html>