7. The method according to claim 1 and also comprising: applying, during preprocessing, a permutation of an order of at least some of: sentences; and clauses in the document; and storing a correct order of the sentences and the clauses in the document in the metadata.
1. A method comprising: preprocessing a document to be translated by a translation service by: identifying in the document information which is not to be translated, removing the not to be translated information from the document, associating each one unit of the not to be translated information with one placeholder which holds a place for the one unit of not to be translated in the document, replacing the not to be translated information with placeholders in the document, and storing the not to be translated information as metadata; sending the preprocessed document to the translation service for translation; receiving a translated version of the preprocessed document from the translation service; and postprocessing the received translated document by: retrieving the stored metadata, and replacing each one of the placeholders with its associated one unit of not to be translated information.