Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-language support implementing method based on resource identifier

A technology of resource identifiers and implementation methods, applied in the field of software multi-language support implementation, can solve the problems of displaying English, external software systems cannot use resources in multiple national languages ​​at the same time, saving storage space, facilitating version maintenance, improving The effect of loading efficiency

Active Publication Date: 2010-04-14
CASCO SIGNAL
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On the other hand, because the multilingual module can only load one national language resource at the same time, the external software system cannot use multiple national language resources at the same time, for example, it is impossible to display English in one interface and display Chinese in other interfaces

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 support implementing method based on resource identifier
  • Multi-language support implementing method based on resource identifier
  • Multi-language support implementing method based on resource identifier

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0028] Such as figure 1 As shown, a method for implementing multi-language support based on resource identifiers, the specific steps are as follows:

[0029] The first step is to configure language resource files. The language resource file is an XML format file, which contains the language resources required by the software system. Each language resource has a resource identifier, each resource identifier corresponds to multiple attributes, and each attribute corresponds to a different country language. Value, the attribute value is the characters related to the national language. The DTD format of the language resource file is as follows:

[0030]

[0031]

[0032]

[0033]

[0034]

[0035]

[0036]

[0037] among them:

[0038] MultiLanguage is the root node of the resource configuration file in XML format;

[0039] ID is a resource identifier node, each resource has a unique resource identifier, and the value of the value attribute in this node is the resource identifier;

[004...

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 relates to a multi-language support implementing method based on a resource identifier. The method comprises the following steps: 1) configuring a language resource file; 2) setting a default language; 3) defining a filtering rule; 4) loading a needed language resource according to the filtering rule; 5) obtaining the language resource; and 6) monitoring whether the language resource file changes or not in real time, and if the language resource file changes, updating the language resource through reading the language resource file and loading the language resource again. Compared with the prior art, the method has high loading efficiency and effectively saves the storage space.

Description

Technical field [0001] The invention relates to a method for realizing software multi-language support, in particular to a method for implementing multi-language support based on resource identifiers. Background technique [0002] Software systems often need to support multiple national languages ​​in order to meet the needs of users in different countries and regions. When developing a software system, put language-related content into the language resource library, and change the language resource library when switching languages. However, due to the tight coupling between the software system itself and the language resource library, the software system needs to be restarted after changing the language resource library, which may cause business interruption. [0003] In order to solve the above problems well, a multi-language support implementation method can be designed to perform unified maintenance and management of the characters related to the software system and the nation...

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): G06F9/44G06F9/445
Inventor 郝黎明
Owner CASCO SIGNAL
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products