Machine translating long texts is plagued with various difficulties including the small size of the context window, the dilution of attention and the inability to model cross-sentence dependencies. This paper proposes the multi-level attention model in long-text translation and aims at solving the above problems by developing the multi-level information processing model. The two types of attention in the model are for intra- and inter-sentence relationships and document-level context. Long-range dependency and integration of long text chunks are also employed to overcome semantic coherency problems in situations of long-range dependencies, aiming at maintaining semantic consistency of entire documents. The key novelty of this model is a hierarchical processing structure that mimics the way in which people read long-form writing, and divides difficult tasks into a number of sub-problems. From the above experiment results, it can be seen that this model has achieved great results compared with previous models for various datasets, particularly for very long text and document translation in specialized areas. The Model has achieved good results in translation of medical and legal documents. Though not quite as simple today, it is still simpler in terms of memory usage when processing long text data and is not very much slower in decoding speed than the base model. Hence, it has good technical features in terms of its practical applications for the task of long-text translation. The research has helped to make useful reference of document-level translation and given new thoughts on how to enhance the quality of high-quality translation system and extend the application field of machine translation in specialized area.