Methods and apparatus for globalising software
First Claim
1. A computer-based method of processing software written in a programming language and containing data associated with a first locale, to generate a source code file which is locale independent and a resource pack consisting of data associated with the first locale, the source code file being arranged to co-operate with the resource pack to perform the function of the software, the method including:
- a first analysis step of using information associated with the programming language to generate a grammar tree representing the structure of the software;
a second analysis step of using the grammar tree and a set of predefined internationalisation rules to identify and separate portions of the software potentially containing data associated with the first locale; and
a partition step of using the identified portions of the software to generate the resource pack, and using the grammar tree to generate the locale independent source code file.
2 Assignments
0 Petitions
Accused Products
Abstract
A method is proposed for processing software or Website code associated with a primary locale by an automatic, or semi-automatic, parsing process. The method separates the code into a file of international code which is not locale dependent, and a resource pack of items specific to the primary locale. The international code and the resource pack co-operate to perform the function of the original code. The resource pack can be converted for any number of other locales. Each converted resource pack together with the international code has the effect of the original code adapted for another locale.
277 Citations
21 Claims
-
1. A computer-based method of processing software written in a programming language and containing data associated with a first locale, to generate a source code file which is locale independent and a resource pack consisting of data associated with the first locale, the source code file being arranged to co-operate with the resource pack to perform the function of the software, the method including:
-
a first analysis step of using information associated with the programming language to generate a grammar tree representing the structure of the software;
a second analysis step of using the grammar tree and a set of predefined internationalisation rules to identify and separate portions of the software potentially containing data associated with the first locale; and
a partition step of using the identified portions of the software to generate the resource pack, and using the grammar tree to generate the locale independent source code file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 16, 17, 18, 19, 20)
-
-
13. A computer-based method of processing Website code containing data associated with a first locale, to generate a template file which is locale independent, at least one locale independent resource file, and a resource pack consisting of data associated with the first locale, the template file being arranged to co-operate with the locale independent Website source file and the resource pack to perform the function of the Website code, the method including:
-
a first analysis step of using information associated with the language of the Website code to generate a grammar tree representing the structure of the Website code;
a second analysis step of using the grammar tree and a set of predefined internationalisation rules to identify portions of the Website code potentially containing data associated with the first locale; and
a partition step of using the identified portions of the Website code to generate the resource pack, and using the grammar tree to generate the template file and the locale independent Website source file.
-
-
15. A computer-based method of converting first computer code containing data associated with a first locale into a form suitable for adaptation to another locale, the method including:
-
a first analysis step of using information associated with the language of the first computer code to generate a grammar tree representing the structure of the first computer code;
a second analysis step of using the grammar tree and a set of predefined internationalisation rules to identify portions of the first computer code potentially containing data associated with the first locale; and
a partition step of using the identified portions of the first code to generate a resource pack of data associated with the first locale, and using the grammar tree to generate at least one locale independent code file, the or each locale independent code file and the resource pack co-operating to perform the function of the first code. - View Dependent Claims (21)
-
Specification