In print, a bilingual edition can show its original and its translated texts on facing pages for comparison. On the Web, even when lines are narrow enough to display two paragraphs or stanzas side by side, there is often no easy way to emulate facing pages without modifying the page's overall layout.
translation-viewer aims to solve this problem. For now, its goal is to display a single poem in one or more translations. Future versions may add
- prose display,
- pairwise comparison of editions (not just original and translation), and
- explicit WordPress support.
See enclosed example.html
, or examine a live version.
translation-viewer includes Dennis McHenry's "New CSS for Formatting Poetry", for which I'm grateful.
translation-viewer assumes that you have an original text of n stanzas
and m >= 1 translations also of n stanzas. See example.html
for how
to format this text for translation-viewer to display.