Claims
- 1. A method for testing a software program, comprising:reading a first textual data in a first language for the software program in a first language; prefixing the first textual data with a plurality of placeholder characters, selected from a double-byte character set, where the second byte is “5C”, to produce a desired field length to accommodate a language translation from the first language to a second language, thereby producing a second textual data; storing the second textual data in a machine-readable form; and displaying the second textual data in place of the first textual data on a computer display when the software program is executed thereby enabling a visual inspection of the display of the second textual data for identifying internationalization errors represented by an incorrect display of the first textual data prefixed by the plurality of placeholder characters.
- 2. The method of claim 1, wherein the placeholder characters are double-wide dash characters.
- 3. The method of claim 1, wherein the textual data is comprised of a single-byte character set.
- 4. The method of claim 1, wherein the machine-readable form is a localization file on a computer storage medium.
- 5. The method of claim 1, wherein the field length is in accordance with guidelines for internationalization.
- 6. A method for testing a software program, comprising:reading translatable text in a first language from the software program into a computer memory; prefixing the translatable text, in the computer memory, with a plurality of double-byte placeholder characters having a second byte as “5C”, to produce a desired allocated field length to accommodate a translation of the translatable text to a second language; embracing inserting specific characters at the beginning and end of the prefixed translatable text to indicate field boundaries of the prefixed translatable text, thereby producing mock-translated text; storing the mock-translated text in machine-readable form, and displaying the mock-translated text during execution of the software program thereby enabling a visual inspection of the displayed mock-translated text for errors represented by an incorrect display of the prefixed and embraced translatable text.
- 7. The method of claim 6, wherein the field-boundary characters are double-byte square brackets.
- 8. A computer system having at least a processor, accessible memory, and an accessible display, the computer system comprising:means for reading translatable text in a first language from a software program into the memory; means for prefixing the translatable text, in the computer memory, with a plurality of double-byte placeholder characters having a second byte as “5C”, to produce a desired allocated field length to accommodate a translation of the translatable text to a second language; means for embracing specific characters at the beginning and the end of the prefixed translatable text to indicate field boundaries of the prefixed translatable text thereby producing mock-translated text; means for storing the mock-translated text in machine-readable form; and means for displaying the mock-translated text during execution of the software program thereby enabling a visual inspection of the displayed mock-translated text for errors represented by an incorrect display of the prefixed and embraced translatable text.
- 9. The system of claim 8, wherein the double-byte placeholder characters are double-wide dashes.
- 10. The system of claim 8, wherein the specific characters are double-byte square brackets.
- 11. The system of claim 8, wherein the displayed mock-translated text indicates a hard-coded test string error if the text string is displayed without placeholder characters and beginning and end field boundary characters.
- 12. The system of claim 8, wherein the displayed mock-translated text indicates and expansion error if at least the end field boundary character is missing.
- 13. The system of claim 8, wherein the displayed mock-translated text indicates a composed piecemeal text error if the displayed text has placeholder characters interposed within the text.
- 14. The system of claim 8, wherein the displayed mock-translated text comprises a backslash within the placeholder characters.
- 15. A computer program product having computer readable program code on a computer usable medium, comprising:instructions for adding, to translatable text in a first language from a second software program, a plurality of double-byte placeholder characters having a second byte as “5C”, to produce a desired field length to accommodate a translation of the translatable text to a second language; instructions for embracing, with specific double-byte characters to indicate field boundaries, the beginning and end of the translatable text with the added placeholder characters thereby producing mock-translated test; instructions for enabling a storing of the mock-translated text in machine-readable form; and instructions for enabling a display of the mock-translated text during execution of the second software program thereby enabling a visual inspection of the displayed mock-translated text for errors represented by an incorrect display of the prefixed and embraced translatable text.
CROSS REFERENCE TO RELATED APPLICATIONS
This application shares common text and figures with commonly assigned, copending application Ser. No. 09/342,431, “System, Method, And Program For Testing Translatability of Software by Using English Multi-byte Transliteration Creating Double-wide Characters”, and application Ser. No. 09/342,433, “Mock Translation Method, System, And Program to Test Software Translatability”, which are hereby incorporated by reference.
US Referenced Citations (20)
Non-Patent Literature Citations (5)
Entry |
Title: Improving the Usability of Online Information When Translated from English to Chinese. Author: Fisher et al, IEEE, 1996.* |
Title: Development of an Eye-movement Enhanced Translation Support System, author: Takagi, source: IEEE, 1998.* |
Title: Translating Machine Displayable Information and Documentation, author: Wilter, IEEE, 1998.* |
U.S. patent application Ser. No. 09/342,433, Meade et al., filed Jun. 29, 1999. |
U.S. patent application Ser. No. 09/342,431, Rojas et al., filed Jun. 29, 1999. |