Patent ID: 8903710

Claim:
A method for verifying text translation in a program, the method comprising: obtaining a first program integrated information (PII) file and a second PII file of text in the program; executing, on a processor, the program using the first PII file to generate an original page; obtaining document object model (DOM) tree information of the original page; for each text unit in the original page performing: extracting identification information corresponding to a first text unit in the first PII file from the DOM tree information; looking up in the second PII file, a second text unit corresponding to the first text unit, the second text unit identified in the second PII file using the extracted identification information and a correspondence relationship between the extracted identification information and the second text unit; and replacing the first text unit in the DOM tree information with the second text unit; and generating a new page with each of the text units in the original page replaced by corresponding text units in the second PII file.