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

Static page language switching method and device, storage medium and electronic equipment

A static page and language technology, applied in the computer field, can solve problems such as high technical requirements, long switching response time, and great difficulty in maintaining json files

Pending Publication Date: 2020-05-08
NEUSOFT CORP +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, multilingual support for static pages usually adopts the multilingual solution provided by the front-end framework, for example, developing a single page, using json files for multilingual configuration and support, and switching according to the user's language when the user actually visits The operation performs dynamic rendering and display on the page, and the switching response time is long
[0003] Moreover, through the above methods, developers must strictly follow the multilingual development specifications of the front-end framework used during the development process, which requires high technical requirements for developers and requires maintenance of json files, and there is usually a hierarchical relationship between display objects on the page , when the level of objects displayed on the page is deep, it will be very difficult to maintain the json file

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
  • Static page language switching method and device, storage medium and electronic equipment
  • Static page language switching method and device, storage medium and electronic equipment
  • Static page language switching method and device, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Specific embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present disclosure, and are not intended to limit the present disclosure.

[0047] figure 1 As shown, it is a flow chart of a static page language switching method provided according to an embodiment of the present disclosure. like figure 1 As shown, the method includes:

[0048] In S11 , when language switching is performed on the static page, a target display language to be switched to by the static page is determined.

[0049] A static page refers to a page that can be directly loaded into the client's browser without being compiled by the server. For example, as figure 2 As shown in , it is a schematic diagram of a static page, wherein the point A in the upper right corner of the static page is the part used to indicate the...

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 static page language switching method and device, a storage medium and electronic equipment, and the method comprises the steps: determining a target display language to which a static page is to be switched when the static page is subjected to language switching; determining a target display page corresponding to the target display language from a page set correspondingto the static page, the page set comprising display pages respectively corresponding to the static page in a plurality of display languages, with the display pages being generated based on a configuration file of the static page; and the target display page is displayed, and the content of the target display page is displayed through the target display language. Therefore, when the target displaypage is determined, the target display page can be directly displayed, so that dynamic rendering of the static page based on the json file in the prior art is avoided, and the page response speed isincreased. In addition, multiple pages in the page set can be conveniently maintained, and language switching is facilitated.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular, to a static page language switching method, device, storage medium and electronic equipment. Background technique [0002] With the rise of Internet technology and the increase in the number of users, business development often encounters multilingual scene requirements, and it is necessary to provide support for multiple display languages. In the prior art, multilingual support for static pages usually adopts the multilingual solution provided by the front-end framework, for example, developing a single page, using json files for multilingual configuration and support, and switching according to the user's language when the user actually visits The operation performs dynamic rendering and display on the page, and the switching response time is long. [0003] Moreover, through the above methods, developers must strictly follow the multilingual development specificat...

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
IPC IPC(8): G06F8/38G06F9/451
CPCG06F8/38G06F9/454
Inventor 陆国际纪勇
Owner NEUSOFT CORP
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