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

Language switching method and device, equipment and storage medium

A language and program switching technology, applied in the field of computer vision, can solve the problems of low development efficiency and high development cost

Pending Publication Date: 2020-10-27
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, developers manually sort out the language and text information in the page to obtain the position of the language and text that needs to be switched, which leads to high development costs and low development efficiency

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
  • Language switching method and device, equipment and storage medium
  • Language switching method and device, equipment and storage medium
  • Language switching method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. It should be understood, however, that these descriptions are exemplary only, and are not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.

[0045] The terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting of the present disclosure. The terms "comprising", "comprising", etc. used herein indicate the presence of stated features,...

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 provides a language switching method, and relates to the field of computer vision, in particular to the field of cloud platforms and cloud computing. The method comprises the steps of obtaining a source file containing first language characters; converting the source file into a first abstract syntax tree comprising a plurality of nodes; determining a target node containing the firstlanguage text in a plurality of nodes of the first abstract syntax tree; replacing a first language text contained in a target node of the first abstract syntax tree with a calling instruction of a language switching program to generate a second abstract syntax tree; and converting the second abstract syntax tree into an execution file used for presenting the page, and calling the language switching program through the calling instruction when the execution file is executed so as to switch the characters to be presented on the page from the first language characters to the second language characters. The invention further provides a language switching device, switching equipment and a storage medium.

Description

technical field [0001] The present disclosure relates to the field of computer vision, specifically, to the field of cloud platform and cloud computing, and more specifically, to a language switching method, a switching device, a switching device, and a computer-readable storage medium. Background technique [0002] With the development of Internet technology and the rise of interactive methods based on cloud platforms such as online communities, more and more sites are required to have the ability to switch between different languages, which poses a challenge to business developers. In the prior art, the location of the language to be switched is obtained mainly through the manual sorting of the language information on the page by the developer, which leads to high development costs and low development efficiency. Contents of the invention [0003] In view of this, the present disclosure provides a language switching method, a switching device, a switching device, and a 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

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/451
CPCG06F9/454
Inventor 杨薇
Owner BEIJING BAIDU NETCOM SCI & 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