Building a bilingual webpage translator

A bilingual view should preserve the original document structure while inserting translated text near the corresponding paragraph.

Avoid translating code, URLs or editable fields without a clear user choice. Handle dynamic content without repeatedly duplicating translations.