Search

CN-121997949-A - Document processing method, system, computer device, readable storage medium, and program product

CN121997949ACN 121997949 ACN121997949 ACN 121997949ACN-121997949-A

Abstract

The application relates to a document processing method, a document processing system, document processing equipment, a computer readable storage medium and a computer program product, and relates to the technical field of software. The application improves the efficiency and accuracy of the translation processing of the text. The method comprises the steps of obtaining an internationalization configuration file to be processed and a translation assisting end identifier according to file processing configuration information, wherein the internationalization configuration file comprises a file identifier of the file to be processed, a file of the current language and a target language, obtaining a pre-translation file according to the internationalization configuration file and the translation assisting tool, sharing the pre-translation file to the translation assisting end according to the translation assisting end identifier, obtaining a target translation file according to translation assisting processing of the pre-translation file by the translation assisting end, and finally obtaining the target internationalization configuration file according to the target translation file, wherein the target translation file comprises the file identifier, the file of the current language and the translation file of the target language.

Inventors

  • HOU DESHAN
  • HE SHENGQIANG
  • YANG BIAOLONG
  • LUO FEIHU
  • HU HANSHENG
  • LI ZHEN
  • LI QING
  • CHENG MENGMENG

Assignees

  • 顺丰科技有限公司

Dates

Publication Date
20260508
Application Date
20241104

Claims (10)

  1. 1. A document processing method, the method comprising: Acquiring an internationalization configuration file to be processed and a translation assisting end identifier according to the document processing configuration information, wherein the internationalization configuration file to be processed comprises a document identifier of the document to be processed, a document of the current language and a target language; obtaining a pre-translation file according to the internationalization configuration file to be processed and a translation assisting tool, wherein the pre-translation file comprises the file identifier, the file of the current language and the pre-translation file of the target language; Sharing the pre-translated file to a translation assisting end according to the translation assisting end identifier; Obtaining a target translation file according to translation assistance processing of the translation assistance terminal on the pre-translation file in the pre-translation file, wherein the target translation file comprises the file identifier, the current language file and the target language translation file; and obtaining a target internationalization configuration file according to the target translation file.
  2. 2. The method of claim 1, wherein the obtaining the internationalized profile to be processed according to the document processing configuration information comprises: according to the directory information and the current language in the file processing configuration information, acquiring the file of the current language from the file of the target directory; determining the document identification corresponding to the document of the current language; And obtaining the internationalized configuration file to be processed according to the document identification, the document of the current language and the target language in the document processing configuration information.
  3. 3. The method according to claim 2, wherein the determining the document identifier corresponding to the document of the current language includes: acquiring a file identifier of a file in which the file of the current language is located; and obtaining the document identification according to the document identification, the directory information and the time stamp.
  4. 4. The method of claim 1, wherein the translation assisting tool comprises a translation library, wherein the obtaining a pre-translated file according to the internationalized profile to be processed and the translation assisting tool comprises: Based on the text identification, obtaining a pre-translated text of the target language corresponding to the text of the current language from the translated text library; and obtaining the pre-translated file according to the document identification, the document of the current language and the pre-translated document of the target language.
  5. 5. The method according to claim 4, wherein after the translation assisting processing of the pre-translated document in the pre-translated document according to the translation assisting terminal obtains a target translated document, the method further comprises: and updating the translation document of the target language corresponding to the current language in the translation document library according to the current language in the target translation document and the translation document of the target language.
  6. 6. The method according to any one of claims 1 to 5, wherein the translation assisting tool comprises an artificial intelligence translation tool, wherein the obtaining a pre-translated file from the internationalized profile to be processed and the translation assisting tool comprises: Based on the document identification, acquiring a pre-translated document of the target language corresponding to the document of the current language through the artificial intelligent translation tool; and obtaining the pre-translated file according to the document identification, the document of the current language and the pre-translated document of the target language.
  7. 7. A document processing system is characterized by comprising a development terminal, a sharing platform and a translation assisting terminal, wherein, The development terminal is used for acquiring an internationalization configuration file to be processed and a translation assisting terminal identifier according to the document processing configuration information, wherein the internationalization configuration file to be processed comprises a document identifier of the document to be processed, a document of the current language and a target language; the development terminal is further used for sharing the pre-translated file to the translation assisting terminal through the sharing platform according to the translation assisting terminal identifier; the translation assisting terminal is used for assisting in the translation of the pre-translated document in the pre-translated document; The development terminal is further used for obtaining a target translation file according to the translation assisting processing of the translation assisting terminal on the pre-translation file in the pre-translation file, wherein the target translation file comprises the file identifier, the file of the current language and the translation file of the target language; The development end is further used for obtaining a target internationalization configuration file according to the target translation file.
  8. 8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 6 when the computer program is executed.
  9. 9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.
  10. 10. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 6.

Description

Document processing method, system, computer device, readable storage medium, and program product Technical Field The present application relates to the field of software technology, and in particular, to a document processing method, a document processing system, a computer device, a readable storage medium, and a program product. Background Internationalization is a common function in many software systems, and maintenance of multilingual documents is a very important capability of internationalization. In the traditional technology, a developer sorts out an original document (can be a Chinese document), then sends the original document to a translator to translate into other languages, and after translation, the translated language is returned to the developer to sort in a project, so that the project can be switched by languages, and the document of the corresponding language is displayed. However, the document is processed in this way, related personnel are required to send the translated document back and forth and the document is easy to make mistakes, and the technical problem of low document processing efficiency and accuracy exists. Disclosure of Invention In view of the foregoing, it is desirable to provide a document processing method, system, computer device, readable storage medium, and program product. The application provides a document processing method, which comprises the steps of obtaining an internationalized configuration file to be processed and a translation assisting end identifier according to document processing configuration information, wherein the internationalized configuration file to be processed comprises a document identifier of the document to be processed, a document of the current language and a target language, obtaining a pre-translated file according to the internationalized configuration file to be processed and a translation assisting tool, wherein the pre-translated file comprises the document identifier, the document of the current language and the pre-translated document of the target language, sharing the pre-translated file to the translation assisting end according to the translation assisting end identifier, obtaining a target translated file according to translation assisting processing of the pre-translated document in the pre-translated file by the translation assisting end, determining the target translated file according to the translation assisting processing, and obtaining the target internationalized configuration file according to the target translated file. In one embodiment, the internationalized configuration file to be processed is obtained according to the file processing configuration information, and the internationalized configuration file to be processed is obtained according to the directory information in the file processing configuration information and the current language, the file of the current language is obtained from the file of the target directory, the file identifier corresponding to the file of the current language is determined, and the internationalized configuration file to be processed is obtained according to the file identifier, the file of the current language and the target language in the file processing configuration information. In one embodiment, determining the document identifier corresponding to the document in the current language comprises obtaining the document identifier of the document in the current language, and obtaining the document identifier according to the document identifier, the directory information and the time stamp. In a second aspect, the application also provides a document processing system, which comprises a development end, a sharing platform and a translation assisting end, wherein, The system comprises a development terminal, a pre-translation file, a translation assisting tool and a processing terminal, wherein the development terminal is used for acquiring an internationalization configuration file to be processed and a translation assisting terminal identifier according to document processing configuration information; the development terminal is also used for sharing the pre-translated file to the translation assisting terminal through the sharing platform according to the translation assisting terminal identifier; the translation assisting end is used for assisting in the translation of the pre-translated version in the pre-translated file; The translation assisting terminal is used for assisting in translating the pre-translated version in the pre-translated file to obtain a target translated file, wherein the target translated file comprises a file identifier, a file in the current language and a translated file in the target language; the development end is also used for obtaining the target internationalization configuration file according to the target translation file. The application further provides computer equipment, which comprises a memory and a processor, wherein the m