Method and device for replacing language used by program

A language and program technology, applied in the field of language settings, can solve problems such as application barriers and complex switching interface design, and achieve the effect of saving complex design

Inactive Publication Date: 2013-08-14
XIAOMI INC
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method and device for changing the language used by the program, which is used to solve the problems of complicated switching interface design and obstacles in application in the current language setting method

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
  • Method and device for replacing language used by program
  • Method and device for replacing language used by program
  • Method and device for replacing language used by program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0073] Method 1 includes the following steps A1-A2:

[0074] Step A1, matching the voice with the audio in at least one language of the pre-stored system program or application program.

[0075] Pre-stored audio in at least one language of the system program or application program, including audio of words or phrases with certain specific meanings.

[0076] Step A2, taking the language category of the audio that matches the voice as the language category of the voice.

[0077] The implementation effect of mode 1 in conjunction with the above-mentioned first voice input prompt is better, see embodiment 1 for details.

[0078] Method 2 includes the following steps B1-B3:

[0079] Step B1, matching the voice with pre-stored audio in at least one language of the system program or application program.

[0080] Pre-stored audio in at least one language of the system program or application program, including audio of words or phrases with certain specific meanings.

[0081] Step ...

specific Embodiment approach

[0099] Such as figure 2 As shown, embodiment one is a specific implementation of the technical solution of the embodiment of the present invention, including the following steps:

[0100] S21. The terminal receives a voice collection instruction input by the user.

[0101] S22. The terminal displays or plays a voice input prompt, and the voice input prompt is used to prompt the user to input a word or a voice of a word with a certain specific meaning.

[0102] S23. The terminal turns on the microphone to collect the voice input by the user.

[0103] S24. The terminal matches the voice with the audio in at least one language of the system program or application program stored in the terminal in advance, and takes the language category of the audio matched with the voice as the language category of the voice.

[0104] S25 , judging whether the language category of the voice belongs to the language category available for the current program, if yes, proceed to step S26 ; other...

Embodiment 2

[0110] Such as image 3 As shown, Embodiment 2 is another specific implementation of the technical solution of the embodiment of the present invention, including the following steps:

[0111] S31. The terminal receives a voice collection instruction input by the user.

[0112] S32. The terminal displays or plays a voice input prompt, where the voice input prompt is used to prompt the user to input a voice, but does not limit the meaning of the voice.

[0113] S33. The terminal turns on the microphone to collect the voice input by the user.

[0114] The voice input in step S33 can be any word or words in the language to be used.

[0115] S34. The terminal matches the voice with the audio of at least one language of the system program or application program stored in the terminal, when there is audio matching the voice in the audio of at least one language of the system program or application program stored in advance in the terminal Continue to execute step S35; continue to ...

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

An embodiment of the invention discloses a method and a device for replacing a language used by a program to solve the problem that a current language setting method is complicated in toggle interface design and impedimental in application. The method includes the steps: acquiring voice; identifying the language type of the voice; and replacing the language used by the current program by the language of the voice when the language type of the voice belongs to language types which can be used by the current program. By the aid of the technical scheme, a complicated toggle interface does not need to be provided for a user, complicated design of the toggle interface is omitted, application impediment is avoided, and the user can more conveniently set the language used by the program.

Description

technical field [0001] The invention relates to the technical field of language setting, in particular to a method and device for changing the language used by a program. Background technique [0002] At present, many software supports multiple languages, and also provide the function of switching languages. The general method is to list the supported languages ​​for users to choose. For example, the operating system of the mobile phone can be displayed in multiple languages, such as Chinese, English, Japanese and so on. When the user switches from English to Chinese, they need to find the option to change the language in the English context. [0003] A current solution is to list language options in words, such as "Chinese" and "English". In this solution, the terminal needs to provide a language switching interface to the user, and the language switching interface displays multiple language options, and the switching interface design is complicated. ;When the user select...

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/44G10L15/00
Inventor 张啸吴廷彬陈臻付力扬
Owner XIAOMI INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products