发明名称 INTERNATIONALIZATION TECHNOLOGY
摘要 Internationalizing a target program includes associating a text string in the program with an attribute of a user interface element. The user interface element is defined in the program and the associating is provided at least partly by a non-executable user interface element annotation in the program. A resource bundle annotation in the program defines a name for a resource bundle to which the text string of the user interface element annotation may be extracted. An annotation processor program automatically creates the resource bundle by processing source code of the target program, including the user interface element annotation and the resource bundle annotation. Executing a method in the target program causes the text string to be displayed on the attribute for a displayed instance of the user interface element. The method determines whether to obtain the displayed text string from the user interface element annotation or from the resource bundle.
申请公布号 US2011113327(A1) 申请公布日期 2011.05.12
申请号 US20090617543 申请日期 2009.11.12
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 HAGELUND PETER
分类号 G06F3/14 主分类号 G06F3/14
代理机构 代理人
主权项
地址