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

Multi-language adaptation method and device of application, client and storage medium

A multi-language, client-side technology, applied in the field of Internet multi-language page display, can solve the multi-language conversion function that the multi-language configuration scheme does not support special character naming, cannot clarify the multi-language conversion function, cannot realize the dynamic call of the initial string, etc. problem, to achieve the effect of improving accuracy

Active Publication Date: 2020-06-05
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At this time, when accessing an embedded sub-application in the native application, you will receive the initial string issued by the server that requires multi-language conversion in the sub-application code, and the preprocessing operations for different initial strings are different. The same, so it is impossible to clarify the multilingual conversion function corresponding to the initial string issued by the server this time, so that the corresponding language content cannot be obtained. At this time, the existing multilingual configuration scheme does not support the multilingual conversion function named by special characters. And it is impossible to realize the dynamic call of different initial strings under multi-language adaptation

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 adaptation method and device of application, client and storage medium
  • Multi-language adaptation method and device of application, client and storage medium
  • Multi-language adaptation method and device of application, client and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] Figure 1A It is a flow chart of an application multilingual adaptation method provided by Embodiment 1 of the present invention, and this embodiment is applicable to any situation of performing multilingual adaptation on a sub-application in a native application. An application multilingual adaptation method provided in this embodiment can be executed by an application multilingual adaptation device provided in an embodiment of the present invention. The device can be realized by software and / or hardware, and integrated in the implementation In the client of the method, the client may be a terminal configured with a native application.

[0033] Specifically, refer to Figure 1A , the method may include the following steps:

[0034] S110. When accessing the target sub-application in the native application, determine a character string that requires multi-language adaptation in the target sub-application.

[0035] Specifically, the native application in this embodiment ...

Embodiment 2

[0044] Figure 2A It is a flow chart of an application multilingual adaptation method provided by Embodiment 2 of the present invention, Figure 2B It is a schematic diagram of the principle of multilingual adaptation for each character string in the target sub-application in the method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. Specifically, such as Figure 2A As shown, in this embodiment, a detailed explanation will be given for the process of determining the character strings requiring multi-language adaptation in the target sub-application and the process of multi-language adaptation for each character string.

[0045] optional, such as Figure 2A As shown, the following steps may be included in this embodiment:

[0046] S210. When accessing the target sub-application in the native application, determine a character string that requires multi-language adaptation in the code file of the targ...

Embodiment 3

[0059] Figure 3A It is a flow chart of the multilingual adaptation method for an application provided in Embodiment 3 of the present invention, Figure 3B It is a schematic diagram of the principle of constructing the key-value pair sets of each sub-application under different language codes in the method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. Specifically, this embodiment explains in detail the specific process of determining the adapted language code of the target sub-application and constructing a set of key-value pairs under different language codes.

[0060] optional, such as Figure 3A As shown, the following steps may be included in this embodiment:

[0061] S310. Pre-configure key-value pair sets of the target sub-application under different language codes according to the code file of the target sub-application.

[0062] Optionally, in order to ensure multilingual adaptation when ...

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 multi-language adaptation method and device of an application, a client and a storage medium. The method comprises the steps: when a target sub-applicationis accessed in a native application, determining that a character string with a multi-language adaptation requirement exists in the target sub-application; and determining adaptive language translation of the character string in a key value pair set corresponding to an adaptive language code of the target sub-application by taking the character string as a key name. According to the multi-languageadaptation method and device of the application, the client and the storage medium provided by the embodiment of the invention, multi-language adaptation of the sub-application in the native application is realized, the multi-language conversion function corresponding to each character string does not need to be defined, and the character string is directly used as the key name of the key value pair, so that the problem that the multi-language conversion function does not support the naming of special characters in the character string is solved, the dynamic calling of each character string in the target sub-application under multi-language adaptation is ensured, and the accuracy of multi-language adaptation is improved.

Description

technical field [0001] The embodiment of the present invention relates to the field of Internet multilingual page display, and in particular to an application multilingual adaptation method, device, client and storage medium. Background technique [0002] At present, in response to the design requirements of different pages contained in various native applications under the Internet, Flutter technology can be used to pre-develop sub-applications corresponding to different pages in the native application, and then embed the sub-applications into the native application to achieve Different page design under native application. [0003] Since the native application is allowed to be configured on terminals in different regions, the native application also supports the optional configuration in multiple languages. At this time, it is required that each sub-application embedded in the native application can also support multilingual configuration, so as to display the content of t...

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/454Y02D10/00
Inventor 王宇飞
Owner GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
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