CN110020443B - Method, device and equipment for processing translation data and computer readable storage medium - Google Patents

Method, device and equipment for processing translation data and computer readable storage medium Download PDF

Info

Publication number
CN110020443B
CN110020443B CN201910317296.2A CN201910317296A CN110020443B CN 110020443 B CN110020443 B CN 110020443B CN 201910317296 A CN201910317296 A CN 201910317296A CN 110020443 B CN110020443 B CN 110020443B
Authority
CN
China
Prior art keywords
translation
translated
content
file
information
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
CN201910317296.2A
Other languages
Chinese (zh)
Other versions
CN110020443A (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910317296.2A priority Critical patent/CN110020443B/en
Publication of CN110020443A publication Critical patent/CN110020443A/en
Application granted granted Critical
Publication of CN110020443B publication Critical patent/CN110020443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • A63F13/69Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor by enabling or updating specific game elements, e.g. unlocking hidden features, items, levels or versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/40Processing or translation of natural language
    • G06F40/42Data-driven translation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

The present disclosure provides a method, apparatus, device, and computer-readable storage medium for processing translation data, including: acquiring a current update file, and determining contents to be translated according to the current update file; displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface; in response to a confirmation instruction acting on the update entry, target translation information is determined and stored in the translation database. The translation data processing method, the device, the equipment and the computer readable storage medium can automatically circulate the translation data, and improve the efficiency of the translation process. The obtained content to be translated can be integrated into translation information, and the translation information is further confirmed by a target user, so that the problem of human waste caused by unnecessary content translation is avoided.

Description

Method, device and equipment for processing translation data and computer readable storage medium
Technical Field
The present disclosure relates to data processing technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for processing translation data.
Background
Currently, the variety of online games is wide, including, for example, mobile games, computer games, and the like. For an excellent online game, the domestic and foreign durations are equally important, and therefore, many gaming companies have explored overseas markets such that the audience for the game includes both domestic and foreign users.
If the game is expanded to overseas markets, the language in the game needs to be processed, for example, if the game is expanded to english countries, the speech in the game needs to be translated into english. In the prior art, translation contents of respective languages are managed in the form of translation variables, for example, one translation variable corresponds to a plurality of translation values such as a chinese value, an english value, a japanese value, and the like.
When the language in the game is translated, the translation variables to be translated in the relevant files developed by the game are required to be scanned, and then are arranged into files to be translated, and the files to be translated are translated by special personnel or by a third-party translation company. Finally, the translated file is converted into a form readable by the game and played.
Since temporary documents are often adopted in the development process of games, and the temporary documents may not be adopted at last, unnecessary personnel waste is caused if the temporary documents are translated.
Disclosure of Invention
The disclosure provides a method, a device, equipment and a computer readable storage medium for processing translation data, so as to solve the problem that a translation process in the prior art causes personnel waste.
A first aspect of the present disclosure provides a method for processing translation data, including:
acquiring a current update file, and determining contents to be translated according to the current update file;
displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface;
and in response to a confirmation instruction acting on the updated entry, determining target translation information and storing the target translation information in a translation database.
Another aspect of the present disclosure provides a processing apparatus for translating data, including:
the acquisition module is used for acquiring a current update file and determining contents to be translated according to the current update file;
the display module is used for displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface;
and the response module is used for responding to the confirmation instruction acted on the updating item, determining target translation information and storing the target translation information into a translation database.
Yet another aspect of the present disclosure is to provide a processing apparatus for translating data, including:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of processing translation data as described in the first aspect above.
Yet another aspect of the present disclosure is to provide a computer readable storage medium having stored thereon a computer program which is executed by a processor to implement the method of processing translation data as described in the first aspect above.
The method, the device, the equipment and the computer readable storage medium for processing the translation data have the technical effects that:
the method, device, equipment and computer readable storage medium for processing translation data provided by the present disclosure include: acquiring a current update file, and determining contents to be translated according to the current update file; displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface; in response to a confirmation instruction acting on the update entry, target translation information is determined and stored in the translation database. The translation data processing method, the device, the equipment and the computer readable storage medium can automatically circulate the translation data, and improve the efficiency of the translation process. The obtained content to be translated can be integrated into translation information, and the translation information is further confirmed by a target user, so that the problem of human waste caused by unnecessary content translation is avoided.
Drawings
FIG. 1 is a flow chart of a method of processing translation data according to an exemplary embodiment of the present invention;
FIG. 1A is a diagram illustrating a presentation link in accordance with an exemplary embodiment of the present invention;
FIG. 1B is a diagram illustrating a translation information display page according to an exemplary embodiment of the present invention;
FIG. 2 is a flow chart of a method of processing translation data according to another exemplary embodiment of the present invention;
FIG. 3 is a block diagram of a processing apparatus for translating data according to an exemplary embodiment of the present invention;
FIG. 4 is a block diagram of a processing apparatus for translating data according to another exemplary embodiment of the present invention;
fig. 5 is a block diagram of a processing apparatus for translating data according to an exemplary embodiment of the present invention.
Detailed Description
Before expanding the game to overseas markets, it is necessary to translate the content in the game so that the game is convenient for overseas users to use. In the translation process, the variables to be translated need to be found out from the related files developed by the game, and then the variables are arranged to form the file to be translated. And then the translation file is translated by a special person or is transferred to a third-party translation company by the special person to translate the file to be translated. After the file is translated, the file is fed back to a game developer, and the translation result is input into the game.
In the translation process, the game file is directly scanned to obtain the variable to be translated, so that a lot of contents which do not need to be translated are also arranged in the file to be translated, and unnecessary resource waste is caused. For example, when the game content is not completely determined, some clinical notes may be employed, but they do not need to be translated.
In the scheme provided by the embodiment of the invention, a processing method capable of transferring translation data is constructed, in the method, the content to be translated can be determined according to the current update file, then the update item corresponding to the translation content is displayed in a graphical user interface, so that a target user can operate the update item, and then target translation information needing to be translated is determined according to the operation of the user. The scheme provided by the embodiment of the invention can avoid unnecessary contents from being translated and causing waste.
Fig. 1 is a flowchart illustrating a method of processing translation data according to an exemplary embodiment of the present invention.
As shown in fig. 1, the method for processing translation data provided in this embodiment includes:
step 101, obtaining a current update file, and determining the content to be translated according to the current update file.
The method provided by the embodiment can be arranged in a translation data processing platform, and the efficiency of translating the game content in the game development process is improved by carrying out the circulation of translation data on the platform.
The platform may comprise a back-end part and a front-end part, the back-end part may be installed in a server, for example may comprise a database, in particular a translated content database, and may also comprise a user database. In the user terminal, the front end part of the platform can be installed, and specifically, the front end part can be a user interaction interface, and a user can process translation data through operation in the interaction interface.
The user terminal may interact with the server through a network, which may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
A user may interact with a server through a network using a user terminal to receive or send messages, etc. The user terminal may have various communication client applications installed thereon, such as a speech synthesis type application, a shopping type application, a search type application, an instant messaging tool, a mailbox client, social platform software, and the like.
The user terminal may be hardware or software. When the user terminal is hardware, it may be various electronic devices capable of processing voice, including but not limited to a smart phone, a tablet computer, an electronic book reader, an MP3 player (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) player, a laptop portable computer, a desktop computer, and the like. When the user terminal is software, it can be installed in the above-listed electronic device. Which may be implemented as multiple software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
The server may be a server providing various services, such as a background server providing support for information displayed on the user terminal. The server may be hardware or software. When the server is hardware, the server may be implemented as a distributed server cluster formed by a plurality of servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (e.g., to provide distributed services), or as a single software or software module. The present invention is not particularly limited herein.
In the game development process, the version management and control system SVN (Subversion) is often used to manage file submission of games and game file versions, and the effect that multiple persons commonly develop the same project and share resources can be achieved through SVN.
Specifically, when developing using the SVN, a developer may download the latest code of the project group from the server of the SVN, then perform his own work, and after a time period, upload the completed part to the server of the SVN.
Further, in the method provided by the embodiment, the update file uploaded by the user may be obtained. For example, the user may be listening for files sent to the SVN server. Specifically, a monitor can be set in a server for storing the SVN file, so that information that a user uploads an updated file can be monitored.
In order to facilitate management of development versions, a requirement list exists under each development version, and a developer can transmit according to the requirement list when uploading files. For example, the development requirement list of the game corresponds to a single number, for example "#4708 adds an A hero effect display function", and 4708 is a single number. Files (code, resources, etc.) submitted by a developer each time are submitted according to a demand ticket.
In actual application, the content to be translated can be determined according to the acquired current update file.
Whether the current updated file is different from the original file in the SVN server or not can be judged, and if yes, whether the content to be translated exists in the current updated file or not can be further judged. Typically, the game development process is further developed based on existing code. Thus, it can be determined whether new content is added or changed by comparing whether the uploaded file differs from the original file corresponding to the file. If the two files are not distinguished, then it can be assumed that there is no content that needs to be translated. It can be considered that the content to be translated in the original file has been processed based on the method provided in the present embodiment, so that if the uploaded file is the same as the original file, it is not necessary to perform the operation of translating it again.
The method comprises the steps of converting the format of a current update file sent by a user, determining variable identifiers contained in the current update file, and comparing the variable identifiers based on the variable identifiers corresponding to the original file to determine the content to be translated which needs to be translated.
Specifically, it may also be determined whether the file sent by the user is an initial version. For example, in the initial stage of game development, a new file may be developed, and at this time, the file is not a substitute for any other file, and then there is no other file that is the same as the file in the SVN server. At this time, it can be considered that there may be content in the file that needs to be translated. Based on the SVN function, the version iteration condition of each development file can be determined, so that whether the file is an initial version or not can be determined.
In practical application, if the file is an initial version, that is, the file does not have an original version, the file can be used as a current updated file, and the current updated file is comprehensively scanned to determine all variables and contents thereof, and the translation variables and contents thereof are contents to be translated.
After the current update file sent by the user is processed, it is found that the current update file does not have content to be translated, and at this time, no operation needs to be performed. If the current update file has content to be translated, step 102 may be performed.
And 102, displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface.
Specifically, after the content to be translated is determined, an update entry corresponding to the content to be translated may be determined. The information of the current update file can be obtained, and then the update item corresponding to each content to be translated is determined according to the information of the current update file and the content to be translated. The current updated file information may include a plurality of contents, for example, a file submitter of the current updated file, a requirement list identifier and a version number corresponding to the file, and may also include a plurality of contents such as a submission date, a development file identifier to which the file belongs, and the like.
Further, each content to be translated and the corresponding current update file information thereof can be associated to obtain an update item corresponding to each content to be translated. Multiple update entries can be generated according to multiple contents to be translated corresponding to one current update file. For example, each content to be translated corresponds to an update entry.
In practical application, the obtained updated entries can be displayed on a graphical user interface of the user terminal, wherein at least one updated entry is displayed on the graphical user interface. A control for displaying the update item may be provided at the front end, and after the update item is obtained, the update item may be sent to the front end, so that the front end displays the update item corresponding to the content to be translated on the graphical user interface.
Step 103, in response to the confirmation instruction acting on the updated entry, the target translation information is determined and stored in the translation database.
The corresponding target user can be determined according to the current updated file, and the target user can be a planner or a responsible person corresponding to the file. The updated entries may be sent to the terminal to which the target person corresponds to enable the target person to determine the final content to be translated.
Specifically, in the electronic device, a user database may be further set, and when the project is established, responsible persons corresponding to different sub-projects or finer branches are determined therein. Therefore, the electronic equipment can determine the corresponding target user based on the current update file, and control the terminal of the target user so that the terminal can display the update item.
Further, the user may operate on the update item displayed in the graphical interface, thereby sending a confirmation instruction to the electronic device for the update item. For example, a button for confirming translation may be clicked to determine that the corresponding content to be translated is to be translated, and a button for ignoring may be clicked to determine that the corresponding content to be translated is not to be translated. In the method provided by the embodiment, the confirmation instruction is an instruction sent when the target user confirms that the content to be translated corresponding to the entry needs to be translated.
In actual application, all the update items corresponding to the current update file can be integrated to generate a display link, and the display link is sent to the target user.
FIG. 1A is a diagram illustrating a presentation link according to an exemplary embodiment of the present invention.
As shown in fig. 1A, in the display link, a prompt text may be further included, which is used to display specific content to be translated and corresponding current updated file information to the target user.
Wherein the target user can see more detailed update item content at the front end of the platform.
FIG. 1B is an exemplary embodiment of an update entry display page.
As shown in fig. 1B, at the front end of the platform, update entries may be displayed, where each update entry includes a variable of the content to be translated and its corresponding chinese name, and may further include a plurality of information such as a corresponding context, commit information, commit person, commit time, modification condition, status, and the like. By associating the information, the target user can more conveniently determine whether the content to be translated corresponding to the update item needs to be translated.
Specifically, the target user may perform an operation on a display page on the user terminal side, for example, may click a button for confirming the translation, or may click an ignore button. If the target user determines that the translation content corresponding to the updated entry does need translation, a button for confirming the translation may be clicked. If the target user determines that the translation content corresponding to the updated entry does not need to be translated, the ignored button can be clicked.
Further, when the target user operates an update item and executes a confirmation instruction, the target translation information may be determined according to the update item, and the target translation information may be stored in the translation database.
The content to be translated corresponding to the updated entry confirmed by the target user can be considered to be the content which needs to be translated finally, so that the target translation information corresponding to the updated entry can be generated according to the confirmation instruction and stored in the translation database.
Specifically, the target translation information may be stored in a translation database. The translation database may be provided in an electronic device that executes the method provided in this embodiment, or may be provided in another electronic device, and if provided in another electronic device, the electronic device that executes the method provided in this embodiment may be capable of communicating with the other electronic device. Thereby storing the target translation information in the translation database. The translation database may be considered part of the entire platform.
Further, for the whole platform, a user interface corresponding to the translation database can be set. Thereby enabling the translation manager to see the data content in the translation database through the user interface. A search button may also be provided in the user interface to enable the translation manager to search the translation database for desired information, such as translation content submitted by the user "nail".
The method provided by the present embodiment is used for processing translation data, and the method is executed by a device provided with the method provided by the present embodiment, and the device is usually implemented in a hardware and/or software manner.
The method for processing translation data provided in this embodiment includes: acquiring a current update file, and determining contents to be translated according to the current update file; displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface; in response to a confirmation instruction acting on the update entry, target translation information is determined and stored in the translation database. The translation data processing method provided by the embodiment can automatically transfer the translation data, and improves the efficiency of the translation process. The obtained content to be translated can be integrated into translation information, and the translation information is further confirmed by a target user, so that the problem of human waste caused by unnecessary content translation is avoided.
Fig. 2 is a flowchart illustrating a method of processing translation data according to another exemplary embodiment of the present invention.
As shown in fig. 2, the method for processing translation data provided in this embodiment includes:
step 201, a current update file is obtained.
Step 201 is similar to the specific principle and implementation of obtaining the current update file in step 101, and will not be described herein.
Step 202, comparing the content of the current update file with the content of the corresponding historical version file, and determining the content to be translated according to the comparison result.
In the method provided in this embodiment, the current update file sent by the user may be considered to be a new file obtained by modifying the current update file based on the existing code file. At this time, the content of the uploaded current update file and the content of the corresponding historical version file stored in the SVN server may be compared, and the content to be translated may be determined according to the comparison result.
Specifically, variable identifiers included in two files may be scanned, so as to determine whether a new translation identifier exists in the files, and thus determine content to be translated according to the new translation identifier. Translation variables included in both files may also be scanned to determine if there are new added variables in the file. The translation variable and the translation identifier correspond to Chinese content, and the Chinese content corresponding to the newly added translation variable or identifier can be used as the content to be translated.
The content corresponding to the same translation variable or translation identifier can also be scanned, so that whether the content change condition exists in the file is determined. And taking the changed Chinese content as the content to be translated.
In actual application, if no new variable or no new translation identifier is found during comparison and no content change condition is found, the file content is considered unchanged, and the translation processing of the uploaded file is not needed.
If it is determined that there is a new variable or identifier or a content change condition according to the comparison result, step 203 may be executed according to the content to be translated.
And 203, displaying a link corresponding to the content to be translated on a graphical user interface.
Wherein, a website link corresponding to the content to be translated can be generated and displayed on the graphical user interface. For example, it may be shown that user xx submitted a current update file, including content that needs to be translated, with details clicking on "links".
In particular, the link may be displayed on a graphical user interface of a target user terminal, the target user being the user who determines what is indeed required to be translated. The target user may click on the link to view the update entry corresponding to the content to be translated.
In step 204, in response to the operation instruction acting on the link, an update entry corresponding to the content to be translated is displayed on the graphical user interface.
After a user manipulates a link, e.g., clicks on the link, an update entry corresponding to the content to be translated may be displayed in a graphical user interface.
Wherein, before step 203, or before the graphical user interface displays the update item corresponding to the content to be translated, the corresponding update item may also be generated according to the content to be translated.
Specifically, file information of a current updated file can be obtained, and an update entry corresponding to each content to be translated is determined according to the file information and the content to be translated.
Further, the content to be translated and the corresponding file information thereof may be associated, and the file information may include: submitting user information of the current update file and requirement list identification information corresponding to the current update file. User information of the current update file to which the content to be translated belongs can be obtained, and requirement list identification information corresponding to the current update file can also be obtained.
Specifically, the user may upload the file to the SVN server through the user terminal. The user has a user account corresponding to the SVN server, so user information, such as "job number", can be obtained based on the SVN user account uploading the file: 123456; name: zhang San (Zhang San).
Further, when uploading the file, the user can upload the current updated file according to the requirement list information under the version, so that the requirement list identification information corresponding to the current updated file can also be obtained. For example, a plurality of requirement lists can be set under one game version, and the user uploads the completed development file into a folder corresponding to the requirement list, so that the file corresponds to the corresponding requirement list. The requirement bill may have an identification, such as a requirement bill number, and may also have descriptive information of specific development content.
In the demand sheet, a problem specifically solved by the document improvement section or achievement of a goal or the like may be described so that a target user can determine content specifically required to be translated based on the demand sheet. For example, the requirement list may be described as "the name display effect of xx characters is modified". When a user uploads a file, the requirement list identification information corresponding to the file can be acquired at the same time.
The requirement list identification can be a requirement list name or a requirement list number.
And determining an update item corresponding to each content to be translated according to the submitted user information, the requirement list identification information and the content to be translated.
In practical application, in the method provided by the embodiment, the file information includes the submitted user information and the requirement list identification information, so that the update item corresponding to each content to be translated can be determined according to the submitted user information, the requirement list identification information and the content to be translated.
In step 205, in response to a confirmation instruction acting on the update entry, target translation information is determined and stored in the translation database.
Step 205 is similar to the specific principles and implementation of step 103 and will not be described in detail herein.
Step 206, receiving the translation result corresponding to the target translation information.
In practical application, the translation manager can export the target translation information which is not processed in the translation database into a file and give the file to the translator. An interface can be arranged in the translation database, and the interface can be opened for a translator to see target translation information to be translated in the translation database.
After translation of the content to be translated in the target translation information is completed, the translation personnel can input the content to be translated into the platform through the interface, so that the electronic equipment executing the method provided by the embodiment receives the translation result.
Specifically, the translation results input by the translation personnel and the corresponding target translation information can be associated in the translation database, so that the translation manager can see the corresponding translation results through the interactive interface. Step 207, version information and requirement list identification information are determined according to the target translation information corresponding to the translation result.
Step 208, generating a translation file according to the version information and the requirement list identification information, and uploading the translation file to a target system; wherein the target system is a system storing the current update file.
Optionally, the method provided in this embodiment may further include steps 207-208. After the translation results are input by the translation personnel, the corresponding translation results can be automatically imported into a target system for storing files. Wherein in step 201, the current update file may be acquired in the target system.
Specifically, if a translation result is input in the translation database by a translation staff, target translation information corresponding to the translation result can be obtained, and then version information and requirement list identification information corresponding to the translation content are determined according to the target translation information.
Further, in the method provided in this embodiment, the translation result corresponds to the target translation information, for example, the translation result a corresponds to the target translation information a, that is, a is the translation result of the chinese content in a. The target translation information may have corresponding version information and requirement ticket identification information. The method can be specifically determined according to version information corresponding to the current update file uploaded by the user. For example, the target system may be an SVN system, and when a user uploads a current update file, the architecture of the target system may determine version information according to the file uploaded by the user, and may use the version information as version information of all contents to be translated in the current update file, that is, version information of target translation information corresponding to the contents to be translated. The requirement list identification information corresponding to the target translation information can also be obtained according to a similar mode, for example, when a user uploads a current update file, the requirement list identification corresponding to the file can be collected and used as the requirement list identification information of all contents to be translated in the current update file.
In practical application, the electronic device can determine the translation file according to the translation result, version information and requirement list identification information. For example, the translation results with the same version information and the same requirement list identification information may be packaged into a file readable by the target system, and then uploaded to the target system. That is, the translated file corresponds to a certain requirement list of a certain version, for example, the translated file can be uploaded to the SVN system, and the translated file corresponds to the version and the requirement list.
The translation file may be generated periodically according to the translation result, for example, the contents in the translation database may be scanned every 12 hours, and the translation result may be imported into the target system.
Specifically, the translation state in the translation database may further include the completion of the import. After one translation result is imported into the target system, the state of the translation result in the translation database can be modified to be imported. In this embodiment, the state of each piece of translation information in the translation database may be traversed regularly, the translation information in which the state is translated is determined, and then the translation result corresponding to the translation information is obtained, so that the translation result is automatically imported into the target system without combining the files manually.
Step 209, synchronizing the translation state corresponding to the target translation information.
The method provided in this embodiment further includes a step of synchronizing the translation states of the target translation information.
Specifically, a translation state may be set in the translation database, and for example, when target translation information is stored in the translation database, the state thereof may be set to be translated. And after the translator acquires the content to be translated from the translation database through the interface, setting the target translation information state corresponding to the translated content as the translation. And after the electronic equipment receives the translation result input by the translation personnel, setting the target translation information state corresponding to the translation result as translation completion.
Furthermore, in order to facilitate the translation manager to check whether all the translation contents are translated, a status of missing translation may be set. For example, when the target translation information does not enter a state of translation completion within a preset period of time, the state thereof may be set as missed translation.
In practical application, the sequence of step 209 and the above steps is not limited, and the translation state of the target translation information may be updated according to the practical situation after the target translation information is stored in the translation database.
In practical application, the translation manager can also perform retrieval operation in the translation database. For example, in the interactive interface, input boxes may be included, specifically, a presenter input box, a version information input box, a requirement single number input box, etc., where these input boxes may be input boxes for directly inputting contents, or may be input boxes with a selection function. The translation manager can input any item of content such as submitters, version information, requirement numbers and the like, and search operation is performed in the translation database. Because each item of target translation information in the translation database comprises user information, requirement list information and version information of the submitted file, the target translation information meeting the conditions can be determined based on the information and displayed in the interactive interface.
Fig. 3 is a block diagram of a processing apparatus for translating data according to an exemplary embodiment of the present invention.
As shown in fig. 3, the processing apparatus for translating data provided in this embodiment includes:
the obtaining module 31 is configured to obtain a current update file, and determine content to be translated according to the current update file;
a display module 32, configured to display an update entry corresponding to the content to be translated on a graphical user interface, where at least one update entry is displayed on the graphical user interface;
and a response module 33, configured to determine target translation information in response to a confirmation instruction acting on the update entry, and store the target translation information in a translation database.
The processing device for translation data provided by the embodiment comprises an acquisition module, a translation module and a translation module, wherein the acquisition module is used for acquiring a current update file and determining contents to be translated according to the current update file; the display module is used for displaying an update item corresponding to the content to be translated on the graphical user interface, wherein at least one update item is displayed in the graphical user interface; and the response module is used for responding to the confirmation instruction acted on the updated item, determining target translation information and storing the target translation information into the translation database. The translation data processing device provided by the embodiment can automatically transfer translation data, and improves the efficiency of the translation process. The obtained content to be translated can be integrated into translation information, and the translation information is further confirmed by a target user, so that the problem of human waste caused by unnecessary content translation is avoided.
The specific principle and implementation of the device for processing translation data provided in this embodiment are similar to those of the embodiment shown in fig. 1, and will not be described herein again.
Fig. 4 is a block diagram of a processing apparatus for translating data according to another exemplary embodiment of the present invention.
As shown in fig. 4, on the basis of the above embodiment, the processing apparatus for translation data provided in this embodiment,
optionally, the obtaining module 31 includes:
a comparing unit 311, configured to compare the content of the current update file with the content of the corresponding historical version file;
and a determining unit 312, configured to determine the content to be translated according to the comparison result.
Optionally, the obtaining module 312 is specifically configured to:
determining a newly added translation variable or a newly added translation identifier according to the comparison result, and determining the content to be translated according to the newly added translation variable or the newly added translation identifier;
and/or determining the change content corresponding to the same translation variable or translation identifier according to the comparison result, and determining the content to be translated according to the change content.
Optionally, before the graphical user interface displays the update item corresponding to the content to be translated, the display module 32 is further configured to:
displaying links corresponding to the content to be translated on the graphical user interface;
and responding to the operation instruction acted on the link, and displaying an update item corresponding to the content to be translated on the graphical user interface.
Optionally, the apparatus further includes a determining module 34, configured to obtain file information of the current update file before the display module 32 displays the update entry corresponding to the content to be translated on the graphical user interface, and determine the update entry corresponding to each content to be translated according to the file information and the content to be translated.
Optionally, the determining module 34 is specifically configured to obtain information about a submitting user of the current update file and information about a requirement list identifier corresponding to the current update file.
Optionally, the apparatus further includes a synchronization module 35, configured to synchronize a translation state corresponding to the target translation information.
Optionally, the translation state includes at least one of:
and (5) finishing translation, translation middle, translation missing and translation.
Optionally, the apparatus further comprises an entry module 36 for:
receiving a translation result corresponding to the target translation information;
determining version information and the requirement list identification information according to the target translation information corresponding to the translation result;
generating a translation file according to the version information and the requirement list identification information, and uploading the translation file to a target system; wherein the target system is a system storing the current update file.
The specific principle and implementation of the device for processing translation data provided in this embodiment are similar to those of the embodiment shown in fig. 2, and will not be described herein again.
Fig. 5 is a block diagram of a processing apparatus for translating data according to an exemplary embodiment of the present invention.
As shown in fig. 5, the processing apparatus for translating data provided in this embodiment includes:
a memory 51;
a processor 52; and
a computer program;
wherein the computer program is stored in the memory 51 and is configured to be executed by the processor 52 to implement any of the methods of processing translation data as described above.
The present embodiment also provides a computer-readable storage medium, having stored thereon a computer program,
the computer program is executed by a processor to implement any of the methods of processing translation data as described above.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (9)

1. A method for processing translation data, comprising:
acquiring a current update file, and determining contents to be translated according to the current update file;
displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface; each update item comprises a variable of the content to be translated and a Chinese name corresponding to the variable;
determining target translation information in response to a confirmation instruction acting on the update entry, and storing the target translation information in a translation database;
before the graphical user interface displays the update item corresponding to the content to be translated, the method comprises the following steps:
displaying links corresponding to the content to be translated on the graphical user interface; the link comprises prompt words, and the prompt words are used for displaying specific contents to be translated and current updated file information corresponding to the contents to be translated to a target user;
responding to an operation instruction acting on the link, and displaying an update item corresponding to the content to be translated on the graphical user interface;
the determining the content to be translated according to the current updated file comprises the following steps:
comparing the contents of the current updated file with the contents of the corresponding historical version file, and determining the contents to be translated according to the comparison result;
the determining the content to be translated according to the comparison result comprises the following steps:
determining a newly added translation variable or a newly added translation identifier according to the comparison result, and determining the content to be translated according to the newly added translation variable or the newly added translation identifier;
and/or determining the change content corresponding to the same translation variable or translation identifier according to the comparison result, and determining the content to be translated according to the change content.
2. The method of claim 1, wherein before the graphical user interface displays the update entry corresponding to the content to be translated, further comprising:
and acquiring file information of the current updated file, and determining an updated item corresponding to each content to be translated according to the file information and the content to be translated.
3. The method of claim 2, wherein the obtaining the file information of the current update file comprises:
and acquiring the submitted user information of the current updated file and the requirement list identification information corresponding to the current updated file.
4. The method as recited in claim 1, further comprising:
and synchronizing the translation state corresponding to the target translation information.
5. The method of claim 4, wherein the translation state comprises at least one of:
and (5) finishing translation, translation middle, translation missing and translation.
6. A method according to claim 3, further comprising:
receiving a translation result corresponding to the target translation information;
determining version information and the requirement list identification information according to the target translation information corresponding to the translation result;
generating a translation file according to the version information and the requirement list identification information, and uploading the translation file to a target system; wherein the target system is a system storing the current update file.
7. A processing apparatus for translating data, comprising:
the acquisition module is used for acquiring a current update file and determining contents to be translated according to the current update file;
the display module is used for displaying an update item corresponding to the content to be translated on a graphical user interface, wherein at least one update item is displayed in the graphical user interface; each update item comprises a variable of the content to be translated and a Chinese name corresponding to the variable;
the response module is used for responding to the confirmation instruction acted on the updating item, determining target translation information and storing the target translation information into a translation database;
the display module is further configured to, before the graphical user interface displays the update entry corresponding to the content to be translated,: displaying links corresponding to the content to be translated on the graphical user interface; the link comprises prompt words, and the prompt words are used for displaying specific contents to be translated and current updated file information corresponding to the contents to be translated to a target user; responding to an operation instruction acting on the link, and displaying an update item corresponding to the content to be translated on the graphical user interface;
the acquisition module comprises:
the comparison unit is used for comparing the contents of the current updated file and the corresponding historical version file;
the determining unit is used for determining the content to be translated according to the comparison result;
the acquisition module is specifically configured to determine a newly added translation variable or a newly added translation identifier according to the comparison result, and determine the content to be translated according to the newly added translation variable or the newly added translation identifier;
and/or determining the change content corresponding to the same translation variable or translation identifier according to the comparison result, and determining the content to be translated according to the change content.
8. A processing apparatus for translating data, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of claims 1-6.
9. A computer-readable storage medium, having a computer program stored thereon,
the computer program being executable by a processor to implement the method as claimed in any one of claims 1 to 6.
CN201910317296.2A 2019-04-19 2019-04-19 Method, device and equipment for processing translation data and computer readable storage medium Active CN110020443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910317296.2A CN110020443B (en) 2019-04-19 2019-04-19 Method, device and equipment for processing translation data and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910317296.2A CN110020443B (en) 2019-04-19 2019-04-19 Method, device and equipment for processing translation data and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110020443A CN110020443A (en) 2019-07-16
CN110020443B true CN110020443B (en) 2023-07-18

Family

ID=67191915

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910317296.2A Active CN110020443B (en) 2019-04-19 2019-04-19 Method, device and equipment for processing translation data and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110020443B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111950300B (en) * 2020-07-22 2021-12-24 广州朗国电子科技有限公司 Translation management method and device for universal software entries, storage medium and server
CN114201248B (en) * 2020-09-17 2023-10-20 福建天泉教育科技有限公司 Method and system for judging whether component needs translation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933811A (en) * 2017-02-14 2017-07-07 南京南瑞继保电气有限公司 A kind of entry automatic generation method and device
CN106940646A (en) * 2017-03-17 2017-07-11 微梦创科网络科技(中国)有限公司 A kind of International Software processing method, apparatus and system
CN107832311A (en) * 2017-11-30 2018-03-23 珠海市魅族科技有限公司 A kind of interpretation method, device, terminal and readable storage device
CN108536686A (en) * 2018-04-11 2018-09-14 百度在线网络技术(北京)有限公司 A kind of picture interpretation method, device, terminal and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104423948B (en) * 2013-09-02 2018-01-02 阿里巴巴集团控股有限公司 Automatized script operation method and device
CN103986765B (en) * 2014-05-16 2018-03-02 广东欧珀移动通信有限公司 A kind of method multi-lingual using Network Synchronization android

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933811A (en) * 2017-02-14 2017-07-07 南京南瑞继保电气有限公司 A kind of entry automatic generation method and device
CN106940646A (en) * 2017-03-17 2017-07-11 微梦创科网络科技(中国)有限公司 A kind of International Software processing method, apparatus and system
CN107832311A (en) * 2017-11-30 2018-03-23 珠海市魅族科技有限公司 A kind of interpretation method, device, terminal and readable storage device
CN108536686A (en) * 2018-04-11 2018-09-14 百度在线网络技术(北京)有限公司 A kind of picture interpretation method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN110020443A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
JP5302374B2 (en) Actionable email document
CN100570604C (en) A kind of method of relation data base applications automatic upgrade
CN108229704B (en) Method and device for pushing information
US20150012805A1 (en) Collaborative Matter Management and Analysis
US20110238859A1 (en) Information processing apparatus and document data producing method
US20210157841A1 (en) Information providing system and information providing method
US11520823B2 (en) Information providing system and information providing method
CN108628830A (en) A kind of method and apparatus of semantics recognition
CN110020443B (en) Method, device and equipment for processing translation data and computer readable storage medium
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
CN109684364A (en) The problem of being drawn a portrait based on user processing method, device, equipment and storage medium
CN109743245A (en) The method and apparatus for creating group
CN108038172B (en) Search method and device based on artificial intelligence
CN110837356A (en) Data processing method and device
CN110334323A (en) Translate data processing method, device, equipment and computer readable storage medium
JP2004013576A (en) Data input system using wide area network
CN113076186A (en) Task processing method and device, electronic equipment and storage medium
CN113408736B (en) Processing method and device of voice semantic model
CN115495658A (en) Data processing method and device
CA2722511C (en) Efficient change tracking of transcoded copies
TW201417029A (en) Source code management system, method, and program
JP6777907B1 (en) Business support device and business support system
CN109857838A (en) Method and apparatus for generating information
JP7488617B1 (en) Program, method, information processing device, and system
CN114116877B (en) Data conversion method, device, computer equipment and medium

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