Virtual Translation Verification via DOM Text Replacement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current text translation verification methods require building multiple instances of application programs, leading to increased resource consumption and inefficiency, as translators lack context and may produce incorrect translations due to the inability to see the actual GUI interface during translation.

Innovation Solution

A method that involves obtaining a first and second PII file, generating an original page, extracting identification information from the DOM tree, looking up corresponding text units in the second PII file, and replacing text units in the DOM tree to create a new page, all while building only a single instance of the application program, allowing for real-time modification reflection without re-building.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If live TVT is used to verify translation by building two instances of the application program (original and translated), then translation verification can be performed, but build resources and time consumed increase significantly

Engineering Contradiction:
Improvetranslation verification accuracyVSAvoidbuild time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent creates a virtual copy of the translated PII file by parsing the original PII file and generating a virtual translated version without building a actual application instance. This virtual copying approach allows translation verification to proceed without the time-consuming process of building two separate application instances, thus reducing build time while maintaining verification capability

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent replaces the mechanical process of building actual application instances with a software-based parsing and virtual generation system. Instead of compiling and running two separate applications for comparison, the system parses the original PII file, generates virtual translated content through text processing, and compares the results, thereby eliminating the need for actual application building operations

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If live TVT is used and translation errors are found, the verifier must return corrected PII file to developer for re-building, but this significantly influences verification efficiency

Engineering Contradiction:
Improvetranslation verification accuracyVSAvoidverification efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system creates a virtual copy of the translated PII file that can be modified independently without affecting the original or requiring re-building. When translation errors are identified, the virtual translated PII file can be directly updated and re-compared, eliminating the need for developer intervention and re-building operations, thus maintaining high verification efficiency

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The verification system performs self-service by automatically generating, modifying, and comparing virtual translated PII files without requiring external intervention from developers. The system can independently handle correction cycles by updating the virtual translation and re-comparing, thereby maintaining continuous verification efficiency without external dependencies

Inventive Principle:
Principle #25Self-service

3Reliability

If screen shot TVT is used to verify translation by taking screen shots of built instances, then verification can be performed, but additional burdens are imposed on the program developer and execution efficiency is reduced

Engineering Contradiction:
Improvetranslation verification accuracyVSAvoidverification process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent generates a virtual copy of the translated PII file through parsing and text processing, eliminating the need to actually build and capture screen shots of the application. This virtual copying approach simplifies the verification process by replacing complex screen capture operations with straightforward text parsing and comparison, thereby reducing verification process complexity

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent extracts the essential verification information (text content and structure) from the PII files directly, separating the verification task from the complex application building and screen capturing process. By extracting only the necessary text information for comparison, the system eliminates unnecessary complexity related to GUI rendering, window management, and screen capture operations

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS8903710B2Synchro translation verification test for software applications
Publication Date: 2014.12.02 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US8903710B2 patent drawing
  • US8903710B2 patent drawing
  • US8903710B2 patent drawing

AI summary

Verifying text translation in a program including obtaining a first program integrated information (PII) file and a second PII file of text in the program. An original page is generated by using the first PII file. Document object model (DOM) tree information of the original page is obtained. For each text unit in the original page: identification information corresponding to a first text unit in the first PII file is extracted; a second text unit is identified in the second PII file using the extracted identification information and a relationship between the identification information and the second text unit; and the first text unit is replaced in the DOM tree with the second text unit. A new page is generated using the text units from the second PII file.