CN104915228A - Application program language setting method and device - Google Patents

Application program language setting method and device Download PDF

Info

Publication number
CN104915228A
CN104915228A CN201510280557.XA CN201510280557A CN104915228A CN 104915228 A CN104915228 A CN 104915228A CN 201510280557 A CN201510280557 A CN 201510280557A CN 104915228 A CN104915228 A CN 104915228A
Authority
CN
China
Prior art keywords
language
mobile terminal
application program
current setting
terminal current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510280557.XA
Other languages
Chinese (zh)
Other versions
CN104915228B (en
Inventor
闫昊
李明浩
马纪平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510280557.XA priority Critical patent/CN104915228B/en
Publication of CN104915228A publication Critical patent/CN104915228A/en
Application granted granted Critical
Publication of CN104915228B publication Critical patent/CN104915228B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an application program language setting method and device and belongs to the field of computer applications. The method is adopted in an electronic device and includes the steps that when an application program is installed or operated by the electronic device, whether the electronic device is connected with a mobile terminal or not is detected; if yes, the currently-set language of the mobile terminal is acquired; when the language corresponding to the application program is not identical to the currently-set language of the mobile terminal, the language corresponding to the application program is set to be the currently-set language of the mobile terminal. When the application program used for managing the mobile terminal is installed or operated, the language of the mobile terminal connected with the electronic device is automatically detected, the language corresponding to the application program is set to be identical to the language of the mobile terminal, user manual settings are not needed, user setting steps are simplified, and user experience is improved.

Description

Application program language setting method and device
Technical field
The disclosure relates to computer application field, particularly a kind of application program language setting method and device.
Background technology
Along with mobile terminal is also more and more universal, for the ease of managing the system in mobile terminal and application program, a lot of user selects in the electronic equipment of the convenient operations such as PC, install the application program being used for managing mobile terminal.
In the related, for the Develop Application System business of managing mobile terminal in advance for application program arranges multilingual, user, when set up applications, can install the language guiding and manually arrange application program in interface; Or user also can when running application, at the language arranging switch application program in interface of application program.
Summary of the invention
Present disclose provides a kind of application program language setting method and device.Described technical scheme is as follows:
According to the first aspect of disclosure embodiment, provide a kind of application program language setting method, in electronic equipment, described method comprises:
Install at described electronic equipment or when running application, detect described electronic equipment and whether be connected with mobile terminal;
If testing result is described electronic equipment be connected with mobile terminal, then obtain the language of described mobile terminal current setting;
When the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
Optionally, when the operating system of described mobile terminal is Android system, before the language of the described mobile terminal current setting of described acquisition, comprising:
Judge whether described mobile terminal has opened general-purpose serial bus USB debug function;
If described mobile terminal has opened USB debug function, then perform the step of the language of the described mobile terminal current setting of described acquisition.
Optionally, described method also comprises:
If described mobile terminal not yet opens USB debug function, then show and manually arrange prompting, described manually setting is pointed out for pointing out language language corresponding for described application program being manually set to described mobile terminal current setting.
Optionally, described language language corresponding for described application program being set to described mobile terminal current setting, comprising:
When described application program installed by described electronic equipment, will the language that the display language at interface and the Installation Setup Language of described application program be guided to be set to described mobile terminal current setting be installed;
When described electronic equipment runs described application program, the display language of described application program is set to the language of described mobile terminal current setting.
Optionally, the language of the described mobile terminal current setting of described acquisition, comprising:
Obtain the area of described mobile terminal current setting, the language corresponding to described mobile terminal current setting area is defined as the language of described mobile terminal current setting.
Optionally, described method also comprises:
Before language language corresponding for described application program being set to described mobile terminal current setting, show that language arranges prompting, whether described language arranges prompting and determines to carry out language setting for prompting;
When receiving the operation determining to carry out language setting, perform described step language corresponding for described application program being set to the language of described mobile terminal current setting.
According to the second aspect of disclosure embodiment, provide a kind of application program language setting device, in electronic equipment, described device comprises:
Detection module, for installing at described electronic equipment or when running application, detecting described electronic equipment and whether be connected with mobile terminal;
Language acquisition module, if be that described electronic equipment is connected with mobile terminal for the testing result of described detection module, then obtains the language of described mobile terminal current setting;
Module is set, for when the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
Optionally, described device also comprises:
Judge module, for obtain described mobile terminal current setting at described language acquisition module language before, detect described mobile terminal and whether opened general-purpose serial bus USB debug function;
Described language acquisition module, if opened USB debug function for described mobile terminal, has then performed the step of the language of the described mobile terminal current setting of described acquisition.
Optionally, described device also comprises:
First reminding module, if not yet open USB debug function for described mobile terminal, then shows and manually arranges prompting, and described manually setting is pointed out for pointing out language language corresponding for described application program being manually set to described mobile terminal current setting.
Optionally, described module is set, comprises:
First arranges submodule, for when described application program installed by described electronic equipment, installs described the language guiding the display language at interface and the Installation Setup Language of described application program to be set to described mobile terminal current setting;
Second arranges submodule, for when described electronic equipment runs described application program, the display language of described application program is set to the language of described mobile terminal current setting.
Optionally, described language acquisition module, for obtaining the area of described mobile terminal current setting, is defined as the language of described mobile terminal current setting by the language corresponding to described mobile terminal current setting area.
Optionally, described device also comprises:
Second reminding module, for arranging before language corresponding for described application program to be set to the language of described mobile terminal current setting by module described, show that language arranges prompting, whether described language arranges prompting and determines to carry out language setting for prompting;
Described module being set, for when receiving the operation determining to carry out language setting, performing described step language corresponding for described application program being set to the language of described mobile terminal current setting.
According to the third aspect of disclosure embodiment, provide a kind of application program language setting device, in electronic equipment, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Install at described electronic equipment or when running application, detect described electronic equipment and whether be connected with mobile terminal;
If testing result is described electronic equipment be connected with mobile terminal, then obtain the language of described mobile terminal current setting;
When the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
By this electronic equipment install or when running application, detect this electronic equipment and whether be connected with mobile terminal, if, then obtain the language of this mobile terminal current setting, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting, when installing or run the application program being used for managing mobile terminal, the language of the mobile terminal that automatic detection is connected with electronic equipment, and language corresponding for application program is set to consistent with the language of mobile terminal, user is not needed manually to arrange, simplify user's setting steps, improve Consumer's Experience.
Should be understood that, it is only exemplary that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of a kind of application program language setting method according to an exemplary embodiment;
Fig. 2 is the process flow diagram of a kind of application program language setting method according to another exemplary embodiment;
Fig. 3 is the process flow diagram of a kind of application program language setting method according to another exemplary embodiment;
Fig. 4 is the block diagram of a kind of application program language setting device according to an exemplary embodiment;
Fig. 5 is the block diagram of a kind of application program language setting device according to another exemplary embodiment;
Fig. 6 is the block diagram of a kind of device according to an exemplary embodiment.
Embodiment
Here will perform explanation to exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of a kind of application program language setting method according to an exemplary embodiment.This application program language setting method may be used in the electronic equipment such as PC or notebook computer.As shown in Figure 1, this application program language setting method can comprise the following steps.
In a step 102, install at this electronic equipment or when running application, detect this electronic equipment and whether be connected with mobile terminal.
At step 104, if testing result is connected with mobile terminal for this electronic equipment, then the language of this mobile terminal current setting is obtained.
In step 106, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting.
Optionally, when the operating system of this mobile terminal is Android system, before the language of this mobile terminal current setting of this acquisition, comprising:
Judge whether this mobile terminal has opened general-purpose serial bus USB debug function;
If this mobile terminal has opened USB debug function, then perform the step of the language of this mobile terminal current setting of this acquisition.
Optionally, the method also comprises:
If this mobile terminal not yet opens USB debug function, then show and manually arrange prompting, this manually arranges prompting for pointing out language language corresponding for this application program being manually set to this mobile terminal current setting.
Optionally, language corresponding for this application program is set to the language of this mobile terminal current setting by this, comprising:
When this application program installed by this electronic equipment, the display language at interface and the Installation Setup Language of this application program is guided to be set to the language of this mobile terminal current setting this installation;
When this electronic equipment runs this application program, the display language of this application program is set to the language of this mobile terminal current setting.
Optionally, the language of this mobile terminal current setting of this acquisition, comprising:
Obtain the area of this mobile terminal current setting, the language corresponding to this mobile terminal current setting area is defined as the language of this mobile terminal current setting.
Optionally, the method also comprises:
Before language language corresponding for this application program being set to this mobile terminal current setting, show that language arranges prompting, whether institute's language arranges prompting and determines to carry out language setting for prompting;
When receiving the operation determining to carry out language setting, perform the step that language corresponding for this application program is set to the language of this mobile terminal current setting by this.
In sum, the application program language setting method provided in disclosure embodiment, by this electronic equipment install or when running application, detect this electronic equipment and whether be connected with mobile terminal, if, then obtain the language of this mobile terminal current setting, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting, when installing or run the application program being used for managing mobile terminal, the language of the mobile terminal that automatic detection is connected with electronic equipment, and language corresponding for application program is set to consistent with the language of mobile terminal, user is not needed manually to arrange, simplify the setting steps of user, improve Consumer's Experience.
Fig. 2 is the process flow diagram of a kind of application program language setting method according to another exemplary embodiment.This application program language setting method may be used in the electronic equipment such as PC or notebook computer.Be applied to the installation scene of application program in this way, the operating system of this mobile terminal is Android system is example, and as shown in Figure 2, this application program language setting method can comprise the following steps.
In step 202., when electronic equipment set up applications, detect this electronic equipment and whether be connected with mobile terminal, if so, enter step 204.
Wherein, this application program can be in the electronic device, to the application program that the mobile terminal connecting this electronic equipment manages.Click after the installation kit of user's down load application program in the electronic device and run, application program is in installation process, and whether installation procedure can be connected with mobile terminal by detected electrons equipment.
In step 204, judge whether mobile terminal has opened general-purpose serial bus USB debug function, if so, enters step 206, otherwise, enter step 212.
For the mobile terminal running on Android system, usually need the USB in the manually opened mobile terminal of user (Universal Serial Bus, USB (universal serial bus)) debug function just can manage mobile terminal.If installation procedure detects that electronic equipment is current when being connected with mobile terminal, then detect mobile terminal further and whether opened USB debug function, if opened USB debug function, then enter step 206, otherwise entered step 212.
In step 206, the language of this mobile terminal current setting is obtained.
Installation procedure can pass through the language that ADB (Android Debug Bridge, Android debugging bridge) instrument obtains mobile terminal.
Wherein, installation procedure directly can obtain the language of mobile terminal by ADB instrument, its code is as follows:
adb getprop ro.product.locale.language;
Or installation procedure also first can obtain the area of mobile terminal current setting by ADB instrument, and the language corresponding to mobile terminal current setting area is defined as the language of mobile terminal current setting.The code in the area of installation procedure acquisition mobile terminal current setting can be as follows:
adb getprop ro.product.locale.region。
In a step 208, when the language of language corresponding to application program and mobile terminal current setting is inconsistent, show that language arranges prompting, whether this language arranges prompting and determines to carry out language setting for prompting.
Wherein, language corresponding to this application program can be the display language that the installation of installation procedure guides interface, and under normal conditions, this installation guides the display language at interface to be also the default installation language of application program.After installation procedure obtains the language of mobile terminal current setting, first detect the display language installing guiding interface whether consistent with the language of mobile terminal current setting, if both are consistent, then do not process; If both are inconsistent, then show that language arranges prompting, inconsistent with the language of the display language and mobile terminal current setting of pointing out user installation guiding interface, whether inquiry user determines to carry out language setting.
In step 210, when receiving the operation determining to carry out language setting, will the language that the display language at interface and the Installation Setup Language of application program be guided to be set to mobile terminal current setting be installed.
If user selects to determine to carry out language setting, then installation procedure guides the make peace Installation Setup Language of application program of the display word at interface to be set to consistent with the language of mobile terminal current setting by installing.
Optionally, the display language at disclosure above-mentioned steps default installation guiding interface is the default installation language of application program, in some cases, install and guide the default installation language of the display language at interface and application program likely and inconsistent, in this case, install guide one in the display language at interface and the default installation language of application program or two inconsistent with the language of mobile terminal current setting time, all need to carry out above-mentioned setting steps, installation is made to guide the display language at interface and the Installation Setup Language of application program to be all consistent with the language of mobile terminal current setting.
In the step 212, show and manually arrange prompting, this manually arranges prompting for pointing out language language corresponding for application program being manually set to mobile terminal current setting.
If installation procedure detects that mobile terminal not yet opens USB debug function, now installation procedure cannot obtain the language of mobile terminal current setting, now, installation procedure can point out user install guide one in the display language at interface and the Installation Setup Language of application program or two inconsistent with the language of mobile terminal current setting time, decided in its sole discretion by user and whether manually the guiding display language at interface and the Installation Setup Language of application program will be installed be set to the language of mobile terminal current setting.
Optionally, if installation procedure detects that mobile terminal not yet opens USB debug function, also can point out the USB debug function that user opens mobile terminal, and after the USB debug function of mobile terminal is successfully opened, perform above-mentioned steps 206.
Take mobile terminal as the smart mobile phone of Android system, application program is XX mobile phone assistant is example, when user downloads the installation kit of XX mobile phone assistant and runs installation in PC, whether installation procedure detects automatically has smart mobile phone to be connected with PC by USB connecting line, if there is smart mobile phone to be connected with PC by USB connecting line, then detect smart mobile phone further and whether open USB debug function, if smart mobile phone does not open USB debug function, user is then pointed out to check voluntarily and guide the display language at interface and the Installation Setup Language of XX mobile phone assistant to be set to same language the language of smart mobile phone current setting and installation.If smart mobile phone has opened USB debug function, the language of smart mobile phone current setting is then obtained by ADB instrument, and whether the Installation Setup Language detecting display language and the XX mobile phone assistant installing guiding interface is all consistent with the language of smart mobile phone current setting, guide the language of any one in the display language at interface and the Installation Setup Language of XX mobile phone assistant and smart mobile phone current setting inconsistent if install, user is then pointed out whether to determine to carry out language setting, if user selects to determine, then one or two inconsistent with the language of smart mobile phone current setting in the installation guiding display language at interface and the Installation Setup Language of XX mobile phone assistant is set to the language of smart mobile phone current setting.Such as, the make peace Installation Setup Language of XX mobile phone assistant of the display word at interface is guided to be Chinese if installation procedure detects to install, and the language of smart mobile phone current setting is English, then the Installation Setup Language of the XX mobile phone assistant that made peace by the display word installing guiding interface is all set to English.
It should be noted that, disclosure embodiment for the operating system of mobile terminal for Android system is described, in actual applications, the method can also be used for for other operating systems of lift-launch, the mobile terminal such as carrying iOS system or WP system carries out the language setting of application program, principle shown in its ultimate principle with disclosure embodiment said method is consistent, repeats no more herein.
In sum, the application program language setting method provided in disclosure embodiment, by when this electronic equipment set up applications, detect this electronic equipment and whether be connected with mobile terminal, if, then obtain the language of this mobile terminal current setting, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting, when the application program being used for managing mobile terminal is installed, the language of the mobile terminal that automatic detection is connected with electronic equipment, and language corresponding for application program is set to consistent with the language of mobile terminal, user is not needed manually to arrange, simplify the setting steps of user, improve Consumer's Experience.
Fig. 3 is the process flow diagram of a kind of application program language setting method according to another exemplary embodiment.This application program language setting method may be used in the electronic equipment such as PC or notebook computer.Be applied to the Run-time scenario of application program in this way, the operating system of this mobile terminal is Android system is example, and as shown in Figure 3, this application program language setting method can comprise the following steps.
In step 302, when electronic equipment runs application, detect this electronic equipment and whether be connected with mobile terminal, if so, enter step 304.
Wherein, this application program can be in the electronic device, to the application program that the mobile terminal connecting this electronic equipment manages.User clicks after set up applications in the electronic device and runs, and whether application program can be connected with mobile terminal by detected electrons equipment.
In step 304, judge whether mobile terminal has opened general-purpose serial bus USB debug function, if so, enters step 306, otherwise, enter step 312.
Within step 306, the language of this mobile terminal current setting is obtained.
Application program can pass through the language that ADB (Android Debug Bridge, Android debugging bridge) instrument obtains mobile terminal.
Wherein, application program directly can obtain the language of mobile terminal by ADB instrument.Or application program also first can obtain the area of mobile terminal current setting by ADB instrument, and the language corresponding to mobile terminal current setting area is defined as the language of mobile terminal current setting.
In step 308, when the language of language corresponding to application program and mobile terminal current setting is inconsistent, show that language arranges prompting, whether this language arranges prompting and determines to carry out language setting for prompting.
Wherein, the language that this application program is corresponding is the display language of application program.After application program obtains the language of mobile terminal current setting, whether the display language first detecting application program is consistent with the language of mobile terminal current setting, if both are consistent, then do not process; If both are inconsistent, then show that language arranges prompting, inconsistent with the language of the display language and mobile terminal current setting of pointing out user application, whether inquiry user determines to carry out language setting.
In the step 310, when receiving the operation determining to carry out language setting, the display language of application program is set to the language of mobile terminal current setting.
If user selects to determine to carry out language setting, then display language is set to consistent with the language of mobile terminal current setting by application program.
In step 312, show and manually arrange prompting, this manually arranges prompting for pointing out language language corresponding for application program being manually set to mobile terminal current setting.
If application program detects that mobile terminal not yet opens USB debug function, now application program cannot obtain the language of mobile terminal current setting, now, application program can point out user the display language of application program and the language of mobile terminal current setting inconsistent time, decide by user the language whether manual display language application program by application program is set to mobile terminal current setting in its sole discretion.
Optionally, if application program detects that mobile terminal not yet opens USB debug function, also can point out the USB debug function that user opens mobile terminal, and after the USB debug function of mobile terminal is successfully opened, perform above-mentioned steps 306.
Take mobile terminal as the smart mobile phone of Android system, application program is XX mobile phone assistant is example, when user installs XX mobile phone assistant and runs in PC, whether mobile phone assistant detects automatically has smart mobile phone to be connected with PC by USB connecting line, if there is smart mobile phone to be connected with PC by USB connecting line, then detect smart mobile phone further and whether open USB debug function, if smart mobile phone does not open USB debug function, user is then pointed out to check voluntarily and the display language of the language of smart mobile phone current setting and mobile phone assistant is set to same language.If smart mobile phone has opened USB debug function, the language of smart mobile phone current setting is then obtained by ADB instrument, and whether the display language of detection of handset assistant is all consistent with the language of smart mobile phone current setting, if the language of the display language of mobile phone assistant and smart mobile phone current setting is inconsistent, user is then pointed out whether to determine to carry out language setting, if user selects to determine, then the display language of mobile phone assistant is set to the language of smart mobile phone current setting.Such as, if mobile phone assistant detects that oneself display language is Chinese, and the language of smart mobile phone current setting is English, then the display language of mobile phone assistant is set to English.
It should be noted that, disclosure embodiment for the operating system of mobile terminal for Android system is described, in actual applications, the method can also be used for for other operating systems of lift-launch, the mobile terminal such as carrying iOS system or WP system carries out the language setting of application program, principle shown in its ultimate principle with disclosure embodiment said method is consistent, repeats no more herein.
In sum, the application program language setting method provided in disclosure embodiment, by when this electronic equipment runs application, detect this electronic equipment and whether be connected with mobile terminal, if, then obtain the language of this mobile terminal current setting, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting, when running the application program being used for managing mobile terminal, the language of the mobile terminal that automatic detection is connected with electronic equipment, and language corresponding for application program is set to consistent with the language of mobile terminal, user is not needed manually to arrange, simplify the setting steps of user, improve Consumer's Experience.
Following is disclosure device embodiment, may be used for performing disclosure embodiment of the method.For the details do not disclosed in disclosure device embodiment, please refer to disclosure embodiment of the method.
Fig. 4 is the block diagram of a kind of application program language setting device according to an exemplary embodiment, and this application program language setting device may be used in the electronic equipment such as PC or notebook computer, performs 3 arbitrary shown methods as Fig. 1.As shown in Figure 4, this application program language setting device includes but not limited to: detection module 401, language acquisition module 402 and arrange module 403;
When described detection module 401 is arranged in use in the installation of described electronic equipment or runs application, detect described electronic equipment and whether be connected with mobile terminal;
If it is that described electronic equipment is connected with mobile terminal that described language acquisition module 402 is set to for the testing result of described detection module 401, then obtain the language of described mobile terminal current setting;
The described module 403 that arranges is set to, for when the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
In sum, the application program language setting device provided in disclosure embodiment, by this electronic equipment install or when running application, detect this electronic equipment and whether be connected with mobile terminal, if, then obtain the language of this mobile terminal current setting, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting, when installing or run the application program being used for managing mobile terminal, the language of the mobile terminal that automatic detection is connected with electronic equipment, and language corresponding for application program is set to consistent with the language of mobile terminal, user is not needed manually to arrange, simplify the setting steps of user, improve Consumer's Experience.
Fig. 5 is the block diagram of a kind of application program language setting device according to another exemplary embodiment, and this application program language setting device may be used in the electronic equipment such as PC or notebook computer, performs 3 arbitrary shown methods as Fig. 1.As shown in Figure 5, this application program language setting device includes but not limited to: detection module 401, language acquisition module 402 and arrange module 403;
When described detection module 401 is arranged in use in the installation of described electronic equipment or runs application, detect described electronic equipment and whether be connected with mobile terminal;
If it is that described electronic equipment is connected with mobile terminal that described language acquisition module 402 is set to for the testing result of described detection module 401, then obtain the language of described mobile terminal current setting;
The described module 403 that arranges is set to, for when the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
Optionally, described device also comprises: judge module 404;
Described judge module 404 is arranged in use in before described language acquisition module 402 obtains the language of described mobile terminal current setting, detects described mobile terminal and whether has opened general-purpose serial bus USB debug function;
If described language acquisition module 402 is set to open USB debug function for described mobile terminal, then perform the step of the language of the described mobile terminal current setting of described acquisition.
Optionally, described device also comprises: the first reminding module 405;
If described first reminding module 405 is set to not yet open USB debug function for described mobile terminal, then show and manually arrange prompting, described manually setting is pointed out for pointing out language language corresponding for described application program being manually set to described mobile terminal current setting.
Optionally, described module 403 is set, comprises: first arranges submodule 403a and second arranges submodule 403b;
Described first arranges submodule 403a is arranged in use in described electronic equipment when installing described application program, installs described the language guiding the display language at interface and the Installation Setup Language of described application program to be set to described mobile terminal current setting;
Described second arranges submodule 403b is arranged in use in described electronic equipment when running described application program, the display language of described application program is set to the language of described mobile terminal current setting.
Optionally, described language acquisition module 402 is set to the area for obtaining described mobile terminal current setting, the language corresponding to described mobile terminal current setting area is defined as the language of described mobile terminal current setting.
Optionally, described device also comprises: the second reminding module 406;
Described second reminding module 406 is arranged in use in and describedly arranges before language corresponding for described application program is set to the language of described mobile terminal current setting by module 403, show that language arranges prompting, whether described language arranges prompting and determines to carry out language setting for prompting;
The described module 403 that arranges when being arranged in use in the operation receiving and determine to carry out language setting, performs described step language corresponding for described application program being set to the language of described mobile terminal current setting.
In sum, the application program language setting device provided in disclosure embodiment, by this electronic equipment install or when running application, detect this electronic equipment and whether be connected with mobile terminal, if, then obtain the language of this mobile terminal current setting, when the language of language corresponding to this application program and this mobile terminal current setting is inconsistent, language corresponding for this application program is set to the language of this mobile terminal current setting, when installing or run the application program being used for managing mobile terminal, the language of the mobile terminal that automatic detection is connected with electronic equipment, and language corresponding for application program is set to consistent with the language of mobile terminal, user is not needed manually to arrange, simplify the setting steps of user, improve Consumer's Experience.
Fig. 6 is the block diagram of a kind of device 600 according to an exemplary embodiment.This device 600 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 622 (such as, one or more processors) and storer 632, one or more store the storage medium 630 (such as one or more mass memory units) of application program 642 or data 644.Wherein, storer 632 and storage medium 630 can be of short duration storages or store lastingly.The program being stored in storage medium 630 can comprise one or more modules (diagram does not mark), each module can comprise a series of command operatings in device, this series of command operating may be used for realizing as arbitrary in Fig. 1 to 3 as described in all or part of step of method.Further, central processing unit 622 can be set to communicate with storage medium 630, and device 600 performs a series of command operatings in storage medium 630.
Device 600 can also comprise one or more power supplys 626, one or more wired or wireless network interfaces 650, one or more IO interface 658, one or more keyboards 656, and/or, one or more operating systems 641, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations performs detailed description in about the embodiment of the method, will not elaborate explanation herein.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can perform various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.

Claims (13)

1. an application program language setting method, in electronic equipment, is characterized in that, described method comprises:
Install at described electronic equipment or when running application, detect described electronic equipment and whether be connected with mobile terminal;
If testing result is described electronic equipment be connected with mobile terminal, then obtain the language of described mobile terminal current setting;
When the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
2. method according to claim 1, is characterized in that, when the operating system of described mobile terminal is Android system, before the language of the described mobile terminal current setting of described acquisition, comprising:
Judge whether described mobile terminal has opened general-purpose serial bus USB debug function;
If described mobile terminal has opened USB debug function, then perform the step of the language of the described mobile terminal current setting of described acquisition.
3. method according to claim 2, is characterized in that, described method also comprises:
If described mobile terminal not yet opens USB debug function, then show and manually arrange prompting, described manually setting is pointed out for pointing out language language corresponding for described application program being manually set to described mobile terminal current setting.
4. method according to claim 1, is characterized in that, described language language corresponding for described application program being set to described mobile terminal current setting, comprising:
When described application program installed by described electronic equipment, will the language that the display language at interface and the Installation Setup Language of described application program be guided to be set to described mobile terminal current setting be installed;
When described electronic equipment runs described application program, the display language of described application program is set to the language of described mobile terminal current setting.
5. method according to claim 1, is characterized in that, the language of the described mobile terminal current setting of described acquisition, comprising:
Obtain the area of described mobile terminal current setting, the language corresponding to described mobile terminal current setting area is defined as the language of described mobile terminal current setting.
6. method according to claim 1, is characterized in that, described method also comprises:
Before language language corresponding for described application program being set to described mobile terminal current setting, show that language arranges prompting, whether described language arranges prompting and determines to carry out language setting for prompting;
When receiving the operation determining to carry out language setting, perform described step language corresponding for described application program being set to the language of described mobile terminal current setting.
7. an application program language setting device, in electronic equipment, is characterized in that, described device comprises:
Detection module, for installing at described electronic equipment or when running application, detecting described electronic equipment and whether be connected with mobile terminal;
Language acquisition module, if be that described electronic equipment is connected with mobile terminal for the testing result of described detection module, then obtains the language of described mobile terminal current setting;
Module is set, for when the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
8. device according to claim 7, is characterized in that, described device also comprises:
Judge module, for obtain described mobile terminal current setting at described language acquisition module language before, detect described mobile terminal and whether opened general-purpose serial bus USB debug function;
Described language acquisition module, if opened USB debug function for described mobile terminal, has then performed the step of the language of the described mobile terminal current setting of described acquisition.
9. device according to claim 8, is characterized in that, described device also comprises:
First reminding module, if not yet open USB debug function for described mobile terminal, then shows and manually arranges prompting, and described manually setting is pointed out for pointing out language language corresponding for described application program being manually set to described mobile terminal current setting.
10. device according to claim 7, is characterized in that, describedly arranges module, comprising:
First arranges submodule, for when described application program installed by described electronic equipment, installs described the language guiding the display language at interface and the Installation Setup Language of described application program to be set to described mobile terminal current setting;
Second arranges submodule, for when described electronic equipment runs described application program, the display language of described application program is set to the language of described mobile terminal current setting.
11. devices according to claim 7, it is characterized in that, described language acquisition module, for obtaining the area of described mobile terminal current setting, is defined as the language of described mobile terminal current setting by the language corresponding to described mobile terminal current setting area.
12. devices according to claim 7, is characterized in that, described device also comprises:
Second reminding module, for arranging before language corresponding for described application program to be set to the language of described mobile terminal current setting by module described, show that language arranges prompting, whether described language arranges prompting and determines to carry out language setting for prompting;
Described module being set, for when receiving the operation determining to carry out language setting, performing described step language corresponding for described application program being set to the language of described mobile terminal current setting.
13. 1 kinds of application program language setting devices, is characterized in that, in electronic equipment, described device comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Install at described electronic equipment or when running application, detect described electronic equipment and whether be connected with mobile terminal;
If testing result is described electronic equipment be connected with mobile terminal, then obtain the language of described mobile terminal current setting;
When the language of language corresponding to described application program and described mobile terminal current setting is inconsistent, language corresponding for described application program is set to the language of described mobile terminal current setting.
CN201510280557.XA 2015-05-27 2015-05-27 Application program language setting method and device Active CN104915228B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510280557.XA CN104915228B (en) 2015-05-27 2015-05-27 Application program language setting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510280557.XA CN104915228B (en) 2015-05-27 2015-05-27 Application program language setting method and device

Publications (2)

Publication Number Publication Date
CN104915228A true CN104915228A (en) 2015-09-16
CN104915228B CN104915228B (en) 2018-07-20

Family

ID=54084310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510280557.XA Active CN104915228B (en) 2015-05-27 2015-05-27 Application program language setting method and device

Country Status (1)

Country Link
CN (1) CN104915228B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550006A (en) * 2016-02-01 2016-05-04 广东欧珀移动通信有限公司 Application program language setting method and mobile terminal
CN105730376A (en) * 2016-02-17 2016-07-06 吴伟民 Debugging method and system for vehicle electronic equipment
CN106204972A (en) * 2016-07-22 2016-12-07 恒宝股份有限公司 POS language arranges system and method, POS and mobile phone
CN107515734A (en) * 2017-06-30 2017-12-26 广州智富电子智能装备有限公司 A kind of sound plays method, electronic equipment, storage medium and the device of control
CN112114921A (en) * 2020-09-14 2020-12-22 青岛海尔科技有限公司 Language recommendation method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1134705A2 (en) * 2000-02-18 2001-09-19 NRC International Inc. Self service terminal
US20040085570A1 (en) * 2002-10-31 2004-05-06 Jimmy Sfaelos Visual recognition GUI for localized language selections
CN101625783A (en) * 2008-07-09 2010-01-13 冲电气工业株式会社 Automatic trading device and system, and information recording medium
CN101714086A (en) * 2009-12-22 2010-05-26 中兴通讯股份有限公司 Method and device for choosing software interface languages
CN102298559A (en) * 2010-06-25 2011-12-28 黄卫 Handheld terminal, and method and system for interacting information between handheld terminal and computer
CN104020991A (en) * 2014-05-16 2014-09-03 可牛网络技术(北京)有限公司 Method and device for multi-language switching of application program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1134705A2 (en) * 2000-02-18 2001-09-19 NRC International Inc. Self service terminal
US20040085570A1 (en) * 2002-10-31 2004-05-06 Jimmy Sfaelos Visual recognition GUI for localized language selections
CN101625783A (en) * 2008-07-09 2010-01-13 冲电气工业株式会社 Automatic trading device and system, and information recording medium
CN101714086A (en) * 2009-12-22 2010-05-26 中兴通讯股份有限公司 Method and device for choosing software interface languages
CN102298559A (en) * 2010-06-25 2011-12-28 黄卫 Handheld terminal, and method and system for interacting information between handheld terminal and computer
CN104020991A (en) * 2014-05-16 2014-09-03 可牛网络技术(北京)有限公司 Method and device for multi-language switching of application program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105550006A (en) * 2016-02-01 2016-05-04 广东欧珀移动通信有限公司 Application program language setting method and mobile terminal
CN105730376A (en) * 2016-02-17 2016-07-06 吴伟民 Debugging method and system for vehicle electronic equipment
CN106204972A (en) * 2016-07-22 2016-12-07 恒宝股份有限公司 POS language arranges system and method, POS and mobile phone
CN106204972B (en) * 2016-07-22 2018-10-12 恒宝股份有限公司 System and method, POS machine and mobile phone is arranged in POS machine language
CN107515734A (en) * 2017-06-30 2017-12-26 广州智富电子智能装备有限公司 A kind of sound plays method, electronic equipment, storage medium and the device of control
CN112114921A (en) * 2020-09-14 2020-12-22 青岛海尔科技有限公司 Language recommendation method and device

Also Published As

Publication number Publication date
CN104915228B (en) 2018-07-20

Similar Documents

Publication Publication Date Title
US11086290B2 (en) Electronic apparatus for monitoring state of machine tool and control method thereof
US9720799B1 (en) Validating applications using object level hierarchy analysis
CN107506300B (en) User interface testing method, device, server and storage medium
EP2975870A1 (en) Loading sim profile
EP2990930A1 (en) Scrapped information providing method and apparatus
CN104915228A (en) Application program language setting method and device
CN108459964B (en) Test case selection method, device, equipment and computer readable storage medium
CN105338110A (en) Remote debugging method, platform and server
CN109873735B (en) Performance test method and device for H5 page and computer equipment
CN103123605A (en) Android platform automation integration testing method and device
US10542144B2 (en) Electronic apparatus for providing voice recognition control and operating method therefor
US20180329811A1 (en) Automated test runs in an integrated development environment system and method
CN107391362A (en) Application testing method, mobile terminal and storage medium
US20160077831A1 (en) Accurate and performant code design using memoization
CN107145446B (en) Application program APP test method, device and medium
EP3062238A1 (en) Summarization by sentence extraction and translation of summaries containing named entities
US20180253202A1 (en) Electronic device and method for controlling application thereof
CN110275704A (en) Page data processing method and device, storage medium and electronic equipment
CN111338925A (en) Applet test method, device and system, electronic equipment and storage medium
CN104156305A (en) Application program testing method and device
CN112465466A (en) Flow task execution method and device, computer equipment and storage medium
CN113268416A (en) Application program testing method and device, storage medium and terminal
CN103631639A (en) Automatic detection method for user state virtual network interface card
CN111124627B (en) Method and device for determining call initiator of application program, terminal and storage medium
CN110825370B (en) Mobile terminal application development method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant