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 language, the method comprising the steps performed by the program of:
- extracting the text element in the first language from the source code, the extracted text element including context information that identifies a location of the text element in the first language in the source code;
obtaining a translation of the extracted text element in a second language;
merging the translation of the text element in the second language into the source code at a merge location based on the context information; and
generating a version of the source code in the first language and a version of the source code in the second 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.
272 Citations
41 Claims
-
1. A method in a data processing system having a program and a source code including a text element in a first language, the method comprising the steps performed by the program of:
-
extracting the text element in the first language from the source code, the extracted text element including context information that identifies a location of the text element in the first language in the source code;
obtaining a translation of the extracted text element in a second language;
merging the translation of the text element in the second language into the source code at a merge location based on the context information; and
generating a version of the source code in the first language and a version of the source code in the second 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 language from the translation program;
merging the translation of the text element in the different language into the extensible markup language file at a merge location based on the context information; and
generating a temporary JAVA property file in English that includes the text element in English and generating a temporary JAVA property file in the different language that includes the translation of the text element in the different language 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 language. - View Dependent Claims (18, 19)
-
-
20. A computer-readable 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 the text element in the first language from the source code, the extracted text element including context information that identifies a location of the text element in the first language in the source code;
obtaining a translation of the extracted text element in a second language;
merging the translation of the text element in the second language into the source code at a merge location based on the context information; and
generating a version of the source code in the first language and a version of the source code in the second language. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
-
36. A computer-readable 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 language from the translation program;
merging the translation of the text element in the different language into the extensible markup language file at a merge location based on the context information; and
generating a temporary JAVA property file in English that includes the text element in English and generating a temporary JAVA property file in the different language that includes the translation of the text element in the different language 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 language. - View Dependent Claims (37, 38)
-
-
39. A data processing system comprising:
-
a memory comprising a program that extracts a text element in a first language from a source code, the extracted text element including context information that identifies a location of the text element in the first language in the source code, obtains a translation of the extracted text element in a second language, merges the translation of the text element in the second language into the source code at a merge location based on the context information, and generates a version of the source code in the first language and a version of the source code in the second language; and
a processing unit that runs the program.
-
-
40. A data processing system comprising:
-
means for extracting a text element in a first language from a source code, the extracted text element including context information that identifies a location of the text element in the first language in the source code;
means for obtaining a translation of the extracted text element in a second language;
means for merging the translation of the text element in the second language into the source code at a merge location based on the context information; and
means for generating a version of the source code in the first language and a version of the source code in the second language.
-
-
41. A computer-readable memory device encoded with a program having a data structure, the program run by a processor in a data processing system, the data structure comprising:
a source code having a text element in a first language, the text element including context information that identifies a location of the text element in the first language in the source code, wherein the program extracts the text element in the first language from the source code, obtains a translation of the text element in a second language, merges the translation of the text element in the second language into the source code at a merge location based on the context information, and generates a version of the source code in the first language and a version of the source code in the second language.
Specification