Problem: English Bible translations lose information. The Greek New Testament has nuances — verb tenses, word roots, semantic ranges — that no single English word captures. Serious Bible students need access to the original Greek.
Solution: An interactive interlinear popup that shows every Greek word in a verse with its transliteration, Strong's number, and English gloss. Users can click words to expand definitions, explore alternative translations, and build a personal word-by-word translation.
Not included: Full grammatical parsing or syntax diagrams. This is word-level analysis, not sentence-level.
When a user opens the interlinear popup for a New Testament verse, they see every Greek word displayed as a card with its linguistic data.
User flow:
Per-word data displayed:
bsb_gloss or kjv_usage heuristic)Edge cases:
isAbsorbed flaginterlinear feature gate)sv_gloss for word alignment, meaningsNl for Dutch alternativesWord cards: Grid layout, each card showing Greek text (teal accent), transliteration, Strong's number, and gloss. Click to expand.
Expanded card: Full definition, "Also: ..." synonyms, selectable meaning chips, "Translated as" frequency list with clickable example verses.
Composed translation bar: Fixed at bottom — "YOUR TRANSLATION: [word1] [word2] ..."
API: GET /api/interlinear/{bookId}/{chapter}/{verse}?verseText=...&dutchVerseText=...
getGreekWords() — joins greek_words to verses, ordered by word_positionstrongs_greek entries via getStrongsGreekBatch()WordDisplay[] via buildGreekWordDisplays() in popup.tsDB tables: greek_words (word_position, transliteration, bsb_gloss, sv_gloss, strongs_number), strongs_greek (definition, transliteration, kjv_usage, definition_nl, meanings_nl)
Files:
apps/web/src/lib/components/bible/InterlinearPopup.svelte — main popupapps/web/src/routes/api/interlinear/[bookId]/[chapter]/[verse]/+server.ts — word data APIapps/web/src/lib/server/queries/greek-words.ts — getGreekWords()apps/web/src/lib/server/queries/strongs.ts — getStrongsGreekBatch()apps/web/src/lib/utils/popup.ts — buildGreekWordDisplays()apps/web/src/lib/utils/text.ts — extractGreekMeanings(), extractGreekGloss()Current: DONE Milestone: v2 Priority: High — signature Pro feature for serious Bible study
History:
Dependencies: