Localize /[locale]/search page via next-intl; translate UI strings, filters, statuses; use bookTranslations to render book labels by locale; keep DB filters steady; support popular searches per locale.

This commit is contained in:
andupetcu
2025-09-20 18:08:43 +03:00
parent 71447d32c3
commit 0f31dfca8e
3 changed files with 127 additions and 36 deletions

View File

@@ -143,10 +143,55 @@
}
},
"search": {
"title": "Search",
"placeholder": "Search the Bible...",
"results": "Results",
"noResults": "No results found"
"title": "Search Scripture",
"subtitle": "Find verses and passages across the Bible",
"input": {
"placeholder": "Search words, phrases or references..."
},
"button": {
"search": "Search"
},
"filters": {
"title": "Filters",
"clear": "Clear",
"testament": "Testament",
"options": {
"all": "Whole Bible",
"old": "Old Testament",
"new": "New Testament"
},
"specificBooks": "Specific books"
},
"history": {
"title": "Recent searches"
},
"popular": {
"title": "Popular searches",
"items": [
"love",
"faith",
"hope",
"forgiveness",
"peace",
"prayer",
"wisdom",
"joy",
"patience",
"mercy"
]
},
"searching": "Searching...",
"results": "Results ({count})",
"relevance": "relevance",
"searchIn": "Searching in: {books}",
"noResults": {
"title": "No results found",
"description": "Try changing the search term or adjusting the filters."
},
"empty": {
"title": "Start searching Scripture",
"description": "Enter a word, a phrase, or a Bible reference to find relevant verses."
}
}
},
"common": {