Multi-language binding method and system in web applications

A web application, multi-language technology, applied in the field of multi-language binding methods and systems, can solve problems such as error-prone and time-consuming, and achieve the effect of reducing error rates, saving repetitive labor, and improving development efficiency

Active Publication Date: 2009-04-01
SHENZHEN KINGDEE MIDDLEWARE
View PDF0 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] In existing multilingual solutions, programmers need to define multilingual resource files, specify multilingual resource file names for interfaces, and specify multilingual key values ​​for interface elements; The number of language interfaces and interface elements is huge. Therefore, developers have to do repetitive work with a large amount of multilingual data. The work required is not only time-consuming, but also error-prone

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-language binding method and system in web applications
  • Multi-language binding method and system in web applications
  • Multi-language binding method and system in web applications

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0045] The present invention provides a web interface multilingual solution, which is embodied as a system for automatically binding multilingual interfaces, including a multilingual resource file definition unit, an interface rendering unit, a resource file positioning unit, an actual value positioning unit, Interface element assignment unit and interface display unit.

[0046] The multilingual resource file definition unit is used to define multilingual resource files in the web application software development process, which includes a key designation unit and an address matching unit, wherein the key designation unit is used to use the existing interface element id as the multilingual resource file key, the address matching un...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a multilingual binding method in web application, comprising the steps as follows: S1: a multilingual resource file is defined; S2: interface rendering is started and an interface address is analyzed; S3: a corresponding multilingual resource file is found according to the current language and interface address; S4: according to id of the interface element, a corresponding practical value is found in the multilingual resource file; S5: the practical value is given to the interface element; S6: the interface of the selected language is shown according to the interface element with given value and the interface rendering result. The method utilizes the interface element id which is defined in the development process to associate the type of the key value in the multilingual resource file, and leads the Web application to bind the multilingual information on the interface automatically during the development process; when the user shifts the language, corresponding content is displayed automatically according to the selected language, thus saving massive repeated labor of developers and improving the development efficiency.

Description

technical field [0001] The invention relates to Web portal site technology, in particular to a multi-language binding method and system in Web applications. Background technique [0002] With the deepening of network applications and the wide application of e-commerce, the portal site market has become one of the fastest growing computer software markets, and the requirements for portal site language applications have become higher and higher, and the scope of application has become wider and wider. . Now multilingual technology is quite mature and widespread in web applications, basically all web application frameworks provide multilingual solutions. [0003] figure 1 Shown is the operation process of the web interface multilingual solution in the prior art, such as figure 1 As shown, the general method of multi-language implementation is as follows: [0004] S1: Define a separate resource file for each language. The resource file is suffixed with the abbreviation of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F9/44
Inventor 张旭
Owner SHENZHEN KINGDEE MIDDLEWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products