One-stop multi-language modification method and system and computer equipment

By generating and binding multilingual content with positioning metadata in a multilingual system, users can directly edit the target control on the interface, and the server locates and replaces the text, solving the tedious problem of multilingual content modification and achieving efficient multilingual text replacement and a concise user experience.

CN120704778AActive Publication Date: 2025-09-26HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510702942.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-28
Publication Date
2025-09-26
Estimated Expiration
2045-05-28

AI Technical Summary

Technical Problem

In a multilingual system, modifying the multilingual content on a page is a cumbersome and inefficient process, requiring users to confirm application information and contact developers before locating a specific multilingual package for modification.

Method used

The server generates multilingual content containing original multilingual text and positioning metadata. The client binds the positioning metadata to the UI control. The user edits the target control on the user interface, and the server locates and replaces the multilingual text based on the positioning metadata.

Benefits of technology

It enables rapid replacement of multilingual texts, improves modification efficiency, simplifies operation processes, and maintains the simplicity of the interface and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120704778A_ABST
    Figure CN120704778A_ABST
Patent Text Reader

Abstract

The invention discloses a one-stop multilingual modification method and system and computer equipment, the method is applied to a multilingual system, the multilingual system comprises a client and a server, the method comprises the steps that the server generates multilingual content and sends the multilingual content to the client, and the multilingual content comprises an original multilingual text and positioning metadata; in response to the activation instruction, providing a text edit box in the current user interface for receiving modification of the original multi-language text by the user; the client determines a modified U I control and determines target positioning metadata bound with the control; the client binds the positioning metadata with the U I control in the client in advance; the client submits the target positioning metadata and the modified original multi-language text to the server; and the server locates the original multi-language text based on the target positioning metadata and replaces the original multi-language text with the modified original multi-language text. According to the method and the device, the original multi-language text of the target control can be quickly replaced, and the modification efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of multilingual processing, and in particular to a one-stop multilingual modification method, system, and computer device. Background Art

[0002] In a multilingual system, different users have varying needs for multilingual content. Furthermore, there are complex scenarios involving diverse sub-services and customized services. To address these needs more flexibly, we've adopted a strategy of providing multilingual packages tailored to specific users, services, and scenarios.

[0003] However, this strategy also brings a problem: if the multilingual content on the page needs to be modified, the user must first confirm the corresponding application information, and then contact the developer to confirm the business and multilingual text. Only then can the specific multilingual package be located and modified, resulting in a very cumbersome and inefficient modification process. Summary of the Invention

[0004] In order to solve the deficiencies of the prior art, this application adopts the following technical solutions:

[0005] In a first aspect, the present application provides a one-stop multi-language modification method, which is applied to a multi-language system. The multi-language system includes a client and a server. The method includes:

[0006] The server generates multilingual content and sends the multilingual content to the client. The multilingual content includes the original multilingual text and positioning metadata used to locate the original multilingual text.

[0007] In response to the debug mode activation instruction, the client provides a text editing box on the current user interface of the client for receiving user modification of the original multilingual text;

[0008] The client determines a UI control to be modified on the current user interface, defines the UI control modified by the user as a target control, and determines target positioning metadata bound to the target control; wherein the client pre-binds the positioning metadata in the multilingual content with the UI control in the client;

[0009] The client submits the target location metadata and the modified original multilingual text to the server;

[0010] The server locates the original multilingual text based on the target location metadata and replaces it with the modified original multilingual text.

[0011] In one embodiment, the client pre-binds the location metadata in the multilingual content with the UI controls in the client, including:

[0012] Inject parsing instructions during the rendering phase;

[0013] In response to the parsing instruction, determining the location metadata in the multilingual content;

[0014] The positioning metadata is bound to the corresponding UI control through the associated object properties and stored in the extension set of the UI control.

[0015] In one embodiment, the client determines the location of metadata in the multilingual content, including:

[0016] receiving data sent by the server and determining whether the data is multilingual content by using a special format; the special format is at least one of the following: a delimiter marker, a structured header identifier, a checksum association, and a signature mapping;

[0017] If so, parse the delimiter in the multilingual content, and determine the positioning metadata in the multilingual content based on the delimiter.

[0018] In one embodiment, the client determines the location of metadata in the multilingual content, further comprising:

[0019] By parsing the delimiter in the multilingual content, when determining the positioning metadata and the original multilingual text in the multilingual content, the positioning metadata is hidden, the original multilingual text is set to be displayed in the UI control, and the positioning metadata is set to not be displayed in the UI control.

[0020] In one embodiment, the client injects parsing instructions during the rendering phase, including:

[0021] Intercept page rendering requests;

[0022] Capture the text setting operation of UI controls;

[0023] After capturing the text setting operation of the UI control, a parsing instruction is issued.

[0024] In one embodiment, providing a text editing box on the current user interface of the client for receiving user modifications to the original multilingual text includes:

[0025] In response to the debug mode activation instruction, a visual user debugging interface is generated; the user debugging interface displays various UI controls and the original multilingual text corresponding to the UI controls;

[0026] The positioning metadata corresponding to each UI control is displayed on the user debugging interface, and a text editing box is provided for receiving user modifications to the original multilingual text.

[0027] In one embodiment, the positioning metadata corresponding to each UI control is displayed on the user debugging interface, including:

[0028] Traverse all UI controls in the user debugging interface;

[0029] Extract the bound positioning metadata based on all UI controls in the current user interface;

[0030] Displays the positioning metadata bound to each UI control in the user debugging interface.

[0031] In one embodiment, the positioning metadata includes at least a multilingual key identifier, a service attribution identifier, a client group identifier, and context description information;

[0032] Among them, separators are used in the multilingual content to splice the original multilingual text with the positioning metadata.

[0033] In a second aspect, an embodiment of the present application further provides a one-stop multi-language modification system, which includes a client and a server;

[0034] The server generates multilingual content and sends the multilingual content to the client. The multilingual content includes the original multilingual text and positioning metadata used to locate the original multilingual text.

[0035] In response to the debug mode activation instruction, the client provides a text editing box on the current user interface of the client for receiving user modification of the original multilingual text;

[0036] The client determines a UI control to be modified on the current user interface, defines the UI control modified by the user as a target control, and determines target positioning metadata bound to the target control; wherein the client pre-binds the positioning metadata in the multilingual content with the UI control in the client;

[0037] The client submits the target location metadata and the modified original multilingual text to the server;

[0038] The server locates the original multilingual text based on the target location metadata and replaces it with the modified original multilingual text.

[0039] In a third aspect, the present application further provides a computer device comprising a memory, a processor, and a display, wherein the memory stores a computer program;

[0040] The processor receives multilingual content sent by the server, where the multilingual content includes original multilingual text and positioning metadata for positioning the original multilingual text;

[0041] The processor is further capable of providing, in response to the debug mode activation instruction, a text editing box on the current user interface of the display for receiving user modifications to the original multi-language text;

[0042] The processor is further capable of determining a UI control that modifies the current user interface, defining the UI control modified by the user as a target control, and determining target positioning metadata bound to the target control; wherein the processor pre-binds the positioning metadata in the multilingual content with the UI control in the processor;

[0043] The processor can also submit the target positioning metadata and the modified original multilingual text to the server, so that the server locates the original multilingual text based on the target positioning metadata and replaces it with the modified original multilingual text.

[0044] In summary, the one-stop multilingual modification method, system, and computer device provided by the embodiments of the present application generate multilingual content containing original multilingual text and positioning metadata on the server side. The positioning metadata in the multilingual content is used to locate the original multilingual text. The multilingual content is sent to the client side, and the positioning metadata is bound to the client side's UI control. The user edits the target control to be modified in the user interface. The server side locates the original multilingual text of the control based on the positioning metadata bound to the target control and replaces it, thereby achieving rapid replacement of the original multilingual text and improving modification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of the one-stop multi-language modification method provided in one embodiment of the present application applied to a multi-language system;

[0046] Figure 2 A flowchart of the steps of a one-stop multi-language modification method provided in one embodiment of the present application;

[0047] Figure 3 A flowchart of the steps of receiving user modifications to an original multilingual text in a one-stop multilingual modification method provided in one embodiment of the present application;

[0048] Figure 4 A flowchart showing the steps of displaying the location metadata corresponding to each UI control in the user debugging interface in a one-stop multi-language modification method provided in one embodiment of the present application;

[0049] Figure 5 A flowchart of the steps for binding positioning metadata with UI controls in a client in a one-stop multi-language modification method provided in one embodiment of the present application;

[0050] Figure 6 A flowchart of the steps of injecting parsing instructions during the rendering phase in a one-stop multi-language modification method provided by an embodiment of the present application;

[0051] Figure 7 This is a diagram of the internal structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0052] The present application will be described in detail below in conjunction with the specific embodiments shown in the accompanying drawings, but these embodiments do not limit the present application. Structural, methodological, or functional changes made by ordinary technicians in this field based on these embodiments are included in the scope of protection of the present application.

[0053] In order to solve the deficiencies of the prior art, the present invention provides a one-stop multi-language modification method, which is applied to a multi-language system, such as Figure 1 As shown, the multilingual system includes a client 101 and a server 102, wherein the client 101 can be a computer or a mobile phone, and the client 101 can include multiple computers or mobile phones, and the server 102 can include multiple servers. The server 102 and the client 101 can exchange data through a communication network. The user uses the multilingual system through the client 101. When the user needs to modify the original multilingual text on a part of the page, the client 101 sends a request signal to the server 102. The server 102 responds to the request signal based on the one-stop multilingual modification method, thereby quickly modifying the original multilingual text that the user wants to modify. Figure 2 As shown, the embodiment of the present application provides a one-stop multi-language modification method comprising the following steps:

[0054] Step S101 : The server generates multilingual content with additional positioning metadata based on a request from a client. The multilingual content includes an original multilingual text and positioning metadata for positioning the original multilingual text.

[0055] Specifically, the client sends a multilingual request to the server. The server queries the corresponding original multilingual text based on the received multilingual request, and expands the original multilingual text to generate multilingual content containing positioning metadata. The positioning metadata is used to locate the original multilingual text. Optionally, the positioning metadata is located at the end of the original multilingual text. The positioning metadata is spliced ​​with the original multilingual text in a specific format to form a structured string. Exemplarily, the multilingual content that does not contain positioning metadata is: Confirmation|||KEY1; the multilingual content that contains positioning metadata is: Confirmation|||KEY1||_{business id}. By appending positioning metadata to the original multilingual text, the server ensures that subsequent positioning and modification can accurately match specific multilingual entries without changing the original interface logic.

[0056] Step S102 : In response to the debugging mode activation instruction, the client provides a text editing box on the current user interface of the client for receiving user modifications to the original multilingual text.

[0057] Specifically, when a user triggers a debug mode activation command, indicating that the user needs to modify the original multilingual text on the current page, the client generates a visual text edit box on the current user interface, into which the user can intuitively enter the modifications to the original multilingual text. Optionally, the text edit box can also be associated with a binding relationship for location metadata to ensure that the user's modification objectives are clear.

[0058] In step S103, the client determines the UI control to be modified in the current user interface, defines the UI control modified by the user as a target control, and determines the target positioning metadata bound to the target control; wherein the client pre-binds the positioning metadata in the multilingual content with the UI control in the client.

[0059] Specifically, based on the multilingual content with additional positioning metadata generated by the server, the client obtains the original multilingual text and positioning metadata through delimiter splitting, binds the positioning metadata in the multilingual content to the UI control, and displays the original multilingual text on the client's UI control according to the positioning metadata. And when the user modifies the text of the control, the client quickly obtains the positioning metadata through the associated attributes to ensure that the modification operation can be accurately mapped to the corresponding multilingual entry on the server. Furthermore, when the user modifies the text of a UI control in debug mode, the client determines the UI control to be modified in the current user interface through event monitoring, and defines the UI control modified by the user as the target control. After determining the target control, the corresponding positioning metadata is extracted from the target control, and the positioning metadata is defined as the target positioning metadata.

[0060] In step S104 , the client submits the target positioning metadata and the modified original multilingual text to the server.

[0061] Specifically, after determining the target control and its bound targeting metadata, the client packages the targeting metadata and the original multilingual text modified by the user and sends it to the server for the server to complete the content update. For example, if the user changes "OK" to "Confirm," the client extracts the target control's targeting metadata and combines "Confirm" and the targeting metadata into a string and sends it back to the server.

[0062] In step S105 , the server locates the original multilingual text based on the target location metadata and replaces it with the modified original multilingual text.

[0063] Specifically, after receiving the target location metadata and the modified original multilingual text from the client, the server parses the target location metadata, extracts key information used for location, such as the multilingual key-value identifier and the service attribution identifier, and determines the original multilingual text that needs to be modified. After locating the original multilingual text that needs to be modified, the server replaces the original multilingual text with the user's modified original multilingual text and synchronously updates the modified original multilingual text in the client's target control, thus completing the client-side multilingual modification.

[0064] According to the above description, an embodiment of the present application provides a one-stop method for modifying multiple languages. The server generates multilingual content containing original multilingual text and positioning metadata. The positioning metadata in the multilingual content is used to locate the original multilingual text. The multilingual content is sent to the client, and the positioning metadata is bound to the client's UI control. The user edits the target control to be modified in the user interface. The server locates the original multilingual text of the control based on the positioning metadata bound to the target control and replaces it, thereby achieving rapid replacement of the original multilingual text and improving modification efficiency.

[0065] In one embodiment, the positioning metadata includes at least a multilingual key identifier, a service affiliation identifier, a client group identifier, and contextual description information. The multilingual key identifier accurately corresponds to a specific original multilingual text; the service affiliation identifier identifies the sub-service module to which the original multilingual text belongs; the client group identifier rationally groups clients, thereby providing more appropriate multilingual content to different groups of clients; and the contextual description information provides contextual information about the location of the original multilingual text, further accurately locating the original multilingual text.

[0066] In one embodiment, a delimiter is used in the multilingual content to concatenate the original multilingual text with the positioning metadata. The original multilingual text and the positioning metadata can be quickly separated by the position of the delimiter, and then the original multilingual text can be positioned, modified, adapted, and other operations can be performed based on the information in the positioning metadata. For example, when modifying the original multilingual text, the original multilingual text and the positioning metadata can be quickly obtained by the position of the delimiter. The target text can be accurately found by the multilingual key-value identifier in the positioning metadata. The accuracy and applicability of the modification can be ensured by combining the service attribution identifier and the client group identifier. The context description information is used to ensure that the modified text conforms to the actual usage scenario.

[0067] In one embodiment, Figure 3 As shown, in step S102, a text editing box is provided on the current user interface of the client to receive user modifications to the original multilingual text, and the following steps are also included:

[0068] Step S201 : generating a visual user debugging interface in response to a debugging mode activation instruction; the user debugging interface displays various UI controls and original multilingual texts corresponding to the UI controls.

[0069] Specifically, upon receiving the debug mode activation command, the client suspends the normal interactive logic of the current interface and dynamically generates a visual debugging interface for multilingual modification. This generated user debugging interface clearly displays each UI control on the current interface and the original multilingual text corresponding to each UI control. When users need to modify the target text, they can quickly locate the target without having to search and confirm the text information in the code or configuration files, improving the convenience and efficiency of operation.

[0070] Step S202 : Displaying the positioning metadata corresponding to each UI control on the user debugging interface, and providing a text editing box for receiving user modifications to the original multilingual text.

[0071] Specifically, after producing a visual user debugging interface, the positioning metadata of each UI control is further displayed on the user debugging interface. Through the positioning metadata, users can understand the location and characteristics of the specific multilingual data associated with each UI control, and more intuitively determine the content that needs to be modified. At the same time, the client provides users with a text editing box on the user debugging interface. The text editing box is associated with the original multilingual text corresponding to each UI control. Users can enter the modified content of the original multilingual text in the text editing box. The client will match the modified content with the positioning metadata of the corresponding control, so that the modifications can be accurately submitted to the server for update.

[0072] Furthermore, in one embodiment, Figure 4 As shown, in step S202, the positioning metadata corresponding to each UI control is displayed on the user debugging interface, including the following steps:

[0073] Step S301: Traverse all UI controls in the user debugging interface. Specifically, when the client enters debugging mode and generates the user debugging interface, all UI controls in the current interface, including buttons, labels, and text boxes, are traversed through the system layer or a custom recursive algorithm to ensure that the user debugging interface can truly and comprehensively reflect the entire current user interface and provide an accurate data source for subsequent operations.

[0074] Step S302: extracting bound positioning metadata based on all UI controls in the current user interface.

[0075] Specifically, the client pre-binds the positioning metadata in the multilingual content with the UI controls in the client. After traversing all UI controls in the user debugging interface, the client retrieves the corresponding positioning metadata from each UI control according to pre-set binding rules and storage methods. For example, for a control that displays specific original multilingual text, the positioning metadata bound to it is extracted by accessing the specific properties or storage area of ​​the control. By extracting the positioning metadata bound to the control, the specific location and related features of the original multilingual text associated with each UI control can be clarified, providing structured data support for the visual display of the user debugging interface.

[0076] Step S303 displays the location metadata associated with each UI control on the user debugging interface. Specifically, after the location metadata associated with each UI control is successfully extracted, it is displayed on the user debugging interface. While viewing the UI control, the user can intuitively understand the associated location metadata. This allows the user to accurately locate the target text when modifying the original multilingual text, improving modification efficiency and accuracy.

[0077] In one embodiment, Figure 5 As shown, in step S103, the client pre-binds the positioning metadata in the multilingual content with the UI control in the client, including the following steps:

[0078] Step S401: Inject parsing instructions during the rendering phase. Specifically, the parsing instructions are injected during the client's rendering of the user interface. When the display interface elements begin rendering, the parsing instructions trigger the client's parsing of the multilingual content. The client analyzes the location metadata of the multilingual content associated with the UI controls.

[0079] Step S402: In response to the parsing instruction, the client determines the location metadata within the multilingual content. Specifically, when the parsing instruction is triggered, the client quickly responds and determines the location metadata within the multilingual content. The location metadata includes key information such as multilingual key-value identifiers and service attribution identifiers. This helps the system accurately distinguish and locate different original multilingual texts, thereby enabling precise binding of the location metadata to UI controls.

[0080] In step S403, the positioning metadata is bound to the corresponding UI control through the associated object attribute and stored in the extended set of the UI control. Specifically, after determining the positioning metadata in the multilingual content, the client can use the associated object attribute method to add the positioning metadata as an additional attribute to the corresponding UI control, thereby binding the positioning metadata to the corresponding UI control. At the same time, the client stores the positioning metadata in the extended set of the corresponding UI control. When the original multilingual text of the UI control needs to be modified or positioned, the positioning metadata corresponding to the UI control can be quickly obtained from the extended set to achieve precise operation.

[0081] Furthermore, in one embodiment, Figure 6 As shown, in step S401, the client injects parsing instructions in the rendering phase, including the following steps:

[0082] Step S501: Intercept page rendering requests. Specifically, by setting up interception of page rendering requests, the client can capture the creation and property setting process of UI controls as they enter the rendering process. After intercepting the rendering request for the entire page, further fine-grained detection is performed on the text of individual controls.

[0083] Step S502: Capture the text setting operation of the UI control. Specifically, after intercepting the page rendering request, the client further captures the text setting operation of the specific UI control to identify whether the UI control carries multilingual content.

[0084] Step S503: Upon capturing the text setting operation of the UI control, a parsing instruction is issued. Specifically, upon detecting that the text setting operation of the UI control is designed with multilingual content, the client issues a parsing instruction, triggering the parsing of the current text to extract positioning metadata, providing underlying data support for rapid positioning and modification in subsequent debugging mode.

[0085] In one embodiment, a client determines location metadata in multilingual content, including: receiving data sent by a server, determining whether the data is multilingual content through a special format; the special format is at least one of the following: a delimiter marker, a structured header identifier, a checksum association, and a feature code mapping; if so, parsing delimiters in the multilingual content, and determining location metadata in the multilingual content based on the delimiters.

[0086] Specifically, after receiving data from the server, the client identifies the data using a pre-defined special format to determine whether it is multilingual content containing location metadata. Special formats include delimiter markers, structured header identifiers, checksum associations, and feature code mappings. After receiving the data, the client checks the data for the presence of these special formats to determine whether the data is multilingual. For example, string matching can be used to detect the presence of pre-defined delimiters, or structured identifiers such as prefixes and suffixes can be used to determine the data type.

[0087] If the detection data contains special formats of multilingual content, such as separators, the client further parses the separator positions in the multilingual content and separates the original multilingual text from the positioning metadata. This allows the client to accurately obtain the positioning metadata in the multilingual content without changing the original multilingual acquisition interface, providing accurate positioning basis for subsequent multilingual modification operations.

[0088] In one embodiment, the client determines the positioning metadata in the multilingual content, further comprising: parsing delimiters in the multilingual content to determine the positioning metadata and original multilingual text in the multilingual content, hiding the positioning metadata, setting the original multilingual text to be displayable in the UI control, and setting the positioning metadata to not be displayed in the UI control.

[0089] Specifically, the client parses the delimiters in the multilingual content, separates the positioning metadata from the original multilingual text, and then performs differential processing on the two, retaining the original multilingual text as visible content for normal UI control display; the positioning metadata is stored invisibly to ensure that the positioning metadata is not directly presented in the user interface, thereby avoiding page confusion due to lengthy additional signals, and retaining the necessary positioning basis for subsequent debugging and modification. When the user enters debugging mode, the client can quickly extract the positioning metadata through the pre-bound associated attributes to determine the multilingual key value and business affiliation corresponding to the current control without manual search or input of additional information. The above processing method solves the positioning problem when modifying multilingual content, maintains the simplicity of the interface, and ensures the user experience.

[0090] According to the above description, an embodiment of the present application provides a one-stop method for modifying multiple languages. The server generates multilingual content containing original multilingual text and positioning metadata. The positioning metadata in the multilingual content is used to locate the original multilingual text. The multilingual content is sent to the client, and the positioning metadata is bound to the UI control of the client. The user edits the target control to be modified in the user interface. The server locates the original multilingual text of the control based on the positioning metadata bound to the target control and replaces it, thereby achieving rapid replacement of the original multilingual text and improving modification efficiency. By intercepting and processing the display content at runtime, additional positioning information is avoided from being displayed on the user interface, the simplicity of the interface is maintained, and the user experience is guaranteed.

[0091] Based on the same inventive concept, an embodiment of the present application also provides a one-stop multilingual modification system, which includes a client and a server. The server generates multilingual content with additional positioning metadata based on the client's request, and the multilingual content includes the original multilingual text and the positioning metadata for locating the original multilingual text; the client responds to the debug mode activation instruction and provides a text editing box on the client's current user interface for receiving the user's modification of the original multilingual text. The client determines the UI control that modifies the current user interface, defines the UI control modified by the user as the target control, and determines the target positioning metadata bound to the target control; wherein the client pre-binds the positioning metadata in the multilingual content with the UI control in the client; the client submits the target positioning metadata and the modified original multilingual text to the server; the server locates the original multilingual text based on the target positioning metadata and replaces it with the modified original multilingual text.

[0092] It should be noted that the implementation solution provided by the one-stop multi-language modification system is similar to the implementation solution described in the above-mentioned one-stop multi-language modification method. Therefore, the specific limitations in the embodiments of the one-stop multi-language modification system can be found in the above-mentioned limitations on the one-stop multi-language modification method and will not be repeated here.

[0093] The embodiment of the present application further provides a computer device, which may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown, the device includes a memory, a processor, and a display. The memory stores a computer program. When executing the computer program, the processor can generate multilingual content with additional positioning metadata, where the multilingual content includes original multilingual text and positioning metadata used to position the original multilingual text. The processor can also respond to a debug mode activation instruction to provide a text editing box on the current user interface of the display for receiving user modifications to the original multilingual text.

[0094] The processor can also determine the UI control that modifies the current user interface, define the UI control modified by the user as a target control, and determine the target positioning metadata bound to the target control; wherein the processor pre-binds the positioning metadata in the multilingual content with the UI control in the processor; the processor can also submit the target positioning metadata and the modified original multilingual text to the server, so that the server locates the original multilingual text based on the target positioning metadata and replaces it with the modified original multilingual text.

[0095] It should be noted that the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner can be achieved through WIFI, mobile cellular network, NFC (near field communication) or other technologies. The display of the computer device can be a liquid crystal display or an electronic ink display. Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0096] It should be further explained that when the computer program is executed by the processor, it implements a one-stop multi-language modification method. Therefore, the specific limitations in the embodiment of the computer device can refer to the limitations of the one-stop multi-language modification method above, and will not be repeated here.

[0097] It will be understood that the word "exemplary" as used herein means "serving as an example, instance or illustration". Any embodiment described as "exemplary" is not necessarily preferred or superior to other embodiments and / or does not exclude the combination of features of other embodiments. It will be understood that certain features of the present application described in the context of separate embodiments for the sake of clarity may also be provided in a single embodiment by combination. Conversely, various features of the present application described in the context of a single embodiment for the sake of clarity may also be provided individually or in any suitable combination or as any other described embodiment of the present application. In addition, "at least one" means one or more, and "a plurality of" means two or more. Words such as "first" and "second" do not limit the quantity and order of execution, and words such as "first" and "second" do not limit them to be necessarily different.

[0098] The above disclosure is only a preferred embodiment of the present application, but it is not intended to limit the scope of rights of the present application. A person skilled in the art can understand that without departing from the spirit and scope of the present application and the appended claims, changes, modifications, substitutions, combinations, and simplifications should all be equivalent replacement methods and still fall within the scope of the invention.

Claims

1. A one-stop multi-language modification method, characterized in that: The method is applied to a multi-language system, which includes a client and a server, and includes: The server generates multilingual content and sends the multilingual content to the client, wherein the multilingual content includes original multilingual text and positioning metadata for positioning the original multilingual text; In response to the debugging mode activation instruction, the client provides a text editing box on the current user interface of the client for receiving user modification of the original multilingual text; The client determines a UI control that modifies the current user interface, defines the UI control modified by the user as a target control, and determines target positioning metadata bound to the target control; wherein the client pre-binds the positioning metadata in the multilingual content with the UI control in the client; The client submits the target positioning metadata and the modified original multilingual text to the server; The server locates the original multilingual text based on the target positioning metadata and replaces it with the modified original multilingual text.

2. The one-stop multi-language modification method according to claim 1, characterized in that: The client pre-binding the positioning metadata in the multilingual content with a UI control in the client includes: Inject parsing instructions during the rendering phase; In response to the parsing instruction, determining the location metadata in the multilingual content; The positioning metadata is bound to the corresponding UI control through the associated object attribute and stored in the extension set of the UI control.

3. The one-stop multi-language modification method according to claim 2, characterized in that: The client determines the positioning metadata in the multilingual content, including: receiving data sent by the server, and determining whether the data is multilingual content by using a special format; the special format being at least one of the following: a separator mark, a structured header identifier, a checksum association, and a feature code mapping; If so, parse the delimiter in the multilingual content, and determine the positioning metadata in the multilingual content based on the delimiter.

4. The one-stop multi-language modification method according to claim 3, characterized in that: The client determining the positioning metadata in the multilingual content further includes: By parsing the separator in the multilingual content, when determining the positioning metadata and the original multilingual text in the multilingual content, the positioning metadata is hidden, the original multilingual text is set to be displayable in the UI control, and the positioning metadata is set to not be displayed in the UI control.

5. The one-stop multi-language modification method according to claim 2, characterized in that: The client injects parsing instructions during the rendering phase, including: Intercept page rendering requests; Capturing the text setting operation of the UI control; After capturing the text setting operation of the UI control, a parsing instruction is issued.

6. The one-stop multi-language modification method according to claim 1, characterized in that: Providing a text editing box on the current user interface of the client for receiving user modification of the original multilingual text, including: In response to the debugging mode activation instruction, a visual user debugging interface is generated; the user debugging interface displays various UI controls and the original multilingual texts corresponding to the UI controls; The positioning metadata corresponding to each UI control is displayed on the user debugging interface, and a text editing box is provided for receiving user modifications to the original multilingual text.

7. The one-stop multi-language modification method according to claim 6, characterized in that: The positioning metadata corresponding to each UI control is displayed on the user debugging interface, including: Traverse all UI controls in the user debugging interface; Extracting bound positioning metadata based on all UI controls in the current user interface; The positioning metadata bound to each UI control is displayed on the user debugging interface.

8. The one-stop multi-language modification method according to any one of claims 1 to 7, characterized in that: The positioning metadata at least includes a multilingual key identifier, a service attribution identifier, a client group identifier, and context description information; Wherein, a separator is used in the multilingual content to splice the original multilingual text and the positioning metadata.

9. A one-stop multi-language modification system, characterized in that: The system includes a client and a server; The server generates multilingual content and sends the multilingual content to the client, wherein the multilingual content includes original multilingual text and the positioning metadata used to locate the original multilingual text; In response to the debugging mode activation instruction, the client provides a text editing box on the current user interface of the client for receiving user modification of the original multilingual text; The client determines a UI control that modifies the current user interface, defines the UI control modified by the user as a target control, and determines target positioning metadata bound to the target control; wherein the client pre-binds the positioning metadata in the multilingual content with the UI control in the client; The client submits the target positioning metadata and the modified original multilingual text to the server; The server locates the original multilingual text based on the target positioning metadata and replaces it with the modified original multilingual text.

10. A computer device, characterized in that: comprising a memory, a processor and a display, wherein the memory stores a computer program; The processor receives multilingual content sent by the server, where the multilingual content includes an original multilingual text and the positioning metadata used to locate the original multilingual text; The processor is further capable of providing a text editing box on the current user interface of the display in response to a debug mode activation instruction for receiving a user's modification of the original multi-language text; The processor is further capable of determining a UI control that modifies the current user interface, defining the UI control modified by the user as a target control, and determining target positioning metadata bound to the target control; wherein the processor pre-binds the positioning metadata in the multilingual content with the UI control in the processor; The processor can also submit the target positioning metadata and the modified original multilingual text to the server, so that the server locates the original multilingual text based on the target positioning metadata and replaces it with the modified original multilingual text.