Implement complete multi-language support with Romanian/English
- Added next-intl for internationalization with Romanian as default locale - Restructured app directory with [locale] routing (/ro, /en) - Created comprehensive translation files for both languages - Fixed Next.js 15 async params compatibility in layout components - Updated all components to use proper i18n hooks and translations - Configured middleware for locale routing and fallbacks - Fixed FloatingChat component translation array handling - Restored complete home page with internationalized content - Fixed Material-UI Slide component prop error (mountOnExit → unmountOnExit) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,26 +1,7 @@
|
||||
import './globals.css'
|
||||
import type { Metadata } from 'next'
|
||||
import { MuiThemeProvider } from '@/components/providers/theme-provider'
|
||||
import FloatingChat from '@/components/chat/floating-chat'
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Ghid Biblic - Biblical Guide',
|
||||
description: 'A comprehensive Bible study application with AI chat capabilities',
|
||||
}
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="ro">
|
||||
<body>
|
||||
<MuiThemeProvider>
|
||||
{children}
|
||||
<FloatingChat />
|
||||
</MuiThemeProvider>
|
||||
</body>
|
||||
</html>
|
||||
)
|
||||
return children
|
||||
}
|
||||
Reference in New Issue
Block a user