Copywriting processing method, system, computer device, readable storage medium, and program product

By obtaining the internationalization configuration file on the development side and generating a pre-translated file using a translation assistance tool, and then sharing it to the translation assistance side for translation processing, the problems of low efficiency and poor accuracy in multilingual copywriting processing are solved, and an efficient and accurate copywriting translation process is achieved.

WO2026092751A1PCT designated stage Publication Date: 2026-05-07SF TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
SF TECH CO LTD
Filing Date
2025-11-04
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

In existing technologies, the processing of multilingual documents requires relevant personnel to send translation files back and forth, resulting in low efficiency and a high risk of errors.

Method used

The internationalization configuration file and translation assistance terminal identifier are obtained from the development side. A pre-translated file is generated using translation assistance tools and shared to the translation assistance terminal through a sharing platform for translation assistance processing, ultimately forming the target translated file.

Benefits of technology

It improved the efficiency and accuracy of copywriting translation, reduced manual intervention, and facilitated collaborative development throughout the entire copywriting translation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025132345_07052026_PF_FP_ABST
    Figure CN2025132345_07052026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a copywriting processing method, a system, a device, a computer-readable storage medium, and a computer program product. The method comprises: on the basis of copywriting processing configuration information, acquiring an internationalization configuration file to be processed and a translation assistance end identifier, wherein said internationalization configuration file comprises a copywriting identifier of copywriting to be processed, copywriting in a current language, and a target language; obtaining a pre-translated file on the basis of said internationalization configuration file and a translation assistance tool, wherein the pre-translated file comprises a copywriting identifier, copywriting in the current language, and pre-translated copywriting in the target language; sharing the pre-translated file to a translation assistance end on the basis of the translation assistance end identifier; performing translation assistance processing on the pre-translated copywriting by means of the translation assistance end to obtain a target translated file, wherein the target translated file comprises a copywriting identifier, copywriting in the current language, and translated copywriting in the target language; and finally obtaining a target internationalization configuration file on the basis of the target translated file.
Need to check novelty before this filing date? Find Prior Art

Description

Document processing methods, systems, computer equipment, readable storage media, and program products

[0001] Related applications

[0002] This application claims priority to Chinese patent application filed on November 4, 2024, application number 202411563609X, entitled "Text Processing Method, System, Computer Equipment, Readable Storage Medium and Program Product", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of software technology, and in particular to a document processing method, system, computer device, readable storage medium, and program product. Background Technology

[0004] Internationalization is a common feature in many software systems, and the maintenance of multilingual documentation is a very important capability in internationalization.

[0005] In related technologies, developers compile the original text (which can be in Chinese), then send it to translators to translate it into other languages. The translated text is then sent back to the developers for integration into the project, allowing the project to switch languages ​​and display the corresponding text. However, this method of text processing requires personnel to send translation files back and forth, is prone to errors, and suffers from low efficiency and accuracy in text processing. Summary of the Invention

[0006] According to various embodiments of this application, a document processing method, system, computer device, readable storage medium, and program product are provided.

[0007] Firstly, this application provides a text processing method, comprising: obtaining an internationalization configuration file to be processed and a translation assistance terminal identifier based on text processing configuration information; the internationalization configuration file to be processed includes a text identifier of the text to be processed, the text in the current language, and the target language; obtaining a pre-translated file based on the internationalization configuration file to be processed and a translation assistance tool; the pre-translated file includes a text identifier, the text in the current language, and the pre-translated text in the target language; sharing the pre-translated file to the translation assistance terminal based on the translation assistance terminal identifier; obtaining a target translated file based on the translation assistance processing of the pre-translated text in the pre-translated file by the translation assistance terminal; the target translated file includes a text identifier, the text in the current language, and the translated text in the target language; the translated text is determined based on the translation assistance processing; and obtaining a target internationalization configuration file based on the target translated file.

[0008] Secondly, this application also provides a document processing system, including: a development end, a sharing platform, and a translation assistance end; wherein,

[0009] On the development side, based on the text processing configuration information, the internationalization configuration file to be processed and the translation assistance tool identifier are obtained. The internationalization configuration file to be processed includes the text identifier of the text to be processed, the text in the current language, and the target language. Based on the internationalization configuration file to be processed and the translation assistance tool, a pre-translated file is obtained. The pre-translated file includes the text identifier, the text in the current language, and the pre-translated text in the target language.

[0010] The development side is also used to share the pre-translated file to the translation assistance terminal through the sharing platform based on the translation assistance terminal identifier;

[0011] Translation assistance terminal, used to assist in the translation of pre-translated text in pre-translated files;

[0012] On the development side, it is also used to obtain the target translation file based on the translation assistance processing of the pre-translated text in the pre-translated file from the translation assistance side; the target translation file includes text identifiers, text in the current language, and translated text in the target language; the translated text is determined based on the translation assistance processing.

[0013] On the development side, it is also used to obtain the target internationalization configuration file based on the target translation file.

[0014] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the document processing method described above.

[0015] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the document processing method described above.

[0016] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the operation of the document processing method described above.

[0017] Details of one or more embodiments of this application are set forth in the following drawings and description. Other features, objects, and advantages of this application will become apparent from the specification, drawings, and claims. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments or conventional technologies of this application, the accompanying drawings used in the description of the embodiments or conventional technologies will be briefly introduced below. Obviously, the accompanying drawings described below are merely embodiments of this application. For those skilled in the art, other drawings can be obtained based on the disclosed drawings without creative effort. The additional details or examples used to describe the drawings should not be considered as a limitation on the scope of any of the disclosed invention, the currently described embodiments and / or examples, and the best mode of these inventions as currently understood.

[0019] Figure 1 is an application environment diagram of the document processing method according to one or more embodiments.

[0020] Figure 2 is a flowchart illustrating a document processing method according to one or more embodiments.

[0021] Figure 3 is a flowchart illustrating the operation of obtaining the internationalization configuration file to be processed according to one or more embodiments.

[0022] Figure 4 is a timing diagram of a document processing method according to one or more embodiments.

[0023] Figure 5 is an internal structural diagram of a computer device according to one or more embodiments. Detailed Implementation

[0024] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0025] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0026] Internationalization is a common feature in many software systems, and the maintenance of multilingual documentation is a crucial capability within this framework. Typically, developers compile the original documentation in its original language (e.g., Chinese) and then send it to translators for collaborative translation into other languages. The translators then return the translated documentation to the developers for integration into the project, allowing for language switching within the project. However, this collaborative maintenance method requires personnel to repeatedly send and receive translation files, resulting in a heavy workload, low efficiency, and a high risk of errors. Therefore, this application provides a document processing method to improve the efficiency and accuracy of document translation.

[0027] The document processing method provided in this application embodiment can be applied to the application environment shown in Figure 1. This application environment can be a document processing system, which may include a development end, a sharing platform, and a translation assistance end. The sharing platform can communicate with both the development end and the translation assistance end via a network. A data storage system can store the data that the sharing platform needs to process. The data storage system can be integrated into the sharing platform or placed in the cloud or on other network servers. The development end can be a terminal used by developers, the translation assistance end can be a terminal used by translators, and the sharing platform can be used by the development end to share relevant files to the translation assistance end. The development end and the translation assistance end can be, but are not limited to, various personal computers and laptops. The sharing platform can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0028] In an exemplary embodiment, as shown in Figure 2, a text processing method is provided. Taking the application of this method to the development end in Figure 1 as an example, the method may include the following operations:

[0029] Operation S201 retrieves the internationalization configuration file and translation assistance terminal identifier to be processed based on the document processing configuration information. The internationalization configuration file to be processed includes the document identifier of the document to be processed, the document in the current language, and the target language.

[0030] The text processing configuration information is used to configure text processing, allowing the development team to automate text processing. This configuration information can include directory information of the text to be processed, the current language, the target language, the format of the internationalization configuration file (e.g., json, js, ts, properties, etc.), and the translation assistance terminal identifier. This information can be set by developers on the development team, who can then generate the text processing configuration information via commands.

[0031] The internationalization configuration file to be processed refers to the internationalization configuration file to be translated. The internationalization configuration file can also be referred to as an i18n (short for "Internationalization") configuration file, and its format can be json, js, ts, properties, etc., which can be determined by the format of the internationalization configuration file included in the copy processing configuration information. This internationalization configuration file to be processed can include the copy identifier of the copy to be processed, the copy in the current language, and the target language. The target language can be determined by the target language included in the copy processing configuration information. The copy identifier of the copy to be processed is the identifier of the copy to be translated, which can be used to uniquely identify the copy during translation processing. The current language in the copy can be determined by the current language included in the copy processing configuration information, and the copy in the current language can be obtained based on the directory information included in the copy processing configuration information. Therefore, the internationalization configuration file to be processed, including the copy identifier of the copy to be processed, the copy in the current language, and the target language, can be obtained based on the copy processing configuration information.

[0032] As an example, the data in the internationalization configuration file to be processed can be in a JSON structure. The first layer can be the current language and the target language. Its data structure can be key-value pairs (identifier + text). The key can be the text identifier of the text to be processed, and the value can include the text in the current language and the relevant translated text in the target language. At this time, the data of the relevant translated text in the target language can be empty, and it will be used for subsequent translation processing. This is more efficient and accurate than having developers organize the text of the relevant languages ​​to be processed.

[0033] The translation assistance terminal identifier refers to the identifier of the translation assistance terminal. The translation assistance terminal can be a terminal used by translators, and its identifier can be the translator's relevant information. For example, as shown in Figure 1, the translation assistance terminal can access relevant files shared by a sharing platform. Translators can obtain these files through their user account on the sharing platform, and their user account on the sharing platform can be used as the translation assistance terminal identifier. This translation assistance terminal identifier can be determined by the translation assistance terminal identifier included in the document processing configuration information. This translation assistance terminal identifier included in the document processing configuration information can be set by the developers.

[0034] Therefore, in this operation, the development team can obtain the text identifier of the text to be processed, the text in the current language, the internationalization configuration file of the target language, and the translation assistance end identifier based on the text processing configuration information.

[0035] In step S202, based on the internationalization configuration file to be processed and the translation assistance tool, a pre-translated file is obtained. This pre-translated file includes the aforementioned text identifiers, the text in the current language, and the pre-translated text in the target language.

[0036] Translation assistance tools refer to tools that can be used to translate text into the target language. There can be one or more translation assistance tools. These tools can assist translators in their work, improving translation efficiency and accuracy.

[0037] The development team can extract the text identifier, the current language text, and the target language text from the internationalization configuration file to be processed. Based on the text identifier, a translation assistance tool can be used to obtain a pre-translated text in the target language for each text in the current language. This pre-translated text refers to the translation result of the translation assistance tool on the text in the current language in the target language. In this way, the text identifier, the current language text, and the pre-translated text in the target language can be obtained, which can serve as a reference for subsequent translation assistance personnel.

[0038] Therefore, the development team can obtain a pre-translated file containing the text identifier of the text to be processed, the text in the current language, and the pre-translated text in the target language, based on the text identifier of the text to be processed, the text in the current language, and the pre-translated text in the target language.

[0039] As an example, the development team can extract the text identifier, the text in the current language, and the target language of the text to be processed based on the internationalization configuration file to be processed. The text identifier and the text in the current language can be written into a spreadsheet file, for example. Then, based on the text identifier, a translation assistance tool can be used to obtain the pre-translated text in the target language for each text in the current language. The pre-translated text in the target language can then be written into a spreadsheet file based on the text identifier. This spreadsheet file can serve as a pre-translation file. This results in a pre-translation file that includes the text identifier, the text in the current language, and the pre-translated text in the target language. This pre-translation file can be stored locally on the development team.

[0040] In step S203, the pre-translated file is shared to the translation assistance terminal based on the translation assistance terminal identifier.

[0041] As shown in Figure 1, the developer can upload the pre-translated file to the sharing platform for sharing. The developer can add the translation assistance end to the sharing process of the pre-translated file according to the translation assistance end identifier. The developer can also send a notification message through the sharing platform to notify the translation assistance end to assist in the translation processing of the pre-translated file.

[0042] In step S204, the target translation file is obtained based on the translation assistance processing of the pre-translated text in the pre-translated file by the translation assistance terminal. The target translation file includes the aforementioned text identifier, the text in the current language, and the translated text in the target language; the translated text is determined based on the translation assistance processing.

[0043] The pre-translated file may include a text identifier, the text in the current language, and a pre-translated text in the target language. The translation assistance terminal can display the pre-translated file, and the translation assistance personnel on the translation assistance terminal can perform translation assistance processing on the displayed pre-translated text. For example, they can revise the pre-translated text and then confirm it or confirm it directly. In this way, the translated text in the target language can be obtained. The translated text can be the pre-translated text that the translation assistance personnel directly confirm, or it can be the revised translated text that the pre-translated text revises and then confirms.

[0044] This yields a target translation file containing textual identifiers, the text in the current language, and the translated text in the target language.

[0045] As an example, after the translation assistance end processes the translation of the pre-translated text in the pre-translated file, the target translation file can be obtained on the sharing platform. The development end can download the target translation file from the sharing platform. The development end can also store the target translation file locally on the development end, which can overwrite the aforementioned pre-translated file.

[0046] Operation S205 generates the target internationalization configuration file based on the target translation file.

[0047] The target translation file can be a spreadsheet file, and the target internationalization configuration file can be an i18n configuration file in formats such as JSON, JS, TS, or properties. The development team can adapt the spreadsheet file to the i18n configuration file format by creating a template according to the corresponding file format to convert the target translation file into the target internationalization configuration file. Once the target internationalization configuration file is obtained, it can be directly applied to the corresponding software system project.

[0048] The document processing method in this embodiment can obtain the internationalization configuration file to be processed and the translation assistance terminal identifier according to the document processing configuration information. It can first obtain the pre-translated document in the target language with the help of translation assistance tools, and then share the pre-translated file to the translation assistance terminal so that translation assistance personnel can assist in the translation processing of the pre-translated document in the pre-translated file. In this way, the translation document in the target language can be obtained and the target internationalization configuration file can be formed accordingly, thereby improving the efficiency and accuracy of document translation processing.

[0049] In an exemplary embodiment, as shown in FIG3, the step of S201, obtaining the internationalization configuration file to be processed based on the text processing configuration information, may include:

[0050] Operation S301 retrieves the text in the current language from the files in the target directory based on the directory information and the current language in the text processing configuration information.

[0051] The directory information can be the directory information of the target directory where the text to be extracted and processed is located, which can be used to locate the target directory where the text to be extracted and processed is located.

[0052] The target directory is the directory containing the text to be extracted and processed.

[0053] In this operation, the text processing configuration information can include directory information and the current language. The development team can scan files (partially or entirely) in the corresponding target directory based on the directory information and the current language included in the text processing configuration, and use regular expressions to identify the text in the current language from the files.

[0054] Operation S302 determines the text identifier corresponding to the text in the current language.

[0055] In this operation, the development team can assign a unique text identifier to the text in the current language.

[0056] Operation S303 generates the internationalization configuration file to be processed based on the text identifier, the text in the current language, and the target language in the text processing configuration information.

[0057] In this operation, the development team can write the text identifier, the text in the current language, and the target language in the text processing configuration information into a spreadsheet file to obtain the internationalization configuration file to be processed.

[0058] The solution in this embodiment can automatically scan and identify the text in the current language based on the text processing configuration information, and generate an internationalization configuration file to be processed by combining the text identifier and the target language. This requires less manual intervention and improves the efficiency and accuracy of text processing.

[0059] In an exemplary embodiment, determining the text identifier corresponding to the text in the current language in operation S302 may include:

[0060] Get the file identifier of the file containing the text in the current language; obtain the text identifier based on the file identifier, directory information, and timestamp.

[0061] The file identifier refers to the identifier of the file containing the text in the current language, and the file name can be used as the file identifier.

[0062] The directory information may include the name of the parent directory of the file containing the text in the current language.

[0063] The timestamp can be the timestamp of the text obtained in the current language.

[0064] In this embodiment, the developer can concatenate directory information, file identifier, and timestamp to obtain a text identifier, which is used to uniquely identify the text to be processed. As an example, the developer can concatenate the parent directory name of the file containing the text in the current language, the file name of the file, and the timestamp of the text obtained in the current language to obtain a text identifier, further improving the accuracy of text processing.

[0065] In one exemplary embodiment, the translation assistance tool may include a translation document library; the operation in S202, obtaining a pre-translated file based on the internationalization configuration file to be processed and the translation assistance tool, may include:

[0066] Based on the text identifier, obtain the pre-translated text in the target language corresponding to the text in the current language from the translation text library; based on the text identifier, the text in the current language, and the pre-translated text in the target language, obtain the pre-translated file.

[0067] The translation database can be a collection of texts in the current language and their corresponding translations in multiple languages. Therefore, the database allows users to obtain the translations of texts in the current language into the target language.

[0068] In this embodiment, the development team needs to obtain the pre-translated text in the target language based on the text identifier. This allows for the accurate acquisition of the pre-translated text in the target language for each text in the current language. Specifically, the development team can match the corresponding text in the current language with the target language in the translation text library based on the text identifier, obtaining the translated text in the target language in the translation text library. This translated text is then used as the pre-translated text in the target language under the aforementioned text identifier. Thus, based on the text identifier, the text in the current language, and the pre-translated text in the target language, a pre-translated file can be obtained.

[0069] In an exemplary embodiment, after obtaining the target translation file by performing translation assistance processing on the pre-translated text in the pre-translated file according to the translation assistance terminal in operation S204, the method may further include:

[0070] Based on the current language text and the target language translation text in the target translation file, update the target language translation text in the translation text library corresponding to the current language text.

[0071] In this embodiment, the development team can utilize a translation document library to assist translators in ultimately generating the target language translation document, which is contained within the target translation file. To this end, after determining the target translation file (which can be a spreadsheet file), on the one hand, a target internationalization configuration file can be generated based on the target translation file and applied. On the other hand, the development team can also update the aforementioned translation document library based on the current language document and the target language translation document in the target translation file. This updates the target language translation document corresponding to the current language document in the translation document library to the target language translation document corresponding to the current language document in the target translation file, thereby providing the translation document library with stronger and more accurate translation capabilities in subsequent processes, improving the accuracy and efficiency of document translation processing.

[0072] In an exemplary embodiment, the translation assistance tool may include an artificial intelligence translation tool; the step S202, obtaining a pre-translated file based on the internationalization configuration file to be processed and the translation assistance tool, may include:

[0073] Based on text identifiers, an AI translation tool is used to obtain a pre-translated text in the target language corresponding to the text in the current language; based on the text identifiers, the text in the current language, and the pre-translated text in the target language, a pre-translated document is obtained.

[0074] Among these, AI translation tools are tools based on artificial intelligence capable of translating text in the current language into multiple other languages. These AI translation tools can provide interfaces for invocation. Thus, by invoking the AI ​​translation tool's interface, one can obtain the translated text in the target language corresponding to the text in the current language.

[0075] In this embodiment, the development end also needs to obtain the pre-translated text in the target language based on the text identifier. This allows for the accurate acquisition of the pre-translated text in the target language for each text in the current language. Specifically, the development end can input the corresponding text in the current language and the target language into the AI ​​translation tool via the AI ​​translation tool's interface, based on the text identifier. After obtaining the translated text in the target language, the AI ​​translation tool can send the translated text back to the development end. The development end can then use this translated text as the pre-translated text in the target language corresponding to the text in the current language. Thus, based on the text identifier, the text in the current language, and the pre-translated text in the target language, a pre-translated file can be obtained.

[0076] It should be understood that although the operations in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these operations are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these operations, and they can be executed in other orders. Moreover, at least some of the operations in the flowcharts of the embodiments described above may include multiple operations or multiple stages. These operations or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these operations or stages is not necessarily sequential, but can be performed alternately or in turn with other operations or at least some of the operations or stages in other operations.

[0077] In an exemplary embodiment, referring to FIG1, a document processing system is also provided, which may include: a development end, a sharing platform, and a translation assistance end; wherein:

[0078] On the development side, it can be used to obtain the internationalization configuration file to be processed and the translation assistance tool identifier based on the text processing configuration information. The internationalization configuration file to be processed can include the text identifier of the text to be processed, the text in the current language, and the target language. Based on the internationalization configuration file to be processed and the translation assistance tool, a pre-translated file is obtained. The pre-translated file can include the text identifier, the text in the current language, and the pre-translated text in the target language.

[0079] On the development side, it can also be used to share pre-translated files to the translation assistance end via a sharing platform based on the translation assistance end identifier.

[0080] The translation assistance module can be used to assist in the translation of pre-translated text in pre-translated files.

[0081] On the development side, it can also be used to process the pre-translated text in the pre-translated file based on the translation assistance from the translation assistance end, to obtain the target translation file. The target translation file may include text identifiers, text in the current language, and translated text in the target language; the translated text can be determined based on the translation assistance processing.

[0082] On the development side, it can also be used to obtain the target internationalization configuration file based on the target translation file.

[0083] In this embodiment, the processing of the text by the development end, sharing platform, and translation assistance end can be performed with reference to the relevant descriptions in the foregoing method embodiments. As an example, Figure 4 illustrates the text processing system's text processing. The text processing process of the text processing system may include:

[0084] By operating S401, the development end can obtain the text in the current language from the directory information in the text processing configuration information and the file in the target directory for the current language. It can also obtain the file identifier of the file containing the text in the current language. Based on the file identifier, directory information and timestamp, it can obtain the text identifier. Based on the text identifier, the text in the current language and the target language in the text processing configuration information, it can obtain the internationalization configuration file to be processed.

[0085] By using Operation S402, the development team can obtain a pre-translated file based on the internationalization configuration file to be processed and the translation assistance tools. These translation assistance tools can include a translation document library or an AI translation tool. The development team can retrieve the pre-translated target language text corresponding to the current language text from the translation document library based on the document identifier, or it can retrieve the pre-translated target language text corresponding to the current language text from the AI ​​translation tool based on the document identifier. Thus, a pre-translated file is obtained based on the document identifier, the current language text, and the pre-translated target language text.

[0086] By operating S403, the development team can upload the pre-translated file to the sharing platform for sharing, and add the translation assistance end to the sharing processing of the pre-translated file according to the translation assistance end identifier in the document processing configuration information.

[0087] By using S404, the sharing platform can send a notification message to the translation assistance end to assist in the translation processing of the pre-translated file.

[0088] By operating S405, the translation assistance terminal can display the pre-translated file.

[0089] By operating S406, the translation assistance personnel on the translation assistance end can process the displayed pre-translated text, either by revising and confirming it or by directly confirming it. This process yields a target translation file containing text identifiers, the current language text, and the target language translation text. After the translation assistance end processes the pre-translated text in the pre-translated file, the target translation file is available on the sharing platform.

[0090] By using S407, the development team can download the target translation file from the shared platform.

[0091] By operating S408, the development end can also store the target translation file locally on the development end, which can overwrite the aforementioned pre-translated file. The development end can obtain the target internationalization configuration file based on the target translation file, and after obtaining the target internationalization configuration file, it can be directly applied to the corresponding software system project.

[0092] By operating S409, the development team can also update the translation document library in the translation assistance tool based on the current language text and the target language translation text in the target translation file. This will update the target language translation text corresponding to the current language text in the translation document library to the target language translation text corresponding to the current language text in the target translation file. This will provide the translation document library with stronger and more accurate translation capabilities in the future, and improve the accuracy and efficiency of text translation processing.

[0093] In this embodiment, the acquisition of the text in the current language and its entire translation process in the target language do not require much human intervention. Furthermore, a translation assistance tool provides pre-translated files as a reference when translators perform translations through a shared platform. This not only streamlines the entire collaborative development process of text translation but also improves the efficiency and accuracy of the text translation process.

[0094] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram is shown in Figure 5. The computer device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a document processing method. The display unit of the computer device is used to form a visually visible image and may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0095] Those skilled in the art will understand that the structure shown in Figure 5 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or may combine certain components, or may have different component arrangements.

[0096] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the operations described in the above method embodiments.

[0097] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, performs the operations described in the above method embodiments.

[0098] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the operations described in the above method embodiments.

[0099] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0100] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0101] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0102] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A document processing method, the method comprising: Based on the text processing configuration information, obtain the internationalization configuration file to be processed and the translation assistance terminal identifier; The internationalization configuration file to be processed includes the text identifier of the text to be processed, the text in the current language, and the target language; Based on the internationalization configuration file to be processed and the translation assistance tool, a pre-translated file is obtained; the pre-translated file includes the text identifier, the text in the current language, and the pre-translated text in the target language; Based on the translation assistance terminal identifier, the pre-translated file is shared to the translation assistance terminal; The target translation file is obtained by the translation assistance terminal performing translation assistance processing on the pre-translated text in the pre-translated file; the target translation file includes the text identifier, the text in the current language, and the translated text in the target language; The translated text is determined based on the translation assistance process; Based on the target translation file, the target internationalization configuration file is obtained.

2. The method according to claim 1, wherein obtaining the internationalization configuration file to be processed based on the text processing configuration information includes: Based on the directory information and current language in the text processing configuration information, obtain the text in the current language from the files in the target directory; Determine the text identifier corresponding to the text in the current language; The internationalization configuration file to be processed is obtained based on the text identifier, the text in the current language, and the target language in the text processing configuration information.

3. The method according to claim 2, wherein determining the text identifier corresponding to the text in the current language includes: Obtain the file identifier of the file containing the text in the current language; The text identifier is obtained based on the file identifier, the directory information, and the timestamp.

4. The method according to claim 1, wherein the translation assistance tool includes a translation document library; the step of obtaining a pre-translated file based on the internationalization configuration file to be processed and the translation assistance tool includes: Based on the text identifier, obtain the pre-translated text in the target language corresponding to the text in the current language from the translated text library; The pre-translated document is obtained based on the text identifier, the text in the current language, and the pre-translated text in the target language.

5. The method according to claim 4, after obtaining the target translation file based on the translation assistance processing of the pre-translated text in the pre-translated file by the translation assistance terminal, the method further includes: Based on the current language text in the target translation file and the target language translation text, update the target language translation text in the translation text library corresponding to the current language text.

6. The method according to any one of claims 1 to 5, wherein the translation assistance tool includes an artificial intelligence translation tool; The process of obtaining a pre-translated file based on the internationalization configuration file to be processed and the translation assistance tool includes: Based on the text identifier, the AI ​​translation tool obtains the pre-translated text in the target language corresponding to the text in the current language; The pre-translated document is obtained based on the text identifier, the text in the current language, and the pre-translated text in the target language.

7. A document processing system, comprising: The development side, the sharing platform, and the translation assistance side; among them, The development end is used to obtain the internationalization configuration file to be processed and the translation assistance tool identifier according to the text processing configuration information; the internationalization configuration file to be processed includes the text identifier of the text to be processed, the text in the current language, and the target language; and obtains a pre-translated file according to the internationalization configuration file to be processed and the translation assistance tool; the pre-translated file includes the text identifier, the text in the current language, and the pre-translated text in the target language. The development end is also used to share the pre-translated file to the translation assistance end through the sharing platform according to the translation assistance end identifier; The translation assistance terminal is used to assist in the translation processing of the pre-translated text in the pre-translated file; The development end is also used to obtain a target translation file based on the translation assistance processing of the pre-translated text in the pre-translated file by the translation assistance end; the target translation file includes the text identifier, the text in the current language, and the translation text in the target language; the translation text is determined according to the translation assistance processing. The development end is also used to obtain the target internationalization configuration file based on the target translation file.

8. The system according to claim 7, wherein the development end is configured to obtain the text in the current language from the files in the target directory based on the directory information and the current language in the text processing configuration information; Determine the text identifier corresponding to the text in the current language; The internationalization configuration file to be processed is obtained based on the text identifier, the text in the current language, and the target language in the text processing configuration information.

9. The system according to claim 8, wherein the development end is used to obtain the file identifier of the file containing the text in the current language; and to obtain the text identifier based on the file identifier, the directory information, and the timestamp.

10. The system according to claim 7, wherein the translation assistance tool includes a translation document library; the development end is configured to obtain, based on the document identifier, a pre-translated document in the target language corresponding to the document in the current language from the translation document library; and to obtain the pre-translated file based on the document identifier, the document in the current language, and the pre-translated document in the target language.

11. The system according to claim 10, wherein the development end is further configured to update the translation text in the target language corresponding to the text in the current language in the target translation file and the translation text in the target language in the target translation file.

12. The system according to any one of claims 7 to 11, wherein the translation assistance tool includes an artificial intelligence translation tool; the development end is configured to obtain, based on the text identifier, a pre-translated text in the target language corresponding to the text in the current language through the artificial intelligence translation tool; and to obtain the pre-translated file based on the text identifier, the text in the current language, and the pre-translated text in the target language.

13. A computer device comprising a memory and a processor, the memory storing a computer program, the processor executing the computer program to perform the operation of the method according to any one of claims 1 to 6.

14. A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, performs the operation of the method according to any one of claims 1 to 6.

15. A computer program product comprising a computer program that, when executed by a processor, implements the operation of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Copywriting translation method and device, terminal and storage medium

    CN111241852A

  • Copywriting processing method and copywriting management center

    CN111914573A

  • Game translation text localization method

    CN115618886A

  • Code processing method and device, storage medium and program product

    CN116521169A

  • Translation system and method based on online communication interaction

    CN117195916A