Unlock instant, AI-driven research and patent intelligence for your innovation.

Front-end multi-language loading adaptation method and device, computer equipment and storage medium

A multi-language and multi-language technology, applied in the direction of program control device, user interface execution, etc., can solve problems such as inability to easily test the display situation of various languages, inconvenient multi-language local testing, and inability to respond to multiple pages in time.

Pending Publication Date: 2020-07-07
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF3 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Secondly, the multi-language local test is not convenient enough, that is, it is not convenient to test the display of various languages ​​in the development mode
In addition, the current solution still has problems such as the inability to record the user's language usage habits, and the inability to respond to the user's language change between multiple pages in a timely manner.

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
  • Front-end multi-language loading adaptation method and device, computer equipment and storage medium
  • Front-end multi-language loading adaptation method and device, computer equipment and storage medium
  • Front-end multi-language loading adaptation method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

[0052] In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be n...

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 embodiment of the invention discloses a front-end multi-language loading adaptation method and device, computer equipment and a storage medium. The front-end multi-language loading adaptation method comprises the following steps: obtaining a user language of a target browser; loading a language file corresponding to the user language; and updating page display according to the language file, and storing the language file in a specified storage area of a browser for updating language settings of the same domain name network page. The multi-language loading realized by the method realizes zero dependence on a third party, i.e., does not depend on specific front-end framework type selection, and can be conveniently suitable for various front-end frameworks. When the language file is loaded or the using language is changed, language settings in all pages under the same domain name are updated in a unified mode, and unified multi-language display of the whole station is provided for a user.

Description

technical field [0001] The present invention relates to the field of computer application technology, in particular to a front-end multilingual loading adaptation method, device, computer equipment and storage medium. Background technique [0002] At present, for the problem of multi-language display, all major front-end frameworks have relatively mature internationalization solutions. They exist in the form of plug-ins, which can be easily connected to the current development environment, such as: vue-i18n, angular-translate, react- intl, jQuery.i18n, etc., although they are used in different ways, the problems they solve are similar to the implementation methods, that is, they convert the translated multi-language into a map structure, and then obtain the copywriting under the current language key according to the current language. Replace the filling to the corresponding position, so as to realize the requirement of displaying different copywriting in different user langu...

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/451
CPCG06F9/454
Inventor 饶建兵杜岗
Owner GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD