CN117114019B - Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof - Google Patents

Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof Download PDF

Info

Publication number
CN117114019B
CN117114019B CN202311368791.9A CN202311368791A CN117114019B CN 117114019 B CN117114019 B CN 117114019B CN 202311368791 A CN202311368791 A CN 202311368791A CN 117114019 B CN117114019 B CN 117114019B
Authority
CN
China
Prior art keywords
detected
module
target item
file
internationalized resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311368791.9A
Other languages
Chinese (zh)
Other versions
CN117114019A (en
Inventor
李兆鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Yixianghaoju Network Technology Co ltd
Original Assignee
Tianjin Yixianghaoju Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Yixianghaoju Network Technology Co ltd filed Critical Tianjin Yixianghaoju Network Technology Co ltd
Priority to CN202311368791.9A priority Critical patent/CN117114019B/en
Publication of CN117114019A publication Critical patent/CN117114019A/en
Application granted granted Critical
Publication of CN117114019B publication Critical patent/CN117114019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/58Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/51Translation evaluation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Library & Information Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Machine Translation (AREA)

Abstract

The embodiment of the application provides an internationalized resource file extraction and back-filling method and device and a continuous integration platform thereof, and relates to the technical field of computers. Acquiring a condition to be detected, which is set on a front page of the continuous integrated platform, of a target object, wherein the condition to be detected is a path of a module to be detected or a name of the module to be detected; responding to one-key detection starting operation of a target object, and scanning internationalized resource files in a target item of a continuous integrated platform according to a to-be-detected module path or a to-be-detected module name to obtain a plurality of to-be-detected modules; extracting the content of a module to be detected to obtain at least one extraction document, and determining a key corresponding to each extraction document; and translating the extracted text to obtain a translated text, and backfilling the translated text into a module to be detected according to the key to obtain the backfilled internationalized resource file. The requirements of matching projects can be customized, and extraction and backfilling of specific modules can be realized.

Description

Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof
Technical Field
The application relates to the technical field of computers, in particular to an internationalized resource file extraction and back-filling method and device and a continuous integration platform.
Background
Internationalization (i 18 n) technology is widely used in the software field, mainly to extract and back-fill resource files in target projects to support multilingual application programs. In the extraction and backfilling of internationalized resource files, extraction tools and libraries are typically used to extract text to be translated, such as getnext, i18next, etc., from source code resource files. The tools extract the text to be translated into the translation resource file through code scanning, and after translation collaboration, the translated content is displayed for a user to view. The process mainly extracts the text to be translated from all source code resource files in the target project, the requirements of matching projects cannot be customized, and extraction and backfilling of specific modules in internationalized resource files cannot be realized.
Disclosure of Invention
The application provides an internationalized resource file extraction and back-filling method and device, a continuous integration platform and a readable storage medium, which can customize and match project requirements and realize extraction and back-filling of specific modules.
The technical scheme of the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a method for extracting and backfilling an internationalized resource file, which is applied to a continuous integration platform, where the method includes:
Acquiring a condition to be detected, which is set on a front page of the continuous integrated platform, of a target object, wherein the condition to be detected is a path of a module to be detected or a name of the module to be detected;
responding to one-key detection starting operation of a target object, and scanning internationalized resource files in a target item of the continuous integrated platform according to the path of the module to be detected or the name of the module to be detected to obtain a plurality of modules to be detected;
extracting the content of the module to be detected to obtain at least one extraction document, and determining a key corresponding to each extraction document;
and translating the extracted text to obtain a translated text, and backfilling the translated text into the module to be detected according to the key to obtain a backfilled internationalized resource file.
In the technical scheme, firstly, the to-be-detected condition of the target object on the front page of the continuous integrated platform is obtained, the to-be-detected condition is a to-be-detected module path or a to-be-detected module name, a specific module can be appointed through the to-be-detected condition, the to-be-detected module can be obtained later, and the customized matching project requirement is realized; responding to one-key detection starting operation of a target object, scanning internationalized resource files in a target item of a continuous integrated platform according to a to-be-detected module path or a to-be-detected module name to obtain a plurality of to-be-detected modules, and obtaining a designated to-be-detected module through the to-be-detected module path or the to-be-detected module name, thereby being beneficial to extracting and backfilling a specific module subsequently; then extracting the content of the module to be detected to obtain at least one extracted text, and determining a key corresponding to each extracted text, so that the subsequent refilling according to the keys is facilitated; and translating the extracted text to obtain a translated text, and backfilling the translated text into the module to be detected according to the key to obtain a backfilled internationalized resource file, thereby realizing the extraction and backfilling of the specific module. Compared with the prior art that the requirements of matching items cannot be customized and the extraction and the backfilling of specific modules in internationalized resource files cannot be realized, the method and the device for detecting the internationalized resource files can formulate the specific modules by acquiring the conditions to be detected, realize the requirements of customized matching items, extract and backfill the specific modules to be detected, realize the extraction and the backfilling of the specific modules, convert the internationalized resource files into target languages through the extraction and the backfilling, and further realize the multi-language support of the specific modules.
In some embodiments of the present application, the extracting content from the module to be detected to obtain at least one extracted document, and determining a key corresponding to each extracted document, includes:
extracting the content of the module to be detected by using a preset rule to obtain at least one extraction document;
acquiring a preset key;
and under the condition that the number of the extracted texts is larger than the number of the preset keys, carrying out quantity self-increase on the preset keys according to the number of the extracted texts to obtain the keys corresponding to each extracted text.
According to the technical scheme, the content of the module to be detected is extracted through the preset rule, so that the specific module can be extracted in a refined mode, the key corresponding to each extraction document is determined, the number of keys is adjusted according to the number of the extraction documents, the one-to-one correspondence between the extraction documents and the keys is realized, the subsequent backfilling processing is facilitated, and the refined extraction and backfilling of the module are realized.
In some embodiments of the present application, the translating the extracted document to obtain a translated document, and backfilling the translated document into the module to be detected according to the key to obtain a backfilled internationalized resource file, including:
Invoking a preset translation algorithm to translate the extracted text to obtain the translated text;
and replacing a value corresponding to the key in the module to be detected by using the translation file to obtain the backfilled internationalized resource file.
In the technical scheme, the extracted text is translated by using a preset translation algorithm, so that automatic translation is realized, the translation processing efficiency is improved, and the translation text is replaced by a value corresponding to the key, so that the specific module is refilled.
In some embodiments of the present application, after the translating the extracted document to obtain a translated document, and backfilling the translated document into the module to be detected according to the key, the method further includes:
uploading the backfilled internationalized resource file to the front-end page, displaying the translation file and prompting information, wherein the prompting information is used for prompting a target object to verify the translation file;
responding to the checksum correction operation of the target object on the translation document to obtain a verification result;
and according to the verification result, storing the backfilled internationalized resource file into the target item, and deploying and testing the target item.
In the technical scheme, the method and the device have the advantages that the method and the device can verify and correct the translation file by uploading the reversely filled internationalized resource file to the front-end page and displaying the translation file, improve the translation accuracy and ensure that the target item can run correctly. And storing the back-filled internationalized resource file into a target item, and deploying and testing the target item so as to carry out subsequent online of the target item.
In some embodiments of the present application, the storing the backfilled internationalized resource file into the target item according to the verification result, and deploying and testing the target item includes:
and under the condition that the verification result is that verification is passed, storing the backfilled internationalized resource file into a catalog where the target item is located, deploying a test environment in the continuous integrated platform, deploying the target item in the test environment, and testing the target item.
In the technical scheme, the test environment is deployed in the continuous integrated platform, the target item is deployed in the test environment, and the target item is tested, so that the test of the target item is realized, and the stability of the subsequent target item after being on line is ensured.
In some embodiments of the present application, the storing the backfilled internationalized resource file into the target item according to the verification result, and deploying and testing the target item includes:
obtaining a corrected text case when the verification result is that the verification is not passed and the translated text is corrected;
updating the backfilled internationalized resource file by using the correction file according to the key to obtain an updated internationalized resource file;
and storing the updated internationalized resource file into the target item, deploying a test environment in the continuous integrated platform, deploying the target item in the test environment, and testing the target item.
In the technical scheme, the correct translated resource file is obtained by acquiring the corrected text file and updating the backfilled internationalized resource file by using the corrected text file, so that the correct target item is obtained. And deploying a test environment in the continuous integrated platform, deploying the target item in the test environment, and testing the target item to realize the test of the target item so as to ensure the stability of the subsequent target item after being online.
In some embodiments of the present application, after the deploying the target item in the testing environment, the method further comprises:
under the condition that the test is successful, the target item is deployed to a preset third party tool, and the third party tool is controlled to be online;
and under the condition that the test is unsuccessful, adjusting the target item until the test verification is successful, deploying the target item to a preset third party tool, and controlling the third party tool to online the target item.
In the technical scheme, after the test is completed, the target item is deployed to a preset third party tool, so that the cooperation of automatic test and cross-platform is realized, and the target item is online.
In a second aspect, an embodiment of the present application provides an apparatus for extracting and refilling an internationalized resource file, where the apparatus is disposed on a continuous integration platform, and the apparatus includes:
the data acquisition module is used for acquiring conditions to be detected, which are set on a front page of the continuous integrated platform, of a target object, wherein the conditions to be detected are paths of modules to be detected or names of the modules to be detected;
The file scanning module is used for responding to one-key detection starting operation of the target object, and scanning internationalized resource files in the target item of the continuous integrated platform according to the path of the module to be detected or the name of the module to be detected to obtain a plurality of modules to be detected;
the content extraction module is used for extracting the content of the module to be detected to obtain at least one extraction document, and determining a key corresponding to each extraction document;
and the file translation module is used for translating the extracted file to obtain a translated file, and backfilling the translated file into the module to be detected according to the key to obtain the backfilled internationalized resource file.
In a third aspect, an embodiment of the present application provides a persistent integration platform, including a processor, a memory, a user interface, and a network interface, where the memory is configured to store instructions, the user interface and the network interface are configured to communicate with other devices, and the processor is configured to execute the instructions stored in the memory, so that the persistent integration platform performs the method according to any one of the first aspect provided above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing instructions that, when executed, perform the method of any one of the first aspects provided above.
In summary, one or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
1. the technical means of extracting and backfilling the to-be-detected module appointed by the to-be-detected condition is adopted to acquire the to-be-detected condition, and the one-key detection starting operation of the target object is responded, so that the problem that the requirements of matching items cannot be customized and the extraction and the backfilling of the specific module in the internationalized resource file cannot be realized in the related technology is effectively solved. According to the method and the device for processing the internationalized resource file, requirements of matching projects can be customized, extraction and backfilling of the specific module are achieved, the internationalized resource file is converted into a target language through extraction and backfilling, and multi-language support of the specific module is achieved.
2. And by determining the keys corresponding to each extraction document and adjusting the number of the keys according to the number of the extraction documents, the one-to-one correspondence between the extraction documents and the keys is realized, and the subsequent backfilling treatment is facilitated.
3. And verifying and correcting the reversely filled internationalized resource file to obtain a correct translated resource file, so that a correct target item is obtained, and the realization of online of the target item is facilitated.
4. The test environment is deployed on the continuous integrated platform, so that the test of the target item is realized, the target item is deployed to a preset third-party tool, the collaboration of automatic test and cross-platform is realized, and the target item is online.
Drawings
FIG. 1 is a flow chart of a method for extracting and backfilling internationalized resource files according to one embodiment of the present application;
FIG. 2 is a schematic flow chart showing a sub-step of step S300 in FIG. 1;
FIG. 3 is a schematic flow chart of a sub-step of step S400 in FIG. 1;
FIG. 4 is a flowchart illustrating a method for extracting and backfilling internationalized resource files according to another embodiment of the present disclosure;
FIG. 5 is a schematic flow chart showing a sub-step of step S700 in FIG. 4;
FIG. 6 is a schematic overall flow diagram of an exemplary method for extracting and backfilling internationalized resource files according to one embodiment of the present disclosure;
FIG. 7 is a schematic structural diagram of an apparatus for extracting and backfilling internationalized resource files according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a continuous integration platform according to one embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments.
In the description of embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described herein as "such as" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "or" for example "is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, the term "plurality" means two or more. For example, a plurality of systems means two or more systems, and a plurality of screen terminals means two or more screen terminals. Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating an indicated technical feature. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
The embodiment of the application provides an internationalized resource file extraction and back-filling method, a device thereof, a continuous integration platform and a readable storage medium, wherein the internationalized resource file extraction and back-filling method is used for obtaining conditions to be detected, which are set on a front end page of the continuous integration platform by a target object, wherein the conditions to be detected are paths of modules to be detected or names of the modules to be detected, and specific modules can be appointed by the conditions to be detected, so that the modules to be detected can be obtained later, and the requirements of customized matching projects can be met; responding to one-key detection starting operation of a target object, scanning internationalized resource files in a target item of a continuous integrated platform according to a to-be-detected module path or a to-be-detected module name to obtain a plurality of to-be-detected modules, and obtaining a designated to-be-detected module through the to-be-detected module path or the to-be-detected module name, thereby being beneficial to extracting and backfilling a specific module subsequently; then extracting the content of the module to be detected to obtain at least one extracted text, and determining a key corresponding to each extracted text, so that the subsequent refilling according to the keys is facilitated; and translating the extracted text to obtain a translated text, and backfilling the translated text into the module to be detected according to the key to obtain a backfilled internationalized resource file, thereby realizing the extraction and backfilling of the specific module. Compared with the prior art that the requirements of matching items cannot be customized and the extraction and the backfilling of specific modules in internationalized resource files cannot be realized, the method and the device for detecting the internationalized resource files can formulate the specific modules by acquiring the conditions to be detected, realize the requirements of customized matching items, extract and backfill the specific modules to be detected, realize the extraction and the backfilling of the specific modules, convert the internationalized resource files into target languages through the extraction and the backfilling, and further realize the multi-language support of the specific modules.
It should be noted that, the method for extracting and backfilling internationalized resource files is applied to extracting and backfilling specific source code resource files in a software target project, and the source code resource files can be replaced by files in multiple languages, so as to support the online of the target project in multiple languages. The extraction and backfilling method of the internationalization resource file enables the internationalization process to be more efficient and reliable, helps developers and translation teams to cooperate better, provides multi-language supported application programs, and realizes cross-platform operation of items on line.
The technical scheme provided by the embodiment of the application is further described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flow chart of an internationalized resource file extraction and backfilling method according to an embodiment of the present application. The method for extracting and backfilling the internationalized resource file is applied to a continuous integration platform, and the method for extracting and backfilling the internationalized resource file is executed by a processor in the continuous integration platform or a readable storage medium and comprises the steps of S100, S200, S300 and S400.
Step S100, obtaining a condition to be detected, which is set on a front-end page of the continuous integrated platform, of a target object, wherein the condition to be detected is a path of a module to be detected or a name of the module to be detected.
In an embodiment, the target object may be a user, a worker, and, illustratively, a verifier and a tester. Before acquiring the condition to be detected set by the target object on the front-end page of the continuous integration platform, firstly determining the operation authority of the target object, and under the condition that a worker is an administrator, defaulting to have the authority of setting the condition to be detected on the front-end page of the continuous integration platform. And under the condition that the target object is a user, granting permission to the user so that the user has the permission to set the condition to be detected on the front-end page of the continuous integration platform. Therefore, the target object has operation authority, the condition to be detected is set on the front-end page of the continuous integrated platform, the condition to be detected set by the target object is obtained, the condition to be detected is a path of a module to be detected or a name of the module to be detected, the module to be detected is indicated, the customized matching project requirement is realized, and the subsequent realization of the extraction and the backfilling of the specific module is facilitated.
Step S200, in response to the one-key detection starting operation of the target object, scanning internationalized resource files in the target item of the continuous integrated platform according to the path or the name of the module to be detected, and obtaining a plurality of modules to be detected.
In an embodiment, a front-end page of the continuous integration platform is provided with a one-key detection button, and in response to a one-key detection start operation of a target object, search and scan can be performed simultaneously under the condition that a plurality of modules are indicated according to a path of a module to be detected or a name of the module to be detected. Wherein the one-touch detection button is implemented by a < button > tag, which is not described herein. And scanning internationalized resource files in the target project of the continuous integrated platform by using the API or script of the continuous integrated platform according to the path or the name of the module to be detected to obtain a plurality of modules to be detected corresponding to the condition to be detected, wherein the obtained modules are specific modules, and not all the modules are extracted and refilled.
And step S300, extracting the content of the module to be detected to obtain at least one extraction document, and determining the key corresponding to each extraction document.
In an embodiment, according to the specific module obtained in step S200, content extraction is performed on the module to be detected to obtain at least one extraction document, so as to achieve fine extraction of the specific module. And determining a key corresponding to each extracted text, wherein the key is used for searching a unique identifier corresponding to translation in the internationalized resource file, so that the subsequent backfilling of the translation text is facilitated.
As shown in fig. 2, the content extraction is performed on the module to be detected to obtain at least one extracted document, and the key corresponding to each extracted document is determined, including but not limited to the following steps:
and step S310, extracting the content of the module to be detected by using a preset rule to obtain at least one extraction document.
In some possible embodiments of the present application, the preset rule may be a regular expression or a string processing function. And extracting the content of the module to be detected by using a preset rule to obtain at least one extraction document, so as to realize the fine extraction of the specific module.
Step S320, obtaining a preset key.
In some possible embodiments of the present application, the preset key may be represented by a dictionary or a list, and the preset key may be obtained by calling a dictionary or a list interface, where the preset key is set by an expert according to the requirement and occupies a sufficient amount of storage space, so that the preset key can be amplified. The number of the keys can be counted through dictionary or list representation, the keys can be increased or decreased conveniently, and further the one-to-one correspondence between the extracted text and the keys is achieved.
Step S330, under the condition that the number of the extracted texts is larger than the number of the preset keys, the number of the preset keys is automatically increased according to the number of the extracted texts, and the keys corresponding to each extracted text are obtained.
In some possible embodiments of the present application, if the number of extracted documents is greater than the number of preset keys, the keys need to be added and named if one-to-one correspondence between the extracted documents and the keys is to be achieved, so that each key can uniquely identify one extracted document, which is beneficial to implementing the subsequent backfilling of translated documents. According to the keys obtained in step S320, the number of keys is automatically increased in the dictionary or the list according to the number of extracted texts, so that the keys corresponding to each extracted text are obtained, one-to-one correspondence between the extracted text and the keys is realized, and subsequent backfilling operation is facilitated.
In other possible embodiments of the present application, under the condition that the number of extracted documents is less than or equal to the number of preset keys, one extracted document is corresponding to one key, so that one-to-one correspondence between extracted documents and keys can be realized, and the subsequent backfilling operation is convenient.
Step S400, translating the extracted file to obtain a translated file, and backfilling the translated file into a module to be detected according to the key to obtain the backfilled internationalized resource file.
In an embodiment, according to the extracted text obtained in step S300 and the key corresponding to the extracted text, translation is performed on the extracted text to obtain a translated text, so that translation of the text of a specific module is realized, instead of translation operation on all files, and translation efficiency can be improved. And according to the key, the translation is backfilled into the module to be detected, so that the fine extraction and backfilling of the specific module are realized. Because the module to be detected is a part of the internationalized resource file, the internationalized resource file after being refilled is obtained, and the internationalized resource file is converted into the target language by extracting the refill, so that the multi-language support of the specific module is realized.
As shown in fig. 3, the extracted document is translated to obtain a translated document, and the translated document is backfilled into a module to be detected according to a key to obtain a backfilled internationalized resource file, which includes but is not limited to the following steps:
step S410, a preset translation algorithm is called to translate the extracted text, and a translated text is obtained.
In some possible embodiments of the present application, the preset translation algorithm may be a recurrent neural network translation algorithm, a language rule-based translation algorithm, or other translation algorithms, which are not described herein. Illustratively, a recurrent neural network translation algorithm is invoked to translate the extracted text to obtain a translated text, so that the subsequent backfilling processing of the translated text can be performed.
And S420, replacing a value corresponding to the key in the module to be detected by using the translation scheme to obtain the backfilled internationalized resource file.
In some possible embodiments of the present application, according to the translation document obtained in step S410, first, a value corresponding to a key is found in a module to be detected, where the value is an extraction document, after the extraction content is found according to the key, the extraction document is replaced by using the translation document, so that the code in the module to be detected is a code matched with the requirement, a backfilled international resource file is obtained, and the international resource file is converted into a target language through extraction and backfilling, thereby realizing multi-language support of a specific module. In the process of replacing the extracted text by the translated text, the translated text can be directly backfilled to the position corresponding to the extracted text due to the replacement of the source code. For example, when the extracted text includes the expression content, the translated expression language can be directly backfilled to the corresponding position, and the function of the code can be realized without format adjustment.
As shown in fig. 4, after translating the extracted document to obtain a translated document, and backfilling the translated document into the module to be detected according to the key, the method for extracting and backfilling the internationalized resource file further includes, but is not limited to, the following steps:
and S500, uploading the back-filled internationalized resource file to a front-end page, displaying the translation file and prompting information, wherein the prompting information is used for prompting a target object to verify the translation file.
In an embodiment, the back-filled internationalized resource file is saved in a format readable by the front-end page, for example, in JSON format or JavaScript file format, so that the back-filled internationalized resource file can be introduced on the front-end page, the JavaScript file format can be introduced using the < script > tag, or the JSON file can be loaded using the AJAX request. And uploading the back-filled internationalized resource file to a front-end page, and displaying on the front-end page according to the format conversion. In order to facilitate the target object to verify the translation document, the translation document of the resource file internationalized after backfilling is displayed. When the translation is displayed, the prompt information is displayed, and is used for reminding the target object to verify the translation, and the prompt information is displayed, so that the prompt information is beneficial to reminding the target object to audit rapidly, and the processing efficiency is improved.
And step S600, responding to the checksum correction operation of the target object on the translation document, and obtaining a verification result.
In an embodiment, according to the translation document displayed in step S500, the target object performs checksum correction on the translation document on the front page, clicks the correction completion button, and responds to the checksum correction operation of the target object on the translation document to obtain the verification result. And by obtaining the verification result, the subsequent deployment and testing of the target item are facilitated.
And step S700, storing the refilled internationalized resource file into a target project according to the verification result, and deploying and testing the target project.
In one embodiment, according to the verification result, storing the refilled internationalized resource file into a target item, and deploying and testing the target item, specifically including: and under the condition that the verification result is that the verification is passed, storing the refilled internationalized resource file into a catalog where the target project is located, deploying a test environment in the continuous integration platform, deploying the target project in the test environment, and testing the target project.
In some possible embodiments of the present application, if the verification result is that verification is passed, the post-backfilled internationalized resource file is saved to the directory where the target item is located, so as to ensure that the file name and the path are consistent with the references in the target item. And configuring a test environment in the continuous integrated platform, and running the configuration file to deploy by adding the configuration file. Then adding a deployment target item in the deployment flow of the test environment, and using a script command or tool to deploy. Illustratively, the relevant commands are executed using a command line tool, or deployed using an automated deployment tool. The automated deployment tool may be a Docker or an stable, etc. After the target item is deployed, the test environment is entered for testing, specifically, the target item is operated, the function of the target item can be automatically tested through the design of the test case, the target item can be smoothly operated and has normal functions through the test, and the follow-up online operation of the target item is facilitated.
As shown in fig. 5, according to the verification result, the refilled internationalized resource file is saved to the target item, and the target item is deployed and tested, and the method further includes, but is not limited to, the following steps:
step S710, obtaining the corrected text case when the verification result is that the verification is not passed and the translated text is corrected.
In some possible embodiments of the present application, when the verification result is that the verification is not passed and the translation is corrected, the front page can store the corrected translation, that is, the corrected translation. And acquiring a corrected text file from the front-end page through a preset interface, wherein the corrected text file is a correct translation file, so that the translation accuracy can be ensured, and the target item can be normally operated on line. The preset interface can be a WebSocket protocol, and the WebSocket protocol can establish bidirectional communication connection between the front end and the rear end, so that the corrected text can be obtained.
And step S720, updating the backfilled internationalized resource file by using the corrected text file according to the key to obtain an updated internationalized resource file.
In some possible embodiments of the present application, since there is a unique identifier key, since the corrected text file corresponds to the translated text file, the post-filled internationalized resource file is updated with the corrected text file according to the key, that is, the translated text file portion in the post-filled internationalized resource file is replaced with the corrected text file, so as to obtain the updated internationalized resource file. The translated internationalization resource file is accurate, and the target project can be ensured to run accurately.
And step S730, storing the updated internationalized resource file into a target project, deploying a test environment in the continuous integration platform, deploying the target project in the test environment, and testing the target project.
In some possible embodiments of the present application, the updated internationalized resource file is saved to the directory where the target item is located, so as to ensure that the file name and path are consistent with the references in the target item. And configuring a test environment in the continuous integrated platform, and running the configuration file to deploy by adding the configuration file. Then adding a deployment target item in the deployment flow of the test environment, and using a script command or tool to deploy. Illustratively, the relevant commands are executed using a command line tool, or deployed using an automated deployment tool. The automated deployment tool may be a Docker or an stable, etc. After the target item is deployed, the test environment is entered for testing, specifically, the target item is operated, the function of the target item can be tested by designing the test case, and the target item can be smoothly operated and has normal functions through the test so as to be beneficial to the subsequent online operation of the target item.
In an embodiment, the method for extracting and backfilling internationalized resource files after the target project is tested by deploying the target project in the test environment further comprises: in the case of successful testing, the names, version numbers, environment variables, etc. of the items may be set, for example, since the third party tool has an interface to add new items or applications and is able to configure the relevant item settings. The code of the target item can be uploaded to the third party tool through the interface, the deployment flow is triggered, the target item is deployed into the environment of the third party tool, the third party tool is controlled to be online, automatic testing and cross-platform cooperation are achieved, and the target item is online. The third party tool can be a WeChat or nailing tool.
In another embodiment, under the condition that the test is unsuccessful, the problem of the translation of the target item is indicated, the updated internationalized resource file is uploaded to the front-end page, the corrected text is displayed, and the prompt information is used for reminding the target object to verify the translation. At this time, the prompt message is used for prompting the target object to replace the calibrator and correcting the correction text. And acquiring the corrected text again, replacing the last corrected text by the corrected text according to the key, and updating the internationalized resource file again to obtain the updated internationalized resource file. And storing the updated internationalized resource file into a target project, deploying a testing environment in the continuous integration platform, deploying the target project in the testing environment, and testing the target project. Repeating the steps until the test verification is successful. The code of the target item can be uploaded to the third party tool through the interface, the deployment flow is triggered, the target item is deployed into the environment of the third party tool, and the third party tool is controlled to be online. And the collaboration of automatic testing and cross-platform is realized, and the target item is online.
As shown in fig. 6, an embodiment of the present application provides an overall flowchart of an internationalized resource file extraction and backfilling method. Firstly judging the authority of a target object, and setting a condition to be detected on a front-end page under the condition that the target object has the authority; and under the condition of no authority, giving the authority corresponding to the target object. Acquiring a to-be-detected condition of a target object on a front page of the continuous integrated platform, wherein the to-be-detected condition is a to-be-detected module path or a to-be-detected module name, and a specific module can be appointed through the to-be-detected module path or the to-be-detected module name, so that the to-be-detected module can be obtained later, and the customized matching project requirement can be realized; responding to one-key detection starting operation of a target object, and scanning internationalized resource files in a target item of a continuous integrated platform according to a to-be-detected module path or a to-be-detected module name to obtain a plurality of to-be-detected modules, wherein the to-be-detected modules are specific modules appointed by the target object; extracting the content of the module to be detected to obtain at least one extraction document, realizing the fine extraction of the module to be detected, determining the key corresponding to each extraction document, adding the keys under the condition that the number of the extraction documents is larger than the number of the keys, naming the keys, realizing the one-to-one correspondence between the extraction documents and the keys, and facilitating the subsequent refilling according to the keys; and translating the extracted text to obtain a translated text, and backfilling the translated text into the module to be detected according to the key to obtain a backfilled internationalized resource file, thereby realizing the extraction and backfilling of the specific module. Displaying the translation file, detecting that the internationalized resource file is changed, distributing a target object to verify and correct the translation file, responding to the verification and correction operation of the target object on the translation file to obtain a verification result, storing the internationalized resource file after backfilling into a catalog where the target item is located under the condition that the verification result is verification passing, reading the file to realize file output, deploying a test environment in a continuous integrated platform, deploying the target item in the test environment, and testing the target item. Or under the condition that the verification result is that the verification is not passed and the translation is corrected, acquiring a corrected text file, updating the reversely filled internationalized resource file by utilizing the corrected text file according to the key, obtaining an updated internationalized resource file, storing the updated internationalized resource file into a catalog where a target project is located, reading the file to realize file output, deploying a test environment in a continuous integration platform, deploying the target project in the test environment, and testing the target project to realize the test of the target project. Judging whether the test is successful, and under the condition that the test is successful, deploying the target item to a preset third party tool, and controlling the third party tool to online the target item; and under the condition that the test is unsuccessful, adjusting the target item until the test verification is successful, deploying the target item to a preset third party tool, and controlling the third party tool to online the target item. The test environment is deployed on the continuous integrated platform, so that the test of the target item is realized, the target item is deployed to a preset third-party tool, the collaboration of automatic test and cross-platform is realized, and the target item is online.
As shown in fig. 7, the embodiment of the present application provides an internationalized resource file extraction and reloading device 100, where the device 100 is disposed on a continuous integration platform, and the device 100 obtains, through a data obtaining module 110, a condition to be detected set on a front end page of the continuous integration platform by a target object, where the condition to be detected is a path of a module to be detected or a name of the module to be detected, and a specific module can be designated through the condition to be detected, so that a module to be detected is favorable for subsequent acquisition, and a requirement of customized matching projects is achieved; the file scanning module 120 is utilized to respond to one-key detection starting operation of the target object, internationalized resource files in the target item of the continuous integrated platform are scanned according to the paths of the modules to be detected or the names of the modules to be detected, so that a plurality of modules to be detected are obtained, and the specified modules to be detected are obtained through the paths of the modules to be detected or the names of the modules to be detected, so that the subsequent extraction and backfilling of the specific modules are facilitated; then, extracting the content of the module to be detected by adopting a content extraction module 130 to obtain at least one extraction document, and determining a key corresponding to each extraction document, thereby facilitating subsequent backfilling according to the key; finally, the file translation module 140 is utilized to translate the extracted file to obtain a translated file, and the translated file is backfilled into the module to be detected according to the key to obtain the backfilled internationalized resource file, so that the extraction and backfilling of the specific module are realized.
It should be noted that, the data acquisition module 110 is connected to the file scanning module 120, the file scanning module 120 is connected to the content extraction module 130, and the content extraction module 130 is connected to the file translation module 140. The method for extracting and backfilling the internationalized resource file is applied to the device for extracting and backfilling the internationalized resource file 100, and the device for extracting and backfilling the internationalized resource file 100 can formulate specific modules by acquiring conditions to be detected, thereby realizing the requirement of customized matching projects, extracting and backfilling the modules to be detected appointed by the conditions to be detected, realizing the extraction and backfilling of the specific modules, converting the internationalized resource file into a target language by extracting and backfilling, and further realizing the multi-language support of the specific modules.
Also to be described is: in the device provided in the above embodiment, when implementing the functions thereof, only the division of the above functional modules is used as an example, in practical application, the above functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the embodiments of the apparatus and the method provided in the foregoing embodiments belong to the same concept, and specific implementation processes of the embodiments of the method are detailed in the method embodiments, which are not repeated herein.
The application also discloses a continuous integration platform. Referring to fig. 8, fig. 8 is a schematic structural diagram of a continuous integration platform according to the disclosure of the embodiments of the present application. The continuous integration platform 500 may include: at least one processor 501, at least one network interface 504, a user interface 503, a memory 505, at least one communication bus 502.
Wherein a communication bus 502 is used to enable connected communications between these components.
The user interface 503 may include a Display screen (Display) and a Camera (Camera), and the optional user interface 503 may further include a standard wired interface and a standard wireless interface.
The network interface 504 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the processor 501 may include one or more processing cores. The processor 501 connects various parts throughout the server using various interfaces and lines, performs various functions of the server and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 505, and invoking data stored in the memory 505. Alternatively, the processor 501 may be implemented in hardware in at least one of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 501 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 501 and may be implemented by a single chip.
The Memory 505 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 505 comprises a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 505 may be used to store instructions, programs, code sets, or instruction sets. The memory 505 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described various method embodiments, etc.; the storage data area may store data or the like involved in the above respective method embodiments. The memory 505 may also optionally be at least one storage device located remotely from the processor 501. Referring to fig. 8, a memory 505, which is a computer storage medium, may include an operating system, a network communication module, a user interface module, and an application program of an internationalized resource file extraction and reclamation method.
In the continuous integration platform 500 shown in fig. 8, the user interface 503 is mainly used for providing an input interface for a user, and acquiring data input by the user; and the processor 501 may be configured to invoke an application in the memory 505 that stores an internationalized resource file extraction and back-filling method, which when executed by the one or more processors 501, causes the continuously integrated platform 500 to perform the method as in one or more of the embodiments described above. It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required in the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided herein, it should be understood that the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, such as a division of units, merely a division of logic functions, and there may be additional divisions in actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a memory, including several instructions for causing a computer device (which may be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned memory includes: various media capable of storing program codes, such as a U disk, a mobile hard disk, a magnetic disk or an optical disk.
The above are merely exemplary embodiments of the present disclosure and are not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure.
This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (9)

1. An internationalized resource file extraction and backfilling method is characterized by being applied to a continuous integration platform, and comprises the following steps:
acquiring a condition to be detected, which is set on a front page of the continuous integrated platform, of a target object, wherein the condition to be detected is a path of a module to be detected or a name of the module to be detected;
responding to one-key detection starting operation of a target object, and scanning internationalized resource files in a target item of the continuous integrated platform according to the path of the module to be detected or the name of the module to be detected to obtain a plurality of modules to be detected;
extracting the content of the module to be detected to obtain at least one extraction document, and determining a key corresponding to each extraction document;
translating the extracted text to obtain translated text, and backfilling the translated text into the module to be detected according to the key to obtain a backfilled internationalized resource file;
The content extraction is performed on the module to be detected to obtain at least one extraction document, and a key corresponding to each extraction document is determined, including:
extracting the content of the module to be detected by using a preset rule to obtain at least one extraction document;
acquiring a preset key;
and under the condition that the number of the extracted texts is larger than the number of the preset keys, carrying out quantity self-increase on the preset keys according to the number of the extracted texts to obtain the keys corresponding to each extracted text.
2. The method of claim 1, wherein the translating the extracted document to obtain a translated document, and backfilling the translated document to the module to be detected according to the key to obtain a backfilled internationalized resource file, includes:
invoking a preset translation algorithm to translate the extracted text to obtain the translated text;
and replacing a value corresponding to the key in the module to be detected by using the translation file to obtain the backfilled internationalized resource file.
3. The method of claim 1, wherein after translating the extracted document to obtain a translated document, and backfilling the translated document to the module to be detected according to the key to obtain a backfilled internationalized resource file, the method further comprises:
Uploading the backfilled internationalized resource file to the front-end page, displaying the translation file and prompting information, wherein the prompting information is used for prompting a target object to verify the translation file;
responding to the checksum correction operation of the target object on the translation document to obtain a verification result;
and according to the verification result, storing the backfilled internationalized resource file into the target item, and deploying and testing the target item.
4. The method of claim 3, wherein the storing the backfilled internationalized resource file into the target item according to the verification result, and deploying and testing the target item comprises:
and under the condition that the verification result is that verification is passed, storing the backfilled internationalized resource file into a catalog where the target item is located, deploying a test environment in the continuous integrated platform, deploying the target item in the test environment, and testing the target item.
5. The method of claim 3, wherein the storing the backfilled internationalized resource file into the target item according to the verification result, and deploying and testing the target item comprises:
Obtaining a corrected text case when the verification result is that the verification is not passed and the translated text is corrected;
updating the backfilled internationalized resource file by using the correction file according to the key to obtain an updated internationalized resource file;
and storing the updated internationalized resource file into the target item, deploying a test environment in the continuous integrated platform, deploying the target item in the test environment, and testing the target item.
6. The method of claim 4 or 5, wherein after the deploying the target item in the testing environment, the method further comprises:
under the condition that the test is successful, the target item is deployed to a preset third party tool, and the third party tool is controlled to be online;
and under the condition that the test is unsuccessful, adjusting the target item until the test verification is successful, deploying the target item to a preset third party tool, and controlling the third party tool to online the target item.
7. An internationalized resource file extraction and backfilling device, which is characterized by being arranged on a continuous integration platform, and comprising:
The data acquisition module (110) is used for acquiring conditions to be detected, which are set on a front page of the continuous integrated platform, of a target object, wherein the conditions to be detected are paths of modules to be detected or names of the modules to be detected;
the file scanning module (120) is used for responding to one-key detection starting operation of a target object, and scanning internationalized resource files in a target item of the continuous integrated platform according to the path of the module to be detected or the name of the module to be detected to obtain a plurality of modules to be detected;
the content extraction module (130) is used for extracting the content of the module to be detected to obtain at least one extraction document, and determining a key corresponding to each extraction document;
the file translation module (140) is used for translating the extracted file to obtain a translated file, and backfilling the translated file into the module to be detected according to the key to obtain a backfilled internationalized resource file;
the content extraction module (130) is specifically configured to extract content from the module to be detected by using a preset rule, so as to obtain at least one extraction document;
acquiring a preset key;
and under the condition that the number of the extracted texts is larger than the number of the preset keys, carrying out quantity self-increase on the preset keys according to the number of the extracted texts to obtain the keys corresponding to each extracted text.
8. A continuously integrated platform, comprising a processor (501), a memory (505), a user interface (503), a communication bus (502) and a network interface (504), the processor (501), the memory (505), the user interface (503) and the network interface (504) being respectively connected to the communication bus (502), the memory (505) being for storing instructions, the user interface (503) and the network interface (504) being for communicating to other devices, the processor (501) being for executing the instructions stored in the memory (505) for causing the continuously integrated platform (500) to perform the method according to any one of claims 1-6.
9. A computer readable storage medium storing instructions which, when executed, perform the method of any one of claims 1-6.
CN202311368791.9A 2023-10-23 2023-10-23 Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof Active CN117114019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311368791.9A CN117114019B (en) 2023-10-23 2023-10-23 Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311368791.9A CN117114019B (en) 2023-10-23 2023-10-23 Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof

Publications (2)

Publication Number Publication Date
CN117114019A CN117114019A (en) 2023-11-24
CN117114019B true CN117114019B (en) 2024-01-12

Family

ID=88796927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311368791.9A Active CN117114019B (en) 2023-10-23 2023-10-23 Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof

Country Status (1)

Country Link
CN (1) CN117114019B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279847A (en) * 2011-08-17 2011-12-14 瑞斯康达科技发展股份有限公司 Method and device for internationalizing software system
CN112379969A (en) * 2020-11-13 2021-02-19 中国人寿保险股份有限公司 Continuous integrated delivery method based on containerized application and related equipment
CN112906404A (en) * 2021-04-26 2021-06-04 腾讯音乐娱乐科技(深圳)有限公司 Translation document verification method, electronic device and readable storage medium
CN113312056A (en) * 2021-06-16 2021-08-27 浪潮云信息技术股份公司 Internationalization implementation method of angular large-scale integration project, electronic device and storage medium
CN115328465A (en) * 2022-08-22 2022-11-11 西安电子科技大学 Multi-objective optimization platform based on low codes and establishment method thereof
CN116227505A (en) * 2023-02-17 2023-06-06 济南浪潮数据技术有限公司 Internationalization file translation method, device, equipment and medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102279847A (en) * 2011-08-17 2011-12-14 瑞斯康达科技发展股份有限公司 Method and device for internationalizing software system
CN112379969A (en) * 2020-11-13 2021-02-19 中国人寿保险股份有限公司 Continuous integrated delivery method based on containerized application and related equipment
CN112906404A (en) * 2021-04-26 2021-06-04 腾讯音乐娱乐科技(深圳)有限公司 Translation document verification method, electronic device and readable storage medium
CN113312056A (en) * 2021-06-16 2021-08-27 浪潮云信息技术股份公司 Internationalization implementation method of angular large-scale integration project, electronic device and storage medium
CN115328465A (en) * 2022-08-22 2022-11-11 西安电子科技大学 Multi-objective optimization platform based on low codes and establishment method thereof
CN116227505A (en) * 2023-02-17 2023-06-06 济南浪潮数据技术有限公司 Internationalization file translation method, device, equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
国际化软件的硬编码和过度翻译问题自动测试研究;刘雅君;李爱民;刘晟;袁婷;;计算机系统应用(09);第278-282页 *

Also Published As

Publication number Publication date
CN117114019A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
EP3821330B1 (en) Electronic device and method for generating short cut of quick command
US10136017B2 (en) Information processing system, information processing apparatus, and method for processing information
CN106919509B (en) Client generation method and device and electronic equipment
AU2017201927B2 (en) A method for roundtrip sharing of editable data with associated action between mobile apps
US20140006004A1 (en) Generating localized user interfaces
US20160198008A1 (en) Cloud-based content localization
US10191751B2 (en) Information processing device for generating application programming interface information
WO2016099773A1 (en) Method for enabling communication between a user device browser and a local device
CN110727417B (en) Data processing method and device
US20200265181A1 (en) Electronic device, method, and computer readable medium for dynamic layout message
CN111144402A (en) OCR recognition accuracy calculation method, device, equipment and storage medium
CN105991888A (en) Server device, operation image data providing method and information processing system
KR102061217B1 (en) Method for translation based on neural network
JP4626675B2 (en) Firmware providing method, communication system and service server using communication network
CN108717357B (en) Page display code conversion method, device, equipment and computer storage medium
CN117114019B (en) Internationalized resource file extraction and back-filling method and device and continuous integration platform thereof
KR20150051712A (en) Apparatus and method for automatic tlanslation
JP7303299B2 (en) HYPER PARAMETER TUNING METHOD, PROGRAM TRIAL SYSTEM AND COMPUTER PROGRAM
CN110730964B (en) Custom user cues for auto-fill applications
CN116301866A (en) Cloud rendering method, device, equipment and storage medium based on custom software
CN115543324A (en) Method, device, equipment and medium for generating interactive interface
CN113468260B (en) Data analysis method and device, electronic equipment and storage medium
US10977146B2 (en) Application operation monitoring apparatus and application operation monitoring method
US20210021639A1 (en) Method and electronic device for displaying web page
US20150227380A1 (en) Sensor with application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant