Application program multi-language updating method and device, electronic equipment and storage medium
By receiving key-value pairs to be translated, calling the translation engine, and automatically writing them into a JSON file and a proofreading table, the inefficiency and low accuracy caused by the reliance on manual translation processes in existing technologies are solved, achieving efficient and accurate multilingual updates.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- AUX AIR CONDITIONER CO LTD
- Filing Date
- 2026-01-20
- Publication Date
- 2026-05-01
AI Technical Summary
In existing multilingual resource file management solutions, the translation process relies on manual compilation of tables and scripts, which is inefficient and inaccurate.
By receiving key-value pairs input by the user, the system automatically translates them into multiple target languages by calling a preset translation engine interface, and writes the results into a JSON file and a proofreading table. After proofreading, the data is compressed, packaged, and uploaded to the cloud for version updates.
It has enabled automated multilingual translation and update processes, improving translation efficiency and accuracy while reducing human intervention.
Smart Images

Figure CN121957641A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of application technology, and more specifically, to a method, apparatus, electronic device, and storage medium for multilingual application updates. Background Technology
[0002] As globalization continues to accelerate, the international market for software and smart devices continues to expand. To serve users in different regions and speaking different languages, developers must internationalize and localize their products.
[0003] Currently, multilingual support is typically achieved by maintaining resource files (such as JSON and XML files) containing key-value pairs in multiple languages. However, in existing multilingual resource file management solutions, the translation process often relies on manual spreadsheet compilation and script processing, which is inefficient and lacks accuracy. Summary of the Invention
[0004] The objectives of this invention include, for example, providing a method, apparatus, electronic device, and storage medium for multilingual application updates that can at least partially solve the aforementioned technical problems.
[0005] The embodiments of the present invention can be implemented as follows: In a first aspect, embodiments of the present invention provide a method for updating an application in multiple languages, the method comprising: Receive at least one key-value pair to be translated added by the user through the interactive terminal, wherein the value of the key-value pair to be translated is the default language; The target preset translation engine interface is called to translate the values of each key-value pair to be translated from the default language to multiple target languages, resulting in multiple translation results. Each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages. For each translation result, the values corresponding to each target language in the translation result are written into the corresponding JSON file, and the corresponding translation record is generated in the preset proofreading table; Based on the translation records, the translation results in the preset proofreading table are proofread, and if the proofreading is correct, the JSON files are compressed and uploaded to the cloud so that the cloud can update the version.
[0006] Optionally, before writing the values corresponding to each target language in the translation result into the corresponding JSON file and generating the corresponding translation record in the preset proofreading table, the method further includes: Scan each of the JSON files and the preset collation table to determine the existing keys and the values of each key in multiple different languages. Based on existing keys and their corresponding values in multiple languages, the newly added keys and their corresponding values are checked for duplication and validity. Keys whose names do not conform to preset rules are deleted, as are duplicate keys and values.
[0007] Optionally, the method further includes: Receive the user ID and cloud path sent by the user through the interactive terminal; The cloud address of the cloud is confirmed based on the cloud path; Generate a verification signature corresponding to the user ID based on the current timestamp.
[0008] Optionally, the step of compressing and packaging each of the JSON files and uploading them to the cloud includes: Send the user ID, current timestamp, and verification signature to the cloud; Receive verification information from the cloud based on the user ID, the current timestamp, and the verification signature; If the verification information passes, the compressed and packaged JSON files are sent to the cloud.
[0009] Optionally, the invocation of the target preset translation engine interface includes: Obtain the load rate of multiple preset translation engine interfaces; From all the preset translation engine interfaces, determine the preset translation engine interface with the lowest load rate as the target preset translation engine interface, and call the target preset translation engine interface.
[0010] Optionally, the step of writing the values corresponding to each target language in the translation result into the corresponding JSON file and generating the corresponding translation record in the preset proofreading table includes: Based on the filenames of the JSON files, determine the language corresponding to each JSON file; For each translation result, the values of different target languages corresponding to the keys in the translation result are written into the same keys in each of the JSON files according to the language type; Determine whether the key of the translation result exists in the preset proofreading table; If so, add a key for the translation result to the preset proofreading table, and add the corresponding value for each target language after the key; If not, update the value corresponding to the new target language after the same key in the preset collation table.
[0011] Optionally, the method further includes: If there are errors in the proofreading of each translation result in the preset proofreading table, modification information is received based on the interactive terminal; The translation results with errors in the preset proofreading table are modified according to the modification information; The JSON files are updated using the modified preset proofreading table.
[0012] Secondly, embodiments of the present invention provide an application multilingual update device, comprising: The key-value pair receiving unit is used to receive at least one key-value pair to be translated added by the user through the interactive terminal, wherein the value of the key-value pair to be translated is the default language; The translation unit is used to call the target preset translation engine interface to translate the values of each key-value pair to be translated from the default language to multiple target languages, thereby obtaining multiple translation results. Each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages. The writing unit is used to write the values corresponding to each target language in the translation result into the corresponding JSON file for each translation result, and generate the corresponding translation record in the preset proofreading table; The update unit is used to verify each translation result in the preset verification table based on the translation record, and if the verification is correct, to compress and package each JSON file and upload it to the cloud so that the cloud can update the version.
[0013] Thirdly, embodiments of the present invention provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of any of the methods described above.
[0014] Fourthly, embodiments of the present invention provide a computer-readable storage medium, the computer-readable storage medium including a computer program, wherein the computer program, when executed, controls a server where the computer-readable storage medium is located to implement the steps of any of the methods described above.
[0015] The beneficial effects of the embodiments of the present invention include, for example: The system receives at least one key-value pair to be translated, calls the target preset translation engine interface to translate the values of each key-value pair into multiple target languages, automatically writes the translation results into corresponding JSON files, and generates corresponding translation records in a preset proofreading table. If the proofreading is correct, the system packages each JSON file and sends it to the cloud for version updates. By automating the entire process, manual intervention is reduced, thereby improving the efficiency and accuracy of multilingual translation and updates for the application. Attached Figure Description
[0016] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 A block diagram illustrating an electronic device according to an embodiment of the present invention; Figure 2 A flowchart illustrating the steps of an application multilingual update method provided in this embodiment of the invention; Figure 3 This is a schematic diagram illustrating the writing of translation results according to an embodiment of the present invention; Figure 4 This is an architectural diagram of an application multilingual update device provided in an embodiment of the present invention.
[0018] Icons: 100 - Electronic device; 110 - Memory; 120 - Processor; 130 - Communication module; 300 - Multilingual application update device; 301 - Key-value pair receiving unit to be translated; 302 - Translation unit; 303 - Writing unit; 304 - Update unit. Detailed Implementation
[0019] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0020] Therefore, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the invention without inventive effort are within the scope of protection of the invention.
[0021] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0022] Furthermore, the terms "first" and "second" are used only to distinguish descriptions and should not be interpreted as indicating or implying relative importance.
[0023] It should be noted that, where there is no conflict, the features in the embodiments of the present invention can be combined with each other.
[0024] Please refer to Figure 1 This is a block diagram of an electronic device 100 provided in this application. The electronic device 100 can be a data processing device, and this embodiment does not limit this. The electronic device 100 includes a memory 110, a processor 120, and a communication module 130. The memory 110, processor 120, and communication module 130 are electrically connected directly or indirectly to achieve data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.
[0025] The memory 110 is used to store programs or data. The memory 110 may be, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), etc.
[0026] The processor 120 is used to read / write data or programs stored in memory and to perform corresponding functions.
[0027] The communication module 130 is used to establish a communication connection between the server and other communication terminals through the network, and to send and receive data through the network.
[0028] It should be understood that, Figure 1 The structure shown is only a schematic diagram of the electronic device 100. The electronic device 100 may also include components that are larger than... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown. Figure 1 The components shown can be implemented using hardware, software, or a combination thereof. This electronic device 100 can be integrated into other devices or configured as a standalone device.
[0029] This invention provides a method for updating applications to multiple languages, the method including as follows: Figure 2 The following steps are shown: Step S110: Receive at least one key-value pair to be translated newly added by the user through the interactive terminal, where the value of the key-value pair to be translated is the default language.
[0030] Step S120: Invoke the target preset translation engine interface to translate the value of each key-value pair to be translated from the default language into multiple target languages, obtaining multiple translation results. Among them, each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages.
[0031] Step S130: For each translation result, write the values corresponding to each target language in the translation result into the corresponding JSON file respectively, and generate a corresponding translation record in the preset proofreading table.
[0032] Step S140: Based on the translation record, proofread each translation result in the preset proofreading table, and when the proofreading is correct, compress and package each JSON file and upload it to the cloud to enable the cloud to perform version update.
[0033] In step S110, receive at least one key-value pair to be translated newly added by the user through the interactive terminal, where the value of the key-value pair to be translated is the default language.
[0034] The interactive terminal can be a terminal device such as a computer or a mobile phone that can perform interactions. The default language can be the initially set language, such as Chinese, English, etc. Taking the interactive terminal as a computer as an example, the user (referring to the background management personnel, and this definition will continue to be used hereinafter) can input at least one key-value pair to be translated (such as "air_quality": "air quality") on the computer. Among them, the key is "air_quality", the value is "air quality", and the default language of the value is Chinese. In this way, the collection and input of the original translation requirements are completed.
[0035] In step S120, invoke the target preset translation engine interface to translate the value of each key-value pair to be translated from the default language into multiple target languages, obtaining multiple translation results. Among them, each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages.
[0036] The target preset translation engine interface can be an API (Application Programming Interface) used to connect to an external translation engine. The target language can be the language into which the value in the key-value pair to be translated needs to be translated, such as Japanese, English, etc. When receiving the key-value pair to be translated, the platform invokes the preset translation engine interface and inputs the value of the key-value pair to be translated, so as to obtain multiple target languages corresponding to this value returned by the translation engine, and use them as the translation results.
[0037] For example, the key-value pair to be translated is "air_quality": "空气质量", the value is "空气质量", and the default language of the value is Chinese. If the target languages are Japanese, French, and English, the content feedback by the translation engine is "Air Quality" (corresponding to the target language being English), "空気品質" (corresponding to the target language being Japanese), and "Qualitée de l'air" (corresponding to the target language being French). Packing these contents gives the translation results corresponding to the key in the key-value pair to be translated.
[0038] Optionally, the invoking the target preset translation engine interface includes: Obtaining the load rates of multiple preset translation engine interfaces.
[0039] From each of the preset translation engine interfaces, determining the preset translation engine interface with the lowest load rate as the target preset translation engine interface, and invoking the target preset translation engine interface.
[0040] As an optional implementation, to prevent the situation where a single target preset translation engine interface has too high a load rate during peak hours, resulting in too slow translation speed. Multiple preset translation engine interfaces can be set in advance. When translation is required, first obtain the load rates of each preset translation engine interface, and select the preset translation engine interface with the lowest load rate as the target preset translation engine interface for invocation.
[0041] Optionally, the method further includes: Receiving the user ID and the cloud path sent by the user through the interaction terminal. Based on the cloud path, confirming the cloud address of the cloud.
[0042] Generating a verification signature corresponding to the user ID based on the current timestamp.
[0043] Before receiving the key-value pair to be translated, the user can set the user ID and the cloud path through the interaction terminal. Receive the user ID and the cloud path sent by the user through the interaction terminal, where the user ID is a unique identity code used to identify the operator or the corresponding application program, and the cloud path indicates the network address of the target cloud server.
[0044] The platform resolves and confirms the specific access address of the cloud server based on the cloud path. And obtain the current accurate timestamp, combine it with the user ID, and generate a verification signature corresponding to the user ID through a specific encryption algorithm. This signature has timeliness and is used to prove the legitimacy and timeliness of the request in subsequent cloud communications, forming the basis for secure access to cloud services, and also ensuring the security of uploading translation results to update the multilingual version of the application program in the cloud.
[0045] In step S130, for each translation result, the values corresponding to each target language in the translation result are written into the corresponding JSON file, and the corresponding translation record is generated in the preset proofreading table.
[0046] A JSON file can be used to record the values corresponding to each key in the key-value pairs to be translated in different languages. To better distinguish between different languages, each JSON file can correspond to one target language. The preset proofreading table can be an Excel spreadsheet. After obtaining the translation results, the translation results can be filled into the preset proofreading table for users to manually verify on the interactive terminal.
[0047] For each translation result, the values of different languages in the translation result can be written into the corresponding JSON file according to different JSON files. At the same time, the translation result is filled into the preset proofreading table, and a translation record is formed in the preset proofreading table.
[0048] Optionally, the step of writing the values corresponding to each target language in the translation result into the corresponding JSON file and generating the corresponding translation record in the preset proofreading table includes: Based on the filenames of the JSON files, determine the language corresponding to each JSON file.
[0049] For each translation result, the values of different target languages corresponding to the keys in the translation result are written into the same keys in each of the JSON files according to the language type.
[0050] Determine whether the key of the translation result exists in the preset proofreading table.
[0051] If so, add a key for the translation result to the preset proofreading table, and add the corresponding value for each target language after the key.
[0052] If not, update the value corresponding to the new target language after the same key in the preset collation table.
[0053] In one alternative implementation, please refer to Figure 3 The language represented by each JSON file can be determined based on its filename. For example, "en.json" corresponds to an English JSON file, and "ja.json" corresponds to a Japanese JSON file. For each translation result, the platform matches the keys with the values of the translated target languages, and appends the translated value for each language to the corresponding language's JSON file under the same key name, according to the identified language.
[0054] While updating the JSON file, the platform needs to maintain a preset proofreading table: It checks if the key name for the current translation result already exists in the table. If the key name doesn't exist, a new row is added, the key name is entered, and the corresponding translation values for each target language are added sequentially. If the key name already exists, only the row containing that key name is updated with the changed or newly added target language translation values. This ensures strict data synchronization between the resource file and the proofreading table.
[0055] Optionally, before writing the values corresponding to each target language in the translation result into the corresponding JSON file and generating the corresponding translation record in the preset proofreading table, the method further includes: Scan each of the JSON files and the preset collation table to determine the existing keys and the values of each key in multiple different languages.
[0056] Based on existing keys and their corresponding values in multiple languages, the newly added keys and their corresponding values are checked for duplication and validity. Keys whose names do not conform to preset rules are deleted, as are duplicate keys and values.
[0057] As an optional implementation, the translation results can be validated and deduplicated before being written. The platform can automatically scan existing JSON files in various languages and preset proofreading tables, parse and extract all existing keys from these files, as well as the corresponding multilingual translation values under each key name, thereby constructing a complete view of existing translation resources.
[0058] Based on this view, the platform performs dual validation on the key-value pairs added by the user: first, a validity check, which examines the key names of the new keys according to preset naming rules and deletes those that do not conform to the rules, such as keys containing illegal characters or incorrect formatting; second, a duplicate check, which compares the new keys and their corresponding default language values with existing resources and deletes entries with completely duplicate key names or values. This ensures the formatting compliance and data uniqueness of the newly added translation content, preventing data chaos and subsequent parsing failures caused by incorrect key names or duplicate content from the outset.
[0059] In step S140, based on the translation records, each translation result in the preset proofreading table is proofread, and if the proofreading is correct, each JSON file is compressed and uploaded to the cloud so that the cloud can update the version.
[0060] Once the translation records are obtained, they can be proofread. For example, the records can be pushed to the user for proofreading; after completion, the user can send a command to the platform to proceed to the next step. Alternatively, the platform can use a pre-defined proofreading mechanism to check the translation records and proceed directly to the next step after proofreading. If the proofreading is successful, the platform compresses and packages the various JSON files and uploads them to the cloud, allowing the cloud to update the application's multilingual version based on the uploaded JSON files.
[0061] Optionally, the step of compressing and packaging each of the JSON files and uploading them to the cloud includes: Send the user ID, current timestamp, and verification signature to the cloud.
[0062] Receive verification information from the cloud based on the user ID, the current timestamp, and the verification signature.
[0063] If the verification information passes, the compressed and packaged JSON files are sent to the cloud.
[0064] In one optional implementation, to ensure file upload security, the platform can send an authentication request to the cloud. This request carries the user ID, the current timestamp used to generate the signature, and the verification signature. Upon receiving the request, the cloud verifies the received user ID, timestamp, and signature using the same algorithm and key to confirm that the request originates from a legitimate user and has not expired. The verification result is then returned as feedback. If the cloud's verification indicates successful authentication, the platform is authorized to upload JSON files. The platform then sends the compressed and packaged JSON file data streams to the cloud. This mechanism ensures that only legitimately authenticated requests can perform resource upload operations, effectively preventing unauthorized access and malicious uploads.
[0065] Optionally, the method further includes: If there are errors in the proofreading of the translation results in the preset proofreading table, modification information is received based on the interactive terminal.
[0066] The translations with errors in the preset proofreading table are corrected according to the modification information. The modified preset proofreading table is then used to update each of the JSON files.
[0067] If errors are found in certain translations after proofreading the pre-set proofreading table based on the translation records, the platform receives modification information input by the user via the interactive terminal. The platform then corrects the specific translations marked as erroneous in the pre-set proofreading table based on the received modification information, updating their translated content. After the proofreading table is modified, the platform synchronously updates the corresponding JSON files in each language based on the modified pre-set proofreading table, ensuring that the translations in the files are completely consistent with the final approved content of the proofreading table, achieving a closed-loop update from proofreading changes to the final resource files.
[0068] Based on the same inventive concept, such as Figure 4 As shown in the figure, an embodiment of the present invention provides an application multilingual update device 300, comprising: The key-value pair receiving unit 301 is used to receive at least one key-value pair to be translated added by the user through the interactive terminal, wherein the value of the key-value pair to be translated is the default language.
[0069] The translation unit 302 is used to call the target preset translation engine interface to translate the values of each key-value pair to be translated from the default language to multiple target languages, thereby obtaining multiple translation results. Each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages.
[0070] The writing unit 303 is used to write the values corresponding to each target language in the translation result into the corresponding JSON file for each translation result, and generate the corresponding translation record in the preset proofreading table.
[0071] The update unit 304 is used to verify each translation result in the preset verification table based on the translation record, and if the verification is correct, to compress and package each JSON file and upload it to the cloud so that the cloud can update the version.
[0072] Regarding the aforementioned application multilingual update device 300, the specific functions of each unit have been described in detail in the embodiments of the application multilingual update method provided in this specification, and will not be elaborated upon here.
[0073] Based on the same inventive concept, embodiments of this invention provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the methods of the aforementioned application multilingual update method.
[0074] The present invention has at least the following beneficial effects: The system receives at least one key-value pair to be translated, calls the target preset translation engine interface to translate the values of each key-value pair into multiple target languages, automatically writes the translation results into corresponding JSON files, and generates corresponding translation records in a preset proofreading table. If the proofreading is correct, the system packages each JSON file and sends it to the cloud for version updates. By automating the entire process, manual intervention is reduced, thereby improving the efficiency and accuracy of multilingual translation and updates for the application.
[0075] In the several embodiments provided by this invention, it should be understood that the disclosed apparatus and methods can also be implemented in other ways. The apparatus embodiments described above are merely illustrative; for example, the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0076] In addition, the functional modules in the various embodiments of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0077] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0078] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A method for updating applications in multiple languages, characterized in that, The method includes: Receive at least one key-value pair to be translated added by the user through the interactive terminal, wherein the value of the key-value pair to be translated is the default language; The target preset translation engine interface is called to translate the values of each key-value pair to be translated from the default language to multiple target languages, resulting in multiple translation results. Each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages. For each translation result, the values corresponding to each target language in the translation result are written into the corresponding JSON file, and the corresponding translation record is generated in the preset proofreading table; Based on the translation records, the translation results in the preset proofreading table are proofread, and if the proofreading is correct, the JSON files are compressed and uploaded to the cloud so that the cloud can update the version.
2. The application multilingual update method as described in claim 1, characterized in that, Before writing the values corresponding to each target language in the translation result into the corresponding JSON file and generating the corresponding translation record in the preset proofreading table, the method further includes: Scan each of the JSON files and the preset collation table to determine the existing keys and the values of each key in multiple different languages. Based on existing keys and their corresponding values in multiple languages, the newly added keys and their corresponding values are checked for duplication and validity. Keys whose names do not conform to preset rules are deleted, as are duplicate keys and values.
3. The application multilingual update method as described in claim 1, characterized in that, The method further includes: Receive the user ID and cloud path sent by the user through the interactive terminal; The cloud address of the cloud is confirmed based on the cloud path; Generate a verification signature corresponding to the user ID based on the current timestamp.
4. The application multilingual update method as described in claim 3, characterized in that, The step of compressing and packaging each of the JSON files and uploading them to the cloud includes: Send the user ID, current timestamp, and verification signature to the cloud; Receive verification information from the cloud based on the user ID, the current timestamp, and the verification signature; If the verification information passes, the compressed and packaged JSON files are sent to the cloud.
5. The application multilingual update method as described in claim 1, characterized in that, The interface of the target preset translation engine to be invoked includes: Obtain the load rate of multiple preset translation engine interfaces; From all the preset translation engine interfaces, determine the preset translation engine interface with the lowest load rate as the target preset translation engine interface, and call the target preset translation engine interface.
6. The application multilingual update method as described in claim 1, characterized in that, The step of writing the values corresponding to each target language in the translation result into the corresponding JSON file and generating the corresponding translation record in the preset proofreading table includes: Based on the filenames of the JSON files, determine the language corresponding to each JSON file; For each translation result, the values of different target languages corresponding to the keys in the translation result are written into the same keys in each of the JSON files according to the language type; Determine whether the key of the translation result exists in the preset proofreading table; If so, add a key for the translation result to the preset proofreading table, and add the corresponding value for each target language after the key; If not, update the value corresponding to the new target language after the same key in the preset collation table.
7. The application multilingual update method as described in claim 1, characterized in that, The method further includes: If there are errors in the proofreading of each translation result in the preset proofreading table, modification information is received based on the interactive terminal; The translation results with errors in the preset proofreading table are modified according to the modification information; The JSON files are updated using the modified preset proofreading table.
8. An application multilingual update device, characterized in that, include: The key-value pair receiving unit is used to receive at least one key-value pair to be translated added by the user through the interactive terminal, wherein the value of the key-value pair to be translated is the default language; The translation unit is used to call the target preset translation engine interface to translate the values of each key-value pair to be translated from the default language to multiple target languages, thereby obtaining multiple translation results. Each translation result corresponds to a key, and each translation result includes multiple values translated into multiple target languages. The writing unit is used to write the values corresponding to each target language in the translation result into the corresponding JSON file for each translation result, and generate the corresponding translation record in the preset proofreading table; The update unit is used to verify each translation result in the preset verification table based on the translation record, and if the verification is correct, to compress and package each JSON file and upload it to the cloud so that the cloud can update the version.
9. An electronic device, characterized in that, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor, when executing the program, implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a computer program, which, when executed, controls the server where the computer-readable storage medium is located to implement the steps of the method according to any one of claims 1 to 7.