CN110210039B - Translation content checking method, device, system and computer equipment - Google Patents

Translation content checking method, device, system and computer equipment Download PDF

Info

Publication number
CN110210039B
CN110210039B CN201810366778.2A CN201810366778A CN110210039B CN 110210039 B CN110210039 B CN 110210039B CN 201810366778 A CN201810366778 A CN 201810366778A CN 110210039 B CN110210039 B CN 110210039B
Authority
CN
China
Prior art keywords
translation
item
question
character string
string field
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
CN201810366778.2A
Other languages
Chinese (zh)
Other versions
CN110210039A (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.)
Shenzhen Tencent Network Information Technology Co Ltd
Original Assignee
Shenzhen Tencent Network Information 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 Shenzhen Tencent Network Information Technology Co Ltd filed Critical Shenzhen Tencent Network Information Technology Co Ltd
Priority to CN201810366778.2A priority Critical patent/CN110210039B/en
Publication of CN110210039A publication Critical patent/CN110210039A/en
Application granted granted Critical
Publication of CN110210039B publication Critical patent/CN110210039B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/31Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/51Translation evaluation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Machine Translation (AREA)

Abstract

The embodiment of the invention discloses a method, a device, a system and computer equipment for checking translation content, wherein the method for checking translation content comprises the following steps: acquiring a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field; based on the source character string field and the translation character string field, scanning and checking the plurality of index items to find out a problem item; generating a corresponding problem description item for the problem item; and generating a question list according to the question description item. The embodiment of the invention can avoid the problems of incomplete inspection, omission and the like in manual inspection, and improves the inspection efficiency.

Description

Translation content checking method, device, system and computer equipment
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a method, a device, a system and computer equipment for checking translation contents.
Background
Internationally operating an application, typically referred to as an Application (APP) operating worldwide, the language in which the application presents relates to languages in different regions, different countries. For example, the game application "hero alliance" is an internationalized operation application, and is a multi-player online tactical competition game (Multiplayer online battle arena, MOBA) developed by the U.S. fist game (Riot Games), all resources of the game itself, sound effects and game texts are english, and when the "hero alliance" needs to operate in a country or region other than the united states, the application needs to be presented using the language of the corresponding country or region.
Application translation refers to rendering the application in a language other than the source language (e.g., chinese, japanese) without changing the content of the application. For example, in order for players in the chinese community to smoothly play the "hero alliance" game, all sound effects and text content within the "hero alliance" game need to be translated into chinese. The translation flow of the hero alliance can be shown in figure 1, before the game is packaged and put out of the file, personnel of a translation team can access a game multilingual translation website to check an original English character string of the game to be translated, translate the original English character string into a Chinese language character string, and generate a corresponding original translation file on the website after the translation is completed; when the game is packaged and shifted out, personnel of a translation team can export an original translation file from the website, the original translation file is packaged to a game client by utilizing a packaging tool, and a plaintext translation file in txt format and an encrypted translation file in tra format can be generated in the packaging process. The game packaging and out-of-file refers to a process of packaging various art, sound effects, special effects, language texts and logic codes of a game required by the game through a game packaging tool to generate an executable game client.
Translation content inspection is a means of inspecting translation versions of internationalized applications in other countries or regions to avoid translation related problems. At present, most of translation content inspection needs to be realized in the process of application operation through a manual inspection mode, namely, the translation content displayed on an application interface is inspected through naked eyes, the manual inspection mode is often not comprehensive enough, omission is easy to occur, and the inspection efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a translation content checking method, device, system and computer equipment, which can avoid the problems of incomplete checking, omission and the like in manual checking and improve the checking efficiency.
The translation content checking method provided by the embodiment of the invention comprises the following steps:
acquiring a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field;
based on the source character string field and the translation character string field, scanning and checking the plurality of index items to find out a problem item;
generating a corresponding problem description item for the problem item;
and generating a question list according to the question description item.
The translation content checking device provided by the embodiment of the invention comprises:
the terminal comprises an acquisition unit, a translation unit and a translation unit, wherein the acquisition unit is used for acquiring a translation file uploaded by the terminal, the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field;
the checking unit is used for scanning and checking the plurality of index items based on the source character string field and the translation character string field to find out a problem item;
the first generation unit is used for generating a corresponding problem description item for the problem item;
and the second generation unit is used for generating a problem list according to the problem description item.
Optionally, the apparatus further comprises:
the receiving unit is used for receiving the inquiry request sent by the terminal;
a sending unit, configured to send the problem list to the terminal;
a confirmation unit, configured to obtain a confirmation result of each question description item in the question list from the terminal;
and the storage unit is used for storing the confirmation result in a database.
Optionally, the apparatus further comprises:
the detection unit is used for detecting whether a confirmation result of the problem description item exists in the database;
the second generating unit is specifically configured to generate a question list according to the absence of the confirmation result and the question description item for which the confirmation result is a question.
Optionally, the problem type corresponding to the problem item is untranslated, and the checking unit is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item with the translation character string field being empty, and taking the found index item as the problem item.
Optionally, the problem type corresponding to the problem item is not completely translated, and the checking unit is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index items which still contain the source character string in the translation character string field and do not belong to the configuration file, and taking the found index items as the problem items.
Optionally, the problem type corresponding to the problem item is parameter translation error, and the checking unit is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out index items, of which the parameters in the translation character string field correspond to and are inconsistent with the parameters in the source character string field, and taking the found index items as the problem items.
Optionally, the problem type corresponding to the problem item is element translation inconsistency, and the checking unit is specifically configured to:
And scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item where the translation character string field with different description information for the same element is located, and taking the found index item as the problem item.
Optionally, the problem description item includes a problem type field and a problem remark field, and the first generating unit is specifically configured to:
generating the content of a question type field in the corresponding question description item according to the question type corresponding to the question item;
and generating the content of the question remark field in the corresponding question description item according to the content of the source character string field and the translation character string field in the question item.
The translation content checking system provided by the embodiment of the invention comprises a terminal and the translation content checking device provided by the embodiment of the invention.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, the computer program when executed by a processor causes the processor to execute the steps of the method for checking translation content according to any one of the embodiments of the invention.
The embodiment of the invention also provides a computer device, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program is executed by the processor to enable the processor to execute the steps of the translation content checking method according to any one of the embodiments of the invention.
In the embodiment of the invention, a translation file of an application uploaded by a terminal is acquired, then each index item in the translation file is scanned and checked based on a source character string field and a translation character string field of the index item of the translation file, a problem item is found, a corresponding problem description item is generated for the problem item, and a problem list is generated according to the problem description item; in the embodiment of the invention, the automatic inspection of the translation version of the application is realized by means of static text inspection and the problem list generation, and the inspector can know the translation condition of the content by checking the problem list generated by the automatic inspection, so that the problems of incomplete inspection, omission and the like caused by manual inspection on an application operation interface are avoided, and the inspection efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a game translation process.
Fig. 2 is a schematic view of a translation content checking system according to an embodiment of the present invention.
Fig. 3 is a flowchart of a method for checking translation contents according to an embodiment of the present invention.
FIG. 4 is a schematic diagram of a translation file format according to an embodiment of the present invention.
Fig. 5a to 5c are schematic views showing the embodiment of the translation problem of the embodiment of the present invention in the translation file.
FIGS. 6 a-6 d are schematic illustrations of the translation of a problem at a game interface according to an embodiment of the present invention.
Fig. 7 is another flow chart of a method for checking translation contents according to an embodiment of the present invention.
FIGS. 8 a-8 c are schematic diagrams illustrating a translation problem query and presentation interface according to embodiments of the present invention.
Fig. 9 is a schematic flow chart of a method for checking translation contents according to an embodiment of the present invention.
FIGS. 10 a-10 c are schematic business logic diagrams of a translation content inspection system according to an embodiment of the present invention.
Fig. 11 is a schematic structural diagram of a translation content checking device according to an embodiment of the present invention.
Fig. 12 is another schematic structural diagram of a translation content checking device according to an embodiment of the present invention.
Fig. 13 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on the illustrated embodiments of the present application and should not be taken as limiting other embodiments not described in detail herein.
In the following description, specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise indicated. Thus, these steps and operations will be referred to in several instances as being performed by a computer, which as referred to herein performs operations that include processing units by the computer that represent electronic signals that represent data in a structured form. This operation transforms the data or maintains it in place in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, and one skilled in the art will recognize that various steps and operations described below may also be implemented in hardware.
The term "module" as used herein may be considered as a software object executing on the computing system. The various components, modules, engines, and services described herein may be viewed as implementing objects on the computing system. The apparatus and methods described herein may be implemented in software, but may also be implemented in hardware, which is within the scope of the present application.
The terms "first," "second," and "third," etc. in this application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Referring to fig. 2, fig. 2 is a schematic view of a scenario of a translated content inspection system according to an embodiment of the present invention, where the translated content inspection system includes a translated content inspection device, and the translated content inspection device may be integrated in a server. In particular, in the embodiment of the present invention, the server may obtain a translation file of an application uploaded by the terminal, where the translation file may be an original translation file obtained by the terminal from the translation server (for example, as shown in fig. 1, an original translation file derived before packaging and exporting), or may be a plaintext translation file in txt format or an encrypted translation file in tra format obtained by the terminal from the application client (for example, as shown in fig. 1, a translation file generated during packaging and exporting), and when the translation file is an encrypted translation file, the server may decrypt and use the encrypted translation file, where the translation file includes a plurality of index entries, and each index entry includes a source string field and a translation string field; the server can scan and check the index items based on the source character string field and the translation character string field to find out a problem item; after the problem item is found, a corresponding problem description item can be generated for the problem item, the problem description item can comprise a problem type field, a problem remark field and the like, a problem list is generated according to the problem description item, the problem list comprises the problem description item, the server can send the generated problem list to the terminal, and an inspector can know the translation condition of the content by checking the problem list generated by the server on the terminal.
In addition, the translation content checking system can further comprise a terminal, wherein the terminal can comprise a tablet computer, a mobile phone, a notebook computer, a desktop computer and the like, is provided with a storage unit and a processor, has operation capability, and is mainly used for providing translation files for a server and displaying a problem list generated by the server to translation checking staff.
It should be noted that, the schematic view of the scenario of the translation content inspection system shown in fig. 2 is only an example, and the translation content inspection system and scenario described in the embodiment of the present invention are for more clearly describing the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention, and those skilled in the art can know that, with the evolution of the translation content inspection system and the appearance of a new service platform, the technical solution of the embodiment of the present invention is equally applicable to similar technical problems.
The following will describe in detail.
The present embodiment will be described from the viewpoint of a translation content inspection apparatus, which may be integrated in a server in particular.
A translation content checking method, comprising: acquiring a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field; based on the source character string field and the translation character string field, scanning and checking the plurality of index items to find out a problem item; generating a corresponding problem description item for the problem item; and generating a question list according to the question description item.
Referring to fig. 3, fig. 3 is a flow chart of a method for checking translation contents according to an embodiment of the invention, the method for checking translation contents includes the following steps:
step 101, obtaining a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field.
In a specific implementation, when a translation version of an application needs to be checked, a terminal can acquire a translation file of the application, where the translation file can be an original translation file acquired by the terminal from a translation server (a server corresponding to a multi-language translation website), that is, a translation file which is not packaged and exported yet; in addition, the translation file may be a plaintext translation file in txt format obtained from the application client by the terminal, or an encrypted translation file in tra format obtained from the application client, i.e. a translation file generated by packaging out a file. The terminal uploads the obtained translation file to a server, and the server obtains the translation file uploaded by the terminal. When the translation file uploaded by the terminal is an encrypted translation file in the tra format, the server can check after breaking the translation file.
Preferably, the terminal can acquire an original translation file existing before packaging the file, and upload the original translation file to the server for translation inspection, so that the problem influence inspection in the packaging process is avoided, the cracking cost is reduced, and timely repair is facilitated when the problem is found. The following description will take the translation file as an original translation file as an example.
The applications mentioned in this embodiment may refer to internationalized operating applications, and types of applications include, but are not limited to, gaming applications, social applications, office applications, and the like.
The format of the translation file obtained by the server may be shown in fig. 4, where the translation file includes a plurality of index entries, each index entry may include an index tag field, a source character string field, and a translation character string field, where the content in the index tag field is an index tag, the index tag is used to identify different index entries, the index tag may be formed by combining letters, characters, numbers, and the like, the content in the source character string field is a source character string, and the source character string refers to a character string of an original version of language of the application, for example, an english character string; the content in the translation string field is a translation string, which refers to a string of a translated version language of the application, such as a chinese string, a japanese string, or the like.
Step 102, based on the source character string field and the translation character string field, scanning and checking the plurality of index items to find out a problem item.
Problems with application translation are generally summarized as follows:
first: the fact that there is untranslated content in the translated version may affect the normal use of the application by the user, and the problem is represented in the translated file as shown in fig. 5a, there is typically no translated content in the translated string field of the index item.
Second,: the source language is still present in the incompletely translated, i.e., translated version, and the problem is reflected in the translation file as shown in fig. 5b, with the source string still present in the translated string field of the index entry.
Third,: parameter translation errors, i.e., the occurrence of translation errors in the parameters in the translated version. For example, when the source string is english and the translation string is chinese, the positions where the parameters appear may be different due to different chinese and english orders, and the translation personnel may be careless during the translation process, so that parameter errors occur in the translation string, and the embodiment of the problem in the translation file may be as shown in fig. 5c, that is, the parameter correspondence in the translation string field of the index item is inconsistent with the parameter in the source string field.
Fourth,: element translation inconsistencies, i.e., the same element, has different descriptions at different locations (different index entries) of the translated version, such as: props, skills, articles, skin, etc., which are prone to misunderstanding by the user.
Aiming at the problems and the embodiment of the problems in the source character string field and the translation character string field of the index items, the embodiment correspondingly provides the following scanning inspection method, and in particular implementation, each index item can be scanned and inspected according to the following scanning inspection method to find out the problem item:
first: and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item with the translation character string field being empty, and taking the found index item as the problem item, wherein the problem type corresponding to the problem item is not translated.
In the example shown in fig. 5a, i.e. find the index entry in the translated string field without chinese string, wherein, the index label is LOOT_LOOT_RECIPE_requirement_chest_72_open LOOT_LOOT_RECIPE_REQUIREMENT_chest_76_open, LOOT_LOOT_RECIPE_REQUIREMENT
The three index items of_chest_78_open, if the translation string field does not have a corresponding Chinese string, can be used as problem items.
Second,: and scanning the plurality of index items based on the source character string field and the translation character string field, finding out that the translation character string field still contains the source character string, and the source character string does not belong to the index item of the configuration file, and taking the found index item as the problem item, wherein the problem type corresponding to the problem item is not completely translated.
For example, in the example shown in fig. 5b, a regular expression may be constructed to find out the index item still containing the english string in the translated string field, and the code implementation may be as follows:
If(preg_match(“/[\x7f-\xff]/”,$temp))
{
If(preg_match(“/[a-zA-Z]/”,$temp))
{
$errordata[“index”]=$index;
the [ "error type" ] = "untranslated english character string exists in the translated content";
$errordata[“error”]=$value;
break;
}
}
the logic of the code execution is as follows: judging whether a Chinese character string exists in the translation character string field, if so, judging whether an English character string exists in the translation character string field, and if so, judging that the translation character string contains both the Chinese character string and the English character string, and if so, judging that the translation character string has an error.
After the index item still containing the english string in the translated string field is found, it may be determined whether the english contained in the translated string field belongs to a preset configuration file, where the preset configuration file includes an english string that specifies that the english string is not required to be translated into chinese, for example: skill [ Q ] [ W ] [ E ] [ R ], [ Ctrl ], [ ALT ], [ SKT 1 ] and the like, and if the english character string contained in the translation character string field does not belong to the preset configuration file, the index item in which the translation character string field is located is used as the question item. In the example shown in FIG. 5b, the index tag is GAME_KEYSTONEMASTERIES_game_master_scan_Tooltip
In the index item_6262, the translation string field still includes an english string, and the english string does not belong to a preset configuration file, and the index item may be used as a question item.
Third,: and scanning the plurality of index items based on the source character string field and the translation character string field, finding out index items, corresponding to parameters in the translation character string field, inconsistent with the parameters in the source character string field, and taking the found index items as the problem items, wherein the problem types corresponding to the problem items are parameter translation errors.
For example, in some applications, the parameters are generally represented in @ @ format, then all parameters in the source string field may be found according to the parameter format, and all parameters in the translation string field are correspondingly found, then the parameters of the two items are correspondingly stored in a parameter list, aligned group by group in the parameter list, and the difference is output. For example, in the example shown in fig. 5c, the translation string field of the index entry has no translation parameter corresponding to @ Effect9am ount @ 100%, but has more @ Effect7am ount @ parameter, and the index entry is a problem entry.
Fourth,: and scanning the plurality of index items based on the source character string field and the translation character string field, finding out index items where the translation character string fields with different description information aiming at the same element are located, taking the found index items as the problem items, wherein the problem types corresponding to the problem items, namely, the element translations are inconsistent.
Different elements have different Identifications (IDs), the description information of the same element in different translation character string fields can be found out according to the identifications of the elements, whether the description information is consistent or not is judged, and if the description information is inconsistent, the index item in which the different translation character string fields are located is used as a problem item.
For example, item ID of item "precursor to base" is 3050, the index tag of the item's description in store is: ITEMS_3050_STARKS_FERVOR_gamma_item_description
An index tag of the index item described by the usage advice after purchase of the item is: the item_3050_starks_fervor_name_item_tool_3050 can be compared with the index ITEMS identified by the two index tags to determine whether the descriptions of the item in the translation string field are consistent, if not, the index ITEMS identified by the two index tags can be used as problem ITEMS.
And step 103, generating a corresponding problem description item for the problem item.
The question description item may include an index tag field, a question type field, a question remark field, and a result confirmation field.
Specifically, the index tag in the problem item may be used as the index tag in the corresponding problem description item; generating the content of a question type field in the corresponding question description item according to the question type corresponding to the question item, for example: if the problem type corresponding to a certain problem item is parameter translation error, the parameter translation error can be directly used as the content of a problem type field, and the contents such as different parameter sequences, lack of translation parameters, multiple translation parameters and the like are generated by combining with the actual checking condition, and the contents are used as the content of the problem type field; and generating the content of the question remark field in the corresponding question description item according to the content of the source character string field and the translation character string field in the question item, for example, when the question types are different in parameter sequence, writing the related source character string and translation character string in the remark field for comparison and viewing.
And 104, generating a problem list according to the problem description item.
Specifically, each issue description item may be written into an issue list template to generate an issue list.
After the problem list is generated, the server can directly send the generated problem list to the terminal, or can send the generated problem list to the terminal after receiving the query request sent by the terminal, so that the terminal displays the problem list and confirms the problems in the problem list, and an inspector can know the translation condition of the application by looking up the problem list displayed by the terminal.
Further, each question description item in the question list is further provided with a result confirmation field, the terminal or the inspector can confirm each question description item to confirm whether the question described by each question description item is a real question or a false report, and fill the confirmation result into the question confirmation field, the terminal can send the confirmation result of each question description item to the server, and the server acquires the confirmation result of each question description item and stores the confirmation result in the database.
In addition, after generating a corresponding problem description item for each problem item, the server may also query the database first to detect whether each problem description item has a confirmation result; for the problem description item with the existing confirmation result and the confirmation result of 'confirm no problem', when the problem description item is checked by the previous version of the application, the terminal confirms that the problem description item is not processed, and the situation is usually misinformation, so that the modification of a translation file is not caused, and the problem item also exists in the next translation version of the application; for a problem description item without a confirmation result, describing that the problem described by the problem description item is the first occurrence and needs to be embodied in a problem list; in addition, for the problem description item with the confirmation result of "confirm to be the problem", the problem described by the problem description item is still not solved, and the problem description item needs to be embodied in the problem list, finally, the problem list can be generated according to the problem description item without the confirmation result and with the confirmation result of the problem, and the generated problem list is sent to the terminal, so that the problem of repeated confirmation false alarm of the terminal or the inspector can be avoided.
In the embodiment, by means of static text inspection and generation of the problem list, automatic inspection of the translation version of the application is realized, and an inspector can know the translation condition of the content by checking the problem list generated by automatic inspection, so that the problems of incomplete inspection, omission, inconsistent translation and the like caused by manual inspection on an application operation interface are avoided, and the inspection efficiency is improved.
In addition, the translation check is carried out by using the original translation file before the application package is carried out, so that the checked problem can be repaired in time, and the situations that the ciphertext translation file is difficult to crack, the checked problem cannot be repaired in time and the like caused by the translation check carried out after the application package is carried out are avoided.
Further, all the confirmed results of the confirmed question description items are recorded, when a question list is generated each time, whether each question description item has the confirmed result or not is inquired, and for confirming the question description item without the question, the confirmed question description item is not reflected in the question list, so that repeated confirmation of the mistakenly reported question by a terminal or an inspector is avoided.
The method described in the above embodiment will be further described by way of example in the following embodiment, in which an automatic inspection of a translated version of a game application "hero alliance" will be described as an example, and the translation problem occurring in the translated version of the "hero alliance" is reflected in the running of the game, for example:
(1) The presence of untranslated content in the game; for example, as shown in fig. 6a, the skill "hunting" has an untranslated english string "Cooldown" that should actually be translated into a chinese string "cool time".
(2) The introduction of the props in the game in the store is inconsistent with the introduction in the outfit column after purchase; for example, as shown in fig. 6b, the prop "stark-wire" has a description of "can cause a storm" when purchased at a store, but after purchase, when the description of "stark-wire" is viewed at the equipment column, the lack of the description of "can cause a storm" is found, which causes misunderstanding to the player.
(3) The skills of the game platform are inconsistent with the names of the skills in the game; for example, as shown in fig. 6c, the "W" skill of hero "wander" is named "Fu Wen confinement" in the platform, but in game play, the "W" skill of hero "wander" is named "Fu Wen jail".
(4) The skin name of the game mall is not identical to the skin name of the game hall, for example, as shown in fig. 6d, the skin of hero "turrets" is named "five-star turrets" in the game platform hall, but in the mall, the skin is named "turrets".
In addition, other translation problems such as incomplete translation, inconsistent parameters, etc. exist in the hero alliance, and are not described in detail herein.
The problems described above are reflected in the translation file of the "hero alliance" for example: the translation string field of the index item is empty, the translation string field of the index item still includes the source string, the parameter correspondence in the translation string field of the index item is inconsistent with the parameter in the source string field, the inconsistency of the descriptions of the same element in the translation string fields of different index items, etc., and according to the specific embodiment of the translation problem, the translation checking method provided in this embodiment may be as shown in fig. 7, and includes the following steps:
step 201, a translation file uploaded by a terminal is obtained, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field.
The terminal can obtain the original translation file of the game from the translation server (the server corresponding to the XLOC), namely the translation file which is not packaged and output, the translation file is uploaded to the server, and the server obtains the translation file uploaded by the terminal.
The translation file comprises a plurality of index items, each index item can comprise an index tag field, a source character string field and a translation character string field, wherein the content in the index tag field is an index tag, the index tag is used for identifying different index items, the index tag can be formed by combining letters, characters, numbers and the like, the content in the source character string field is a source character string, and the source character string refers to a character string of an original version language of an application, such as an English character string; the content in the translation string field is a translation string, which refers to a string of a translated version language of the application, such as a chinese string, a japanese string, or the like.
Step 202, scanning and checking the plurality of index items based on the source character string field and the translation character string field to find out a problem item.
In this embodiment, for the embodiment of the translation problem existing in the hero alliance in the corresponding field of the translation file, the following checking method is provided, and in a specific implementation, based on the source character string field and the translation character string field of the index item of the translation file, scanning and checking can be performed on each index item according to the following checking method to find out the problem item:
first: when an index item which is not translated is to be scanned and found, the index item in the translation file can be scanned based on the source character string field and the translation character string field, the index item with the translation character string field being empty is found, and the found index item is used as the problem item.
Second,: when an index item which is not completely translated is to be scanned and found, the index item in the translation file can be scanned based on the source character string field and the translation character string field, the source character string still contained in the translation character string field is found, the source character string does not belong to the index item of the preset configuration file, and the found index item is used as the problem item.
Third,: when the index item with the parameter translation error is to be scanned, the index item in the translation file can be scanned based on the source character string field and the translation character string field, the index item with the parameter correspondence in the translation character string field inconsistent with the parameter in the source character string field can be found, and the found index item can be used as the problem item.
Fourth,: when index items with inconsistent element translation are to be scanned and found, the index items in the translation file can be scanned based on the source character string field and the translation character string field, the index items where the translation character string fields with different description information for the same element are located are found, and the found index items are used as the problem items.
According to the method, scanning and checking are carried out on each index item in the translation file of the game, so that all problem items in the translation file can be obtained.
And 203, generating a corresponding problem description item for the problem item.
The question description item may include an index tag field, a question type field, a question remark field, and a result confirmation field.
Specifically, the index tag in the problem item may be used as the index tag in the corresponding problem description item; generating the content of a question type field in the corresponding question description item according to the question type corresponding to the question item, for example: if the problem type corresponding to a certain problem item is parameter translation error, the parameter translation error can be directly used as the content of a problem type field, and the contents such as different parameter sequences, lack of translation parameters, multiple translation parameters and the like are generated by combining with the actual checking condition, and the contents are used as the content of the problem type field; and generating the content of the question remark field in the corresponding question description item according to the content of the source character string field and the translation character string field in the question item, for example, when the question types are different in parameter sequence, writing the related source character string and translation character string in the remark field for comparison and viewing.
Step 204, detecting whether the confirmation result of the problem description item exists in the database.
Step 205, generating a question list according to the question description item without the confirmation result and the confirmation result being the question.
After generating the problem description items, the server can query the database to detect whether each problem description item has a confirmation result of the terminal; for the problem description item with the existing confirmation result and the confirmation result of 'confirm no problem', when the problem description item is checked by the previous version of the application, the terminal confirms that the problem description item is not processed, and the situation is usually misinformation, so that the modification of a translation file is not caused, and the problem item also exists in the next translation version of the application; for a problem description item without a confirmation result, describing that the problem described by the problem description item is the first occurrence and needs to be embodied in a problem list; for the problem description item with the confirmation result of "confirm is the problem", the problem described by the problem description item is still not solved, and the problem needs to be embodied in the problem list, and finally, the problem list can be generated according to the problem description item without the confirmation result and with the confirmation result of the problem, that is, the generated problem description item with the database without the confirmation result and the problem description item with the confirmation result of the confirmation of "confirm is the problem" can be included in the generated problem list, and the generated problem list is sent to the terminal, so that the problem of false report can be repeatedly confirmed.
And 206, receiving a query request sent by the terminal.
The inspector may send a query request to the server through the terminal to query the translation situation of the game, generally speaking, there may be a plurality of translated versions of a game, the query request may include information such as a name, a version number, etc. of the game, in a specific embodiment, a query interface at the terminal side may be shown in fig. 8a, and the inspector may upload a translated file of any version to the server at the query interface, view the inspection result, and may also select or input any uploaded translated version to query the inspection result.
Step 207, sending the problem list to the terminal.
In a specific embodiment, the server generated problem list may include a plurality of problem description entries for a translated file of a version of the game, as shown in FIG. 8 b.
Step 208, obtaining a confirmation result of each question description item in the question list from the terminal.
In a specific embodiment, the confirmation result of the terminal side to each question description item in the question list may be as shown in fig. 8 c.
Step 209, storing the confirmation result in a database.
The server may store the validation results in a database for validation results querying when checking the next version of the game.
In the embodiment, by means of static text inspection and problem list generation, automatic inspection of the translation version of the application is realized, and an inspector can know the translation condition of the content by checking the problem list generated by automatic inspection, so that the problems of incomplete inspection, omission and the like caused by manual inspection on an application operation interface are avoided, and the inspection efficiency is improved.
In addition, the translation check is carried out by using the original translation file before the application package is carried out, so that the checked problem can be repaired in time, and the situations that the ciphertext translation file is difficult to crack, the checked problem cannot be repaired in time and the like caused by the translation check carried out after the application package is carried out are avoided.
Further, all the confirmed results of the confirmed question description items are recorded, when a question list is generated each time, whether each question description item has the confirmed result or not is inquired, and for confirming the question description item without the question, the confirmed question description item is not reflected in the question list, so that repeated confirmation of the mistaken report question is avoided.
The translation content checking system provided by the embodiment of the invention is described below, the translation content checking system can be shown in fig. 9, the system can comprise a terminal and a server, a scanning result table and a result confirmation table can be maintained in the server, the terminal can upload all files (i.e. translation files) needing translation checking to the server, and then select a certain file to send a query request to the server so as to check the translation checking result; after receiving the inquiry request, the server inquires whether the scanning result of the current file to be checked exists in the scanning result table, and if so (for example, the translation checking result of the current file is checked by someone before), the scanning result is directly extracted from the scanning result table; if the file does not exist (for example, the current file is checked for the first time to translate the scanning result), scanning and checking the file to be checked and generating a scanning result, wherein the scanning result comprises a problem description item generated for each problem item in the file to be checked; after the scanning result is obtained, the server can query the result confirmation table to find out whether each problem description item has a confirmation result in the result confirmation table, then generate a problem list according to the fact that the confirmation result does not exist and the problem description item of which the confirmation result is a problem, send the generated problem list to the terminal for page display, and an inspector can know the translation condition of the file to be checked by checking the problem list; further, the inspector or the terminal can confirm the problem of each problem description item on a problem list page displayed by the terminal, the terminal can feed back a confirmation result to the server, and the server stores the confirmation result of each problem description item into a result confirmation table for next inspection.
In an embodiment of the present invention, the architecture of the translation content inspection system may employ a Browser/Server (B/S) architecture, which may be developed using the hypertext preprocessor (Hypertext Preprocessor, PHP) language, the page (web) framework may employ a Yii (a component-based high performance PHP framework) framework, and the data store may employ a relational database management system (MySQL).
Abstracting a terminal into a foreground page (views) module, abstracting a server into a background Controller (Controller) module, a data storage object (Model) module and a data storage library (DB) module, wherein the relation between the foreground and the background modules can be shown as a figure 10a, views are entry pages triggered by foreground page logic and functions, views trigger corresponding operations, the Controller has a corresponding action to process the operation logic, and the addition, deletion, modification and search of data are realized by the Controller operation Model object; the data storage object Model is mapped with the data table of Mysql by a table name (tableName) method of a Yii frame active record (CActiveRecord) base class so as to realize the operation of a Controller on the Model, and is stored in a DB in a floor mode.
After the terminal and the server are modularized, when the translation condition of the translation file is queried, as shown in fig. 10b, a service processing logic can select a file needing to check the translation check result through a foreground page, a local controller queries whether a scanning result of the file to be checked exists in a scanning result table through a scanning result object, if not, the local controller performs scanning check on the file needing to be checked to find out a problem item, generates a problem description item corresponding to the problem item, writes the problem description item into the scanning result table, takes out the problem description item needing to be checked of the file from the scanning result table to generate a problem list, and feeds back the problem list to the terminal so as to display the problem list on the foreground page.
In addition, as shown in fig. 10c, after the local controller obtains the problem list, the local controller may query the result confirmation table, determine whether there is a confirmation result of each problem description item in the problem list in the result confirmation table, send the problem description items without the confirmation result and with the confirmation result being a problem to the terminal, so as to display the problem description items on the foreground page, the inspector or the terminal may confirm each displayed problem on the foreground page, the confirmation result is transferred to the local controller by the foreground page, and the local controller may populate the confirmation result into the result confirmation table.
The following describes a translated content inspection apparatus provided in an embodiment of the present invention, as shown in fig. 11, the translated content inspection apparatus of the present embodiment includes: the acquisition unit 301, the inspection unit 302, the first generation unit 303, and the second generation unit 304 are as follows:
an obtaining unit 301, configured to obtain a translation file of an application uploaded by a terminal, where the translation file includes a plurality of index items, and each index item includes a source character string field and a translation character string field;
a checking unit 302, configured to scan and check the plurality of index items based on the source string field and the translation string field, to find out a problem item;
a first generating unit 303, configured to generate a corresponding problem description term for the problem term;
and a second generating unit 304, configured to generate a problem list according to the problem description item.
In certain embodiments, as shown in fig. 12, the apparatus further comprises:
a receiving unit 305, configured to receive a query request sent by the terminal;
a sending unit 306, configured to send the problem list to the terminal;
a confirmation unit 307, configured to obtain a confirmation result of each question description item in the question list from the terminal;
A storing unit 308, configured to store the confirmation result in a database.
In certain embodiments, as shown in fig. 12, the apparatus further comprises:
a detection unit 309, configured to detect whether a confirmation result of the problem description item exists in the database;
the second generating unit 304 is specifically configured to generate a question list according to the question description items in which there is no confirmation result and the confirmation result is a question.
In some embodiments, the problem type corresponding to the problem item is untranslated, and the checking unit 302 is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item with the translation character string field being empty, and taking the found index item as the problem item.
In some embodiments, the problem type corresponding to the problem item is not completely translated, and the checking unit 302 is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index items which still contain the source character string in the translation character string field and do not belong to the preset configuration file, and taking the found index items as the problem items.
In some embodiments, the problem type corresponding to the problem item is a parameter translation error, and the checking unit 302 is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out index items, of which the parameters in the translation character string field correspond to the parameters in the source character string item, and taking the found index items as the problem items.
In some embodiments, the problem type corresponding to the problem item is element translation inconsistency, and the checking unit 302 is specifically configured to:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item where the translation character string field with different description information aiming at the same preset element is located, and taking the found index item as the problem item.
In some embodiments, the first generating unit 303 includes a question type field and a question remark field in the question description item, and is specifically configured to:
generating the content of a question type field in the corresponding question description item according to the question type corresponding to the question item;
and generating the content of the question remark field in the corresponding question description item according to the content of the source character string field and the translation character string field in the question item.
It should be noted that, when implementing the translation content inspection, the translation content inspection apparatus provided in the foregoing embodiment is only exemplified by the division of the foregoing functional modules, and in practical application, the foregoing functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules, so as to implement all or part of the functions described above. In addition, the translated content inspection device and the translated content inspection method provided in the above embodiments belong to the same concept, and detailed implementation processes of the translated content inspection device and the translated content inspection method are described in method embodiments, and are not repeated here.
In this embodiment, an acquiring unit acquires a translation file of an application uploaded by a terminal, then an inspection unit performs scanning inspection on each index item in the translation file based on a source character string field and a translation character string field of the index item of the translation file, finds out a problem item, a first generating unit generates a corresponding problem description item for the problem item, and a second generating unit generates a problem list according to the problem description item; the device of the embodiment realizes automatic checking of the translation version of the application by checking the static text and generating the problem list, and the inspector can know the translation condition of the content by checking the problem list generated by automatic checking, so that the problems of incomplete checking, omission and the like caused by manual checking on an application running interface are avoided, and the checking efficiency is improved.
The embodiment of the present invention further provides a computer device, which may be the server in fig. 2, as shown in fig. 13, and shows a schematic structural diagram of the computer device according to the embodiment of the present invention, specifically:
the device may include one or more processor cores 401, one or more computer-readable storage devices memory 402, radio Frequency (RF) circuitry 403, a power supply 404, an input unit 405, and a display unit 406. It will be appreciated by those skilled in the art that the device structure shown in fig. 13 is not limiting of the device and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
processor 401 is the control center of the computer device and connects the various parts of the overall device using various interfaces and lines to perform various functions of the device and process data by running or executing software programs and/or modules stored in memory 402 and invoking data stored in memory 402, thereby monitoring the device as a whole. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, etc., and the modem processor mainly processes wireless communication. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by executing the software programs and modules stored in the memory 402. The memory 402 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data created according to the use of the device, etc. In addition, memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
The RF circuit 403 may be used for receiving and transmitting signals during the process of receiving and transmitting information, in particular, after receiving downlink information of the base station, the downlink information is processed by one or more processors 401; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 403 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuit 403 may also communicate with networks and other devices through wireless communication. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
The computer device further includes a power supply 404 (e.g., a battery) for powering the various components, and preferably the power supply 404 is logically connected to the processor 401 via a power management system so as to perform functions such as managing charging, discharging, and power consumption via the power management system. The power supply 404 may also include one or more of any of a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
The computer device may further comprise an input unit 405, which input unit 405 may be used for receiving input numerical or character information and generating keyboard, mouse, joystick, optical or trackball signal inputs in connection with user settings and function control. In particular, in one particular embodiment, the input unit 405 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection equipment detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 401, and can receive commands sent from the processor 401 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 404 may also include other input devices. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The computer device may also include a display unit 406, which display unit 406 may be used to display information entered by or provided to a user as well as various graphical user interfaces of the computer device, which may be composed of graphics, text, icons, video, and any combination thereof. The display unit 406 may include a display panel, which may optionally be configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 401 to determine the type of touch event, and the processor 401 then provides a corresponding visual output on the display panel in accordance with the type of touch event. Although in fig. 13 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
Although not shown, the computer device may further include a camera, a bluetooth module, etc., which will not be described herein. In particular, in this embodiment, the processor 401 in the computer device loads executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 executes the application programs stored in the memory 402, so as to implement various functions as follows:
Acquiring a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field;
based on the source character string field and the translation character string field, finding out a problem item for the plurality of index items;
generating a corresponding problem description item for the problem item;
and generating a question list according to the question description item.
In an embodiment, after generating the problem list according to the problem description item, the processor 401 is further configured to perform the following steps:
receiving a query request sent by the terminal;
and sending the problem list to the terminal.
In an embodiment, after sending the problem list to the terminal, the processor 401 is further configured to perform the following steps:
acquiring a confirmation result of each problem description item in the problem list from the terminal;
and storing the confirmation result in a database.
In one embodiment, after generating the corresponding problem description item for the suspicious item, the processor 401 is further configured to perform the following steps:
detecting whether a confirmation result of the problem description item exists in the database;
the generating a question list according to the question description item comprises the following steps:
And generating a question list according to the question description items of which the confirmation result does not exist and the confirmation result is a question.
In an embodiment, the problem type corresponding to the problem item is untranslated, and when the plurality of index items are scanned and checked based on the source string field and the translated string field to find the problem item, the processor 401 is specifically configured to perform the following steps:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item with the translation character string field being empty, and taking the found index item as the problem item.
In one embodiment, the problem type corresponding to the problem item is not completely translated, and when the plurality of index items are scanned and checked based on the source string field and the translated string field to find the problem item, the processor 401 is specifically configured to perform the following steps:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index items which still contain the source character string in the translation character string field and do not belong to the configuration file, and taking the found index items as the problem items.
In an embodiment, the problem type corresponding to the problem item is a parameter translation error, and when the plurality of index items are scanned and checked based on the source string field and the translation string field to find the problem item, the processor 401 is specifically configured to execute the following steps:
And scanning the plurality of index items based on the source character string field and the translation character string field, finding out index items, of which the parameters in the translation character string field correspond to and are inconsistent with the parameters in the source character string field, and taking the found index items as the problem items.
In an embodiment, the problem type corresponding to the problem item is inconsistent element translation, and when the plurality of index items are scanned and checked based on the source string field and the translated string field to find the problem item, the processor 401 is specifically configured to perform the following steps:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item where the translation character string field with different description information for the same element is located, and taking the found index item as the problem item.
In one embodiment, the problem description item includes a problem type field and a problem remark field, and when generating a corresponding problem description item for the problem item, the processor 401 is specifically configured to perform the following steps:
generating the content of a question type field in the corresponding question description item according to the question type corresponding to the question item;
and generating the content of the question remark field in the corresponding question description item according to the content of the source character string field and the translation character string field in the question item.
In this embodiment, a translation file of an application uploaded by a terminal is obtained, then, based on a source character string field and a translation character string field of index items of the translation file, each index item in the translation file is scanned and checked, a problem item is found, a corresponding problem description item is generated for the problem item, and a problem list is generated according to the problem description item; in the embodiment of the invention, the automatic inspection of the translation version of the application is realized by means of static text inspection and the problem list generation, and the inspector can know the translation condition of the content by checking the problem list generated by the automatic inspection, so that the problems of incomplete inspection, omission and the like caused by manual inspection on an application operation interface are avoided, and the inspection efficiency is improved.
The present application also provides a computer readable storage medium storing a computer program, which when executed by a processor, causes the processor to perform the method for checking translation content in any of the above embodiments, for example: acquiring a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field; based on the source character string field and the translation character string field, scanning and checking the plurality of index items to find out a problem item; generating a corresponding problem description item for the problem item; and generating a question list according to the question description item.
In the embodiment of the present application, the storage device may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
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.
It should be noted that, for the method for checking translation content according to the embodiment of the present application, it will be understood by those skilled in the art that all or part of the flow of implementing the method for checking translation content according to the embodiment of the present application may be implemented by controlling related hardware by a computer program, where the computer program may be stored in a computer readable storage device, such as a memory of an electronic device, and executed by at least one processor in the electronic device, and the execution may include, for example, the flow of the embodiment of the method for checking translation content. The storage device may be a magnetic disk, an optical disk, a read-only memory, a random access memory, etc.
For the translation content checking device in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules, if implemented as software functional modules and sold or used as a stand-alone product, may also be stored in a computer readable storage device, such as read-only memory, magnetic or optical disk, etc.
The foregoing has described in detail the methods, apparatuses, systems and computer devices for examining translation content provided by the embodiments of the present application, and specific examples have been applied to illustrate the principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the methods and core ideas of the present application; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (12)

1. A translation content checking method, comprising:
acquiring a translation file of an application uploaded by a terminal, wherein the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field;
scanning and checking the plurality of index items based on the source character string field and the translation character string field to find out a problem item, wherein the method specifically comprises the steps of scanning the plurality of index items based on the source character string field and the translation character string field to find out the index item where the translation character string field with different description information for the same element is located when the problem type corresponding to the problem item comprises inconsistent element translation, and taking the found index item as the problem item;
Generating a corresponding problem description item for the problem item, and detecting whether a confirmation result of the problem description item exists in a database;
and generating a question list according to the question description items with no confirmation result and the confirmation result being questions, wherein the question description items in the question list are provided with result determination fields, and the result confirmation fields are used for confirming whether the questions described by each question description item are real questions or false positives.
2. The method of checking translation content according to claim 1, further comprising, after generating a question list from the question description item:
receiving a query request sent by the terminal;
and sending the problem list to the terminal.
3. The translated content inspection method according to claim 2, further comprising, after transmitting the question list to the terminal:
acquiring a confirmation result of each problem description item in the problem list from the terminal;
and storing the confirmation result in a database.
4. The method for checking translation contents according to claim 1, wherein the question type corresponding to the question item further includes not translating, and the scanning checking is performed on the plurality of index items based on the source string field and the translated string field to find the question item, further comprising:
And scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index item with the translation character string field being empty, and taking the found index item as the problem item.
5. The method according to claim 1, wherein the question type corresponding to the question item further includes incomplete translation, wherein the scanning inspection is performed on the plurality of index items based on the source string field and the translation string field to find the question item, and further comprising:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out the index items which still contain the source character string in the translation character string field and do not belong to the configuration file, and taking the found index items as the problem items.
6. The method for checking translation contents according to claim 1, wherein the question type corresponding to the question item further includes a parameter translation error, wherein the scanning checking is performed on the plurality of index items based on the source string field and the translation string field to find the question item, and further comprising:
and scanning the plurality of index items based on the source character string field and the translation character string field, finding out index items, of which the parameters in the translation character string field correspond to and are inconsistent with the parameters in the source character string field, and taking the found index items as the problem items.
7. The method for checking translation content according to any one of claims 4 to 6, wherein the question description item includes a question type field and a question remark field, and the generating a corresponding question description item for the question item includes:
generating the content of a question type field in the corresponding question description item according to the question type corresponding to the question item;
and generating the content of the question remark field in the corresponding question description item according to the content of the source character string field and the translation character string field in the question item.
8. A translation content inspection apparatus, comprising:
the terminal comprises an acquisition unit, a translation unit and a translation unit, wherein the acquisition unit is used for acquiring a translation file uploaded by the terminal, the translation file comprises a plurality of index items, and each index item comprises a source character string field and a translation character string field;
the checking unit is used for scanning and checking the plurality of index items based on the source character string field and the translation character string field to find out a problem item, wherein the checking unit specifically comprises the steps of scanning the plurality of index items based on the source character string field and the translation character string field to find out the index item where the translation character string field with different description information for the same element is located when the problem type corresponding to the problem item comprises inconsistent element translation, and taking the found index item as the problem item;
The first generation unit is used for generating a corresponding problem description item for the problem item, and detecting whether a confirmation result of the problem description item exists in a database;
and a second generating unit, configured to generate a question list according to question description items where there is no confirmation result and where the confirmation result is a question, where the question description items in the question list have a result determination field, and the result confirmation field is used to confirm whether the question described by each question description item is a real question or a false report.
9. The translated content inspection apparatus according to claim 8, wherein the apparatus further comprises:
the receiving unit is used for receiving the inquiry request sent by the terminal;
a sending unit, configured to send the problem list to the terminal;
a confirmation unit, configured to obtain a confirmation result of each question description item in the question list from the terminal;
and the storage unit is used for storing the confirmation result in a database.
10. A translation content checking system comprising a terminal, and the translation content checking apparatus according to any one of claims 8 to 9.
11. A computer readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of the method of any one of claims 1 to 7.
12. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 7.
CN201810366778.2A 2018-04-23 2018-04-23 Translation content checking method, device, system and computer equipment Active CN110210039B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810366778.2A CN110210039B (en) 2018-04-23 2018-04-23 Translation content checking method, device, system and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810366778.2A CN110210039B (en) 2018-04-23 2018-04-23 Translation content checking method, device, system and computer equipment

Publications (2)

Publication Number Publication Date
CN110210039A CN110210039A (en) 2019-09-06
CN110210039B true CN110210039B (en) 2023-05-30

Family

ID=67778775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810366778.2A Active CN110210039B (en) 2018-04-23 2018-04-23 Translation content checking method, device, system and computer equipment

Country Status (1)

Country Link
CN (1) CN110210039B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111353274B (en) * 2020-02-25 2023-09-26 网易(杭州)网络有限公司 Translation text error detection method and device
CN112906404B (en) * 2021-04-26 2023-10-13 腾讯音乐娱乐科技(深圳)有限公司 Translation document verification method, electronic device, and readable storage medium
CN116681051B (en) * 2023-05-23 2024-08-20 成都安易迅科技有限公司 Multi-language testing method and device for application program, storage medium and equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4374408A (en) * 1971-06-16 1983-02-15 Burroughs Corporation Multi-pass system and method for source to source code translation
JP3963394B2 (en) * 2005-12-28 2007-08-22 インターナショナル・ビジネス・マシーンズ・コーポレーション Device for reporting software fault information
CN102999488B (en) * 2011-09-14 2017-07-04 盛趣信息技术(上海)有限公司 Transcription platform system and its implementation
CN103377045B (en) * 2012-04-27 2016-12-14 国际商业机器公司 Method and system for Translation Verification Test
CN103793322A (en) * 2012-11-05 2014-05-14 深圳中兴网信科技有限公司 Test method and test system for translation problems in software localization testing
CN106776584A (en) * 2016-11-24 2017-05-31 网易(杭州)网络有限公司 Character displaying method, translation table generating method, document translation method and device
CN107741931A (en) * 2017-08-30 2018-02-27 捷开通讯(深圳)有限公司 Interpretation method, mobile terminal and the storage device of operating system framework

Also Published As

Publication number Publication date
CN110210039A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN107038112B (en) Application interface debugging method and device
CN105095432B (en) Web page annotation display methods and device
US9703971B2 (en) Sensitive operation verification method, terminal device, server, and verification system
CN107741937A (en) A kind of data query method and device
CN110210039B (en) Translation content checking method, device, system and computer equipment
CN106295353B (en) Engine vulnerability detection method and detection device
US11741002B2 (en) Test automation systems and methods using logical identifiers
CN108536594A (en) Page test method, device and storage device
US20120079009A1 (en) Method and apparatus for choosing resources based on context and inheritance
CN112395117B (en) Data processing method, system and storage medium
US11869112B2 (en) Watermark embedding method and apparatus, terminal, and storage medium
CN105641931A (en) Game operation configuration method and system
CN112783594A (en) Message display method and device and electronic equipment
WO2017058679A1 (en) Font typeface preview
US20150106701A1 (en) Input support method and information processing system
CN108205568A (en) Method and device based on label selection data
CN107967203A (en) Function decision method and device based on executable file
CN105808321A (en) Key simulation system and method
CN115600213A (en) Vulnerability management method, device, medium and equipment based on application program
CN110221756B (en) Method, device, terminal and storage medium for processing application data
CN114064447A (en) Interface test method and device, storage medium and terminal
CN115686506A (en) Data display method and device, electronic equipment and storage medium
CN110502167A (en) A kind of page index method, apparatus and storage medium
CN110022189A (en) Data transmission method, device, terminal and storage medium
US9009659B2 (en) Method and system for displaying context-based completion values in an integrated development environment for asset management software

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