US 6,983,238 B2 | ||
Methods and apparatus for globalizing software | ||
Kejia Gao, Beijing (China) | ||
Assigned to American International Group, Inc., New York, N.Y. (US) | ||
Filed on Feb. 07, 2001, as Appl. No. 9/778,987. | ||
Prior Publication US 2002/0107684 A1, Aug. 08, 2002 | ||
Int. Cl. G06F 9/45 (2006.01); G06F 17/20 (2006.01) |
U.S. Cl. 704—8 | 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.
|