Add ability to translate a module document.

Issue #49