摘要:
本发明涉及计算机网络应用领域,公开了一种支持多国语言的网页处理方法,网页加载方法及其系统. The present invention relates to the field of computer networks, discloses a multi-language website to support the processing method, the page loading method and system. 当添加或修改某一国语言时,减少人工投入的时间和成本. When you add or modify a national language, reducing manual input of time and cost. 节省网页服务器的存储容量,提高页面加载和翻译渲染的速度,以及降低翻译文件集的冗余度. Web server saves storage capacity, improve page loading and rendering speed translation, translation of documents and reduce redundancy set. 本发明中,基于一个树状结构的翻译文件集,其中,每个超文本标记语言HTML文件有对应的翻译文件,包括以下步骤:扫描翻译文件集中所有的翻译文件;将不同翻译文件或同一翻译文件不同节点集合中的相同的语言字符串提取出来,并插入到该不同翻译文件的最小公共祖先翻译文件或该同一翻译文件的公共节点集合;将原始翻译文件或节点集合中的相同语言字符串删除. The present invention, based on the translation of documents set a tree structure in which each HTML HTML file has a corresponding translation of documents, comprising the steps of: scanning translation document concentrate all translated documents; translation of documents to different or the same translation different sets of nodes in the same document language strings extracted and inserted into the common node with the lowest common ancestor of the different translation of documents translation of documents or the same set of translated documents; translation of the original file or set of nodes in the same language strings Delete.
展开