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:
107
messages/en.json
Normal file
107
messages/en.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"navigation": {
|
||||
"home": "Home",
|
||||
"bible": "Bible",
|
||||
"prayers": "Prayers",
|
||||
"search": "Search",
|
||||
"profile": "Profile",
|
||||
"settings": "Settings",
|
||||
"logout": "Logout",
|
||||
"language": "Language"
|
||||
},
|
||||
"chat": {
|
||||
"title": "Biblical AI Chat",
|
||||
"subtitle": "Assistant for biblical questions",
|
||||
"placeholder": "Ask your biblical question...",
|
||||
"loading": "Writing response...",
|
||||
"send": "Send",
|
||||
"minimize": "Minimize",
|
||||
"close": "Close",
|
||||
"openFullPage": "Open full page",
|
||||
"enterToSend": "Enter to send • Shift+Enter for new line",
|
||||
"suggestions": {
|
||||
"title": "Suggested questions:",
|
||||
"questions": [
|
||||
"What does the Bible say about love?",
|
||||
"Explain the parable of the sower",
|
||||
"What are the fruits of the Spirit?",
|
||||
"What does it mean to be born again?",
|
||||
"How can I pray better?"
|
||||
]
|
||||
}
|
||||
},
|
||||
"home": {
|
||||
"hero": {
|
||||
"title": "Biblical Guide",
|
||||
"subtitle": "Explore Scripture with artificial intelligence",
|
||||
"description": "A modern platform for Bible study, with intelligent AI chat, advanced search, and a prayer community that supports you on your spiritual journey.",
|
||||
"cta": {
|
||||
"readBible": "Start reading",
|
||||
"askAI": "Ask AI"
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"title": "Discover the features",
|
||||
"subtitle": "Everything you need for a complete Bible study experience",
|
||||
"bible": {
|
||||
"title": "Read the Bible",
|
||||
"description": "Explore Scripture with a modern and easy-to-use interface"
|
||||
},
|
||||
"chat": {
|
||||
"title": "AI Chat",
|
||||
"description": "Ask questions about Scripture and receive clear answers"
|
||||
},
|
||||
"prayers": {
|
||||
"title": "Prayers",
|
||||
"description": "Share prayers and pray together with the community"
|
||||
},
|
||||
"search": {
|
||||
"title": "Search",
|
||||
"description": "Search for verses and passages throughout Scripture"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
"books": "Biblical books",
|
||||
"verses": "Verses",
|
||||
"aiAvailable": "AI Chat available"
|
||||
},
|
||||
"cta": {
|
||||
"title": "Begin your spiritual journey",
|
||||
"description": "Join our community and discover the wisdom of Scripture",
|
||||
"startNow": "Start now"
|
||||
}
|
||||
},
|
||||
"pages": {
|
||||
"bible": {
|
||||
"title": "Bible",
|
||||
"selectBook": "Select book",
|
||||
"selectChapter": "Select chapter",
|
||||
"verse": "Verse",
|
||||
"chapter": "Chapter"
|
||||
},
|
||||
"prayers": {
|
||||
"title": "Prayers",
|
||||
"addRequest": "Add prayer request",
|
||||
"anonymous": "Anonymous",
|
||||
"prayFor": "Pray for this"
|
||||
},
|
||||
"search": {
|
||||
"title": "Search",
|
||||
"placeholder": "Search the Bible...",
|
||||
"results": "Results",
|
||||
"noResults": "No results found"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"loading": "Loading...",
|
||||
"error": "An error occurred",
|
||||
"save": "Save",
|
||||
"cancel": "Cancel",
|
||||
"delete": "Delete",
|
||||
"edit": "Edit",
|
||||
"close": "Close",
|
||||
"back": "Back",
|
||||
"next": "Next",
|
||||
"previous": "Previous"
|
||||
}
|
||||
}
|
||||
107
messages/ro.json
Normal file
107
messages/ro.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"navigation": {
|
||||
"home": "Acasă",
|
||||
"bible": "Biblia",
|
||||
"prayers": "Rugăciuni",
|
||||
"search": "Căutare",
|
||||
"profile": "Profil",
|
||||
"settings": "Setări",
|
||||
"logout": "Deconectare",
|
||||
"language": "Limba"
|
||||
},
|
||||
"chat": {
|
||||
"title": "Chat AI Biblic",
|
||||
"subtitle": "Asistent pentru întrebări biblice",
|
||||
"placeholder": "Scrie întrebarea ta despre Biblie...",
|
||||
"loading": "Scriu răspunsul...",
|
||||
"send": "Trimite",
|
||||
"minimize": "Minimizează",
|
||||
"close": "Închide",
|
||||
"openFullPage": "Deschide în pagină completă",
|
||||
"enterToSend": "Enter pentru a trimite • Shift+Enter pentru linie nouă",
|
||||
"suggestions": {
|
||||
"title": "Întrebări sugerate:",
|
||||
"questions": [
|
||||
"Ce spune Biblia despre iubire?",
|
||||
"Explică-mi parabola semănătorului",
|
||||
"Care sunt fructele Duhului?",
|
||||
"Ce înseamnă să fii născut din nou?",
|
||||
"Cum pot să mă rog mai bine?"
|
||||
]
|
||||
}
|
||||
},
|
||||
"home": {
|
||||
"hero": {
|
||||
"title": "Ghid Biblic",
|
||||
"subtitle": "Explorează Scriptura cu ajutorul inteligenței artificiale",
|
||||
"description": "O platformă modernă pentru studiul Bibliei, cu chat AI inteligent, căutare avansată și o comunitate de rugăciune care te sprijină în călătoria ta spirituală.",
|
||||
"cta": {
|
||||
"readBible": "Începe să citești",
|
||||
"askAI": "Întreabă AI"
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"title": "Descoperă funcționalitățile",
|
||||
"subtitle": "Totul de ce ai nevoie pentru o experiență completă de studiu biblic",
|
||||
"bible": {
|
||||
"title": "Citește Biblia",
|
||||
"description": "Explorează Scriptura cu o interfață modernă și ușor de folosit"
|
||||
},
|
||||
"chat": {
|
||||
"title": "Chat cu AI",
|
||||
"description": "Pune întrebări despre Scriptură și primește răspunsuri clare"
|
||||
},
|
||||
"prayers": {
|
||||
"title": "Rugăciuni",
|
||||
"description": "Partajează rugăciuni și roagă-te împreună cu comunitatea"
|
||||
},
|
||||
"search": {
|
||||
"title": "Căutare",
|
||||
"description": "Caută versete și pasaje din întreaga Scriptură"
|
||||
}
|
||||
},
|
||||
"stats": {
|
||||
"books": "Cărți biblice",
|
||||
"verses": "Versete",
|
||||
"aiAvailable": "Chat AI disponibil"
|
||||
},
|
||||
"cta": {
|
||||
"title": "Începe călătoria ta spirituală",
|
||||
"description": "Alătură-te comunității noastre și descoperă înțelepciunea Scripturii",
|
||||
"startNow": "Începe acum"
|
||||
}
|
||||
},
|
||||
"pages": {
|
||||
"bible": {
|
||||
"title": "Biblia",
|
||||
"selectBook": "Selectează cartea",
|
||||
"selectChapter": "Selectează capitolul",
|
||||
"verse": "Versetul",
|
||||
"chapter": "Capitolul"
|
||||
},
|
||||
"prayers": {
|
||||
"title": "Rugăciuni",
|
||||
"addRequest": "Adaugă cerere de rugăciune",
|
||||
"anonymous": "Anonim",
|
||||
"prayFor": "Mă rog pentru aceasta"
|
||||
},
|
||||
"search": {
|
||||
"title": "Căutare",
|
||||
"placeholder": "Caută în Biblie...",
|
||||
"results": "Rezultate",
|
||||
"noResults": "Nu s-au găsit rezultate"
|
||||
}
|
||||
},
|
||||
"common": {
|
||||
"loading": "Se încarcă...",
|
||||
"error": "A apărut o eroare",
|
||||
"save": "Salvează",
|
||||
"cancel": "Anulează",
|
||||
"delete": "Șterge",
|
||||
"edit": "Editează",
|
||||
"close": "Închide",
|
||||
"back": "Înapoi",
|
||||
"next": "Următorul",
|
||||
"previous": "Anterior"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user