摘要:
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.
摘要:
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.
摘要:
A method and apparatus for generating a Joint Photographic Experts Group (JEPG) file achieves fast decoding speed by enabling efficient locating of restart markers at a decoder. The method and apparatus determining a location to insert at least one restart marker by analyzing an image, performing entropy-encoding, by dividing the image into a plurality of segments based on the determined location in order to insert the restart marker, and inserting the restart marker to the determined location in order to insert the reset maker with respect to each of the plurality of entropy-encoded segments. The method performed by the apparatus includes calculating an offset value of the at least one restart marker with respect to each of the plurality of segments, based on a data size of each of the plurality of segments and a data size of the restart marker, calculating an offset value by scan number from a start of image (SOI) marker based on the calculated offset value of the restart marker, in response to the calculated offset value of the restart marker corresponding to a last segment that is entropy-encoded. The method and apparatus further store the calculated offset value by scan number, as additional application data.