LibreOffice plugin to pipe whole Writer documents through Google Translate, that ought to keep most of the page formatting.
Command-List The "test-html-tokenize" command: Tokenize an HTML file. Return the offset and length and text of each token - one token per line. Omit white-space tokens.