Title :
TranStrL: An automatic need-to-translate string locator for software internationalization
Author :
Wang, Xiaoyin ; Zhang, Lu ; Xie, Tao ; Mei, Hong ; Sun, Jiasu
Author_Institution :
Inst. of Software, Peking Univ., Beijing
Abstract :
Software internationalization is often necessary when distributing software applications to different regions around the world. In many cases, developers often do not internationalize a software application at the beginning of the development stage. To internationalize such an existing application, developers need to externalize some hard-coded constant strings to resource files, so that translators can easily translate the application to be in a local language without modifying its source code. Since not all the constant strings require externalization, locating those need-to-translate constant strings is a basic task that the developers must conduct. In this paper, we present TranStrL, an Eclipse plug-in tool that automatically locates need-to-translate constant strings in Java code. Our tool maintains a pre-collected list of API methods related to the Graphical User Interface (GUI), and then searches for need-to-translate strings in the source code starting from the invocations of these API methods using string-taint analysis.
Keywords :
Java; application program interfaces; graphical user interfaces; software engineering; API methods; Eclipse plug-in tool; Java code; TranStrL; graphical user interface; hard-coded constant strings; need-to-translate constant strings; software application; software development stage; software internationalization; source code; string locator; string-taint analysis; Application software; Computer science; Computer science education; Databases; Educational technology; Graphical user interfaces; Java; Laboratories; Open source software; Software prototyping;
Conference_Titel :
Software Engineering, 2009. ICSE 2009. IEEE 31st International Conference on
Conference_Location :
Vancouver, BC
Print_ISBN :
978-1-4244-3453-4
DOI :
10.1109/ICSE.2009.5070554