Automation Technique of Software Internationalization and Localization Based on Lexical Analysis

Wenlin Peng,Xiaohu Yang,Feng Zhu
DOI: https://doi.org/10.1145/1655925.1656101
2009-01-01
Abstract:One of the best methods for the internationalization and localization of an existing software system is to convert the program code to support Unicode, this method supports the internationalization very well. In this paper, a technique based on lexical analysis is proposed to migrate the program automatically to Unicode. This technique scans the program code twice: detecting, analyzing and manually converting the suspicious code in the first scanning, and auto-converting the remaining code in the second scanning. Applied to a system which has 10 million lines of C/C++ code, the technique was proved to be available and highly efficient. This technique is universal and can be widely used.
What problem does this paper attempt to address?