Front-end internationalization multi-page packaging method and device and computer equipment

A multi-page, current-page technology, applied in computing, program control devices, software design, etc., can solve problems such as inconvenient maintenance and inability to compress the volume.
CN112612448APending Publication Date: 2021-04-06PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
PINGAN PUHUI ENTERPRISE MANAGEMENT CO LTD
Publication Date
2021-04-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a front-end internationalization multi-page packaging method and device, computer equipment and a storage medium, and relates to the research and development management technology, and the method comprises the steps: obtaining a multi-language internationalization translation code in a source code if a bound hook assembly is detected; extracting an internationalized translation code corresponding to each language in the multi-language internationalized translation codes; obtaining an internationalized Key value corresponding to the current page, and obtaining a corresponding target internationalized translation code from the multi-language internationalized translation code according to the internationalized Key value; obtaining a current source code corresponding to a current page, and assembling the target internationalized translation code to the current source code to obtain a current updated source code; and performing webpack compilation on the current update source code to obtain a current output code. The total size of output codes of a single page is obviously reduced, and a multi-page application only needs to maintain one full translation instead of independently maintaining one translation for each page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field

[0001] The present invention relates to the technical findings of R & D management of R & D management, in particular to a front-end international multi-page packaging method, device, computer equipment, and storage medium.Background technique

[0002] The web front-end resource volume has always been a major pain that affects the user experience. The latest research shows that the website loaded time of most users expect is 3 seconds. If the time is more than 3 seconds, the website will start the user. Excessive resource volume can cause the first time loading resource speed. The international document that is increasing overseas, and the internationalized documents increasingly increasingly increasingly increasingly have an important reason for the excessive front-end resources.

[0003] At present, common solutions are internationalized field files according to different multi-pages, that is, each page retains the international field files you need separately. Although it c...

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