Locating need-to-translate constant strings for software internationalization

Xiaoyin Wang, Lu Zhang, Tao Xie, Hong Mei, Jiasu Sun

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Modern software applications require internationalization to be distributed to different regions of the world. In various situations, many software applications are not internationalized at early stages of development. 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 into 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 necessary task that developers must complete for internationalization. In this paper, we present an approach to automatically locating need-to-translate constant strings. Our approach first collects a list of API methods related to the Graphical User Interface (GUI), and then searches for need-to-translate strings from the invocations of these API methods based on string-taint analysis. We evaluated our approach on four real-world open source applications: RText, Risk, ArtOfIllusion, and Megamek. The results show that our approach effectively locates most of the need-totranslate constant strings in all the four applications.

Original languageEnglish (US)
Title of host publication2009 31st International Conference on Software Engineering - Proceedings, ICSE 2009
Pages353-363
Number of pages11
DOIs
StatePublished - Dec 1 2009
Externally publishedYes
Event2009 31st International Conference on Software Engineering, ICSE 2009 - Vancouver, BC, Canada
Duration: May 16 2009May 24 2009

Publication series

NameProceedings - International Conference on Software Engineering
ISSN (Print)0270-5257

Other

Other2009 31st International Conference on Software Engineering, ICSE 2009
CountryCanada
CityVancouver, BC
Period5/16/095/24/09

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Locating need-to-translate constant strings for software internationalization'. Together they form a unique fingerprint.

  • Cite this

    Wang, X., Zhang, L., Xie, T., Mei, H., & Sun, J. (2009). Locating need-to-translate constant strings for software internationalization. In 2009 31st International Conference on Software Engineering - Proceedings, ICSE 2009 (pp. 353-363). [5070535] (Proceedings - International Conference on Software Engineering). https://doi.org/10.1109/ICSE.2009.5070535