Generation of localized software applications
First Claim
1. A method in a data processing system having a program and a source code including a text element in a first natural language, the method comprising the steps performed by the program of:
- extracting the text element in the first natural language from the source code, the extracted text element including context information that identifies a location of the text element in the first natural language in the source code;
obtaining a translation of the extracted text element in a second natural language;
merging the translation of the text element in the second natural language into the source code at a merge location based on the context information such that the source code includes the text element and the translation of the text element; and
after merging the translation of the text element into the source code, generating a single-natural-language version of the source code in the first natural language and a single-natural-language version of the source code in the second natural language.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and articles of manufacture provide a single multi-language source code file and effects single-language executable files from the multi-language source code file. A program extracts text elements in the first language from the source code. The extracted text elements include context information that identifies a location of the text element in the first language in the source code. Translations of the extracted text elements in a second language are obtained. The translations of the text elements in the second language are merged into the source code at merge locations based on the context information. Versions of the source code in the first language and the second language are then generated.
224 Citations
36 Claims
-
1. A method in a data processing system having a program and a source code including a text element in a first natural language, the method comprising the steps performed by the program of:
-
extracting the text element in the first natural language from the source code, the extracted text element including context information that identifies a location of the text element in the first natural language in the source code; obtaining a translation of the extracted text element in a second natural language; merging the translation of the text element in the second natural language into the source code at a merge location based on the context information such that the source code includes the text element and the translation of the text element; and after merging the translation of the text element into the source code, generating a single-natural-language version of the source code in the first natural language and a single-natural-language version of the source code in the second natural language. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16)
-
-
17. A method in a data processing system having a program and a JAVA property file including a text element in English, the method comprising the steps performed by the program of:
-
creating an extensible markup language file; extracting the text element in English from the JAVA source code, the extracted text element including a context information that identifies a location of the text element in the English in the JAVA property file; writing the text element in English into the extensible markup language file; sending the text element in English to a translation program; receiving a translation of the text element in a different natural language from the translation program; merging the translation of the text element in the different natural language into the extensible markup language file at a merge location based on the context information such that the extensible markup language file includes the text element and the translation of the text element; and after merging the translation of the text element into the extensible markup language file, generating a temporary JAVA property file in English that includes the text element in English, but not the text element in the different natural language, and generating a temporary JAVA property file in the different natural language that includes the translation of the text element in the different natural language, but not the text element in English, to effect an executable version of the extensible markup language file in English and an executable version of the extensible markup language file in the different natural language.
-
-
18. A computer-readable storage medium containing instructions that cause a program, in a data processing system having a source code, to perform a method comprising the steps of:
-
extracting a text element in a first natural language from the source code, the extracted text element including context information that identifies a location of the text element in the first natural language in the source code; obtaining a translation of the extracted text element in a second natural language; merging the translation of the text element in the second natural language into the source code at a merge location based on the context information such that the source code includes the text element and the translation of the text element; and after merging the translation of the text element into the source code, generating a single-natural-language version of the source code in the first natural language and a single-natural- language version of the source code in the second natural language. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
-
34. A computer-readable storage medium containing instructions that cause a program, in a data processing system having a JAVA property file including a text element in English, to perform a method comprising the steps of:
-
creating an extensible markup language file; extracting the text element in English from the JAVA source code, the extracted text element including a context information that identifies a location of the text element in the English in the JAVA property file; writing the text element in English into the extensible markup language file; sending the text element in English to a translation program; receiving a translation of the text element in a different natural language from the translation program; merging the translation of the text element in the different natural language into the extensible markup language file at a merge location based on the context information such that the extensible markup language file includes the text element and the translation of the text element; and after merging the translation of the text element into the extensible markup language file, generating a temporary JAVA property file in English that includes the text element in English, but not the text element in the different natural language, and generating a temporary JAVA property file in the different natural language that includes the translation of the text element in the different natural language, but not the text element in English, to effect an executable version of the extensible markup language file in English and an executable version of the extensible markup language file in the different natural language.
-
-
35. A data processing system comprising:
-
a memory comprising a program that extracts a text element in a first natural language from a source code, the extracted text element including context information that identifies a location of the text element in the first natural language in the source code, obtains a translation of the extracted text element in a second natural language, merges the translation of the text element in the second natural language into the source code at a merge location based on the context information such that the source code includes the text element and the translation of the text element, and generates a single-natural-language version of the source code in the first natural language and a single-natural-language version of the source code in the second natural language after merging the translation of the text element into the source code; and a processing unit that runs the program.
-
-
36. A data processing system comprising:
-
means for extracting a text element in a first natural language from a source code, the extracted text element including context information that identifies a location of the text element in the first natural language in the source code; means for obtaining a translation of the extracted text element in a second natural language; means for merging the translation of the text element in the second natural language into the source code at a merge location based on the context information such that the source code includes the text element and the translation of the text element; and means for generating a single-natural-language version of the source code in the first natural language and a single-natural-language version of the source code in the second natural language after merging the translation of the text element into the source code.
-
Specification