Preparing a translated document