Patent attributes
A method and a system for creating an internationalized Web application are provided. The method comprises loading a Web page into a browser in response to an operation of activating the browser by a user; scanning a Document Object Model (DOM) tree of the Web page to find all contents which possibly need to be translated in the Web page, and marking the contents visibly on the browser; collecting information related to contents to be translated corresponding to a direct selection made by the user in the contents which are identified as possibly needing to be translated in response to the selection; and extracting the contents to be translated from the Web page according to the collected information and storing the contents to be translated, and storing translated contents corresponding to the contents to be translated.