translate the documents