CN105260240B - A kind of language switching method and device of application program - Google Patents
A kind of language switching method and device of application program Download PDFInfo
- Publication number
- CN105260240B CN105260240B CN201510677136.0A CN201510677136A CN105260240B CN 105260240 B CN105260240 B CN 105260240B CN 201510677136 A CN201510677136 A CN 201510677136A CN 105260240 B CN105260240 B CN 105260240B
- Authority
- CN
- China
- Prior art keywords
- language
- app
- user
- mobile terminal
- positioning system
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000006870 function Effects 0.000 claims description 15
- 238000001514 detection method Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 4
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000116 mitigating effect Effects 0.000 description 1
Abstract
The present invention discloses the language switching method and device of a kind of application program.Wherein, this method comprises: the positioning system based on mobile terminal positions current location;APP language is switched to the language corresponding to current location.After the present invention navigates to the position of user using positioning system, APP country according to belonging to the coordinate of position judgement position switches to local official language then by the language pack for calling mobile terminal system included.By the invention it is possible to meet requirement of the most of user in the whole world to APP language.Not only mitigate the work that APP developer writes cumbersome language pack, user experience is also advantageously improved, simplifies the troublesome operation that user switches language, especially for the people often to go on business, local language can be switched to, according to location convenient for the promotion and popularization in the whole world APP.
Description
Technical field
The present invention relates to technical field of mobile terminals, a kind of language switching method in particular to application program and
Device.
Background technique
Currently, APP (Application, application program) in the market is countless, it is even more multifarious, but the language of APP
Speech is all limited, and is unable to satisfy different nationalities, and the demand of the user of different geographical brings many inconvenience to user, so that with
Family experience property is poor.Also, present APP language is all the language pack write using APP developer, has very strong limitation
Property, it is unfavorable for APP in the popularization and use in the whole world.
Aiming at the problem that APP language is unable to satisfy user demand in the prior art, effective solution side is not yet proposed at present
Case.
Summary of the invention
The language switching method and device of a kind of application program are provided in the embodiment of the present invention, to solve in the prior art
The problem of APP language is unable to satisfy user demand.
In order to solve the above technical problems, the present invention provides a kind of language switching methods of application program, wherein this method
It include: the positioning system positioning current location based on mobile terminal;Application APP language is switched to corresponding to current location
Language.
Further, before the positioning system positioning current location based on mobile terminal, the method also includes: detection moves
Whether dynamic terminal opens positioning system;If do not opened, user is prompted to open the positioning system;If had turned on, mention
Show whether user opens automatic switchover linguistic function.
Further, the method also includes: receive user be not turned on automatically switch linguistic function message after, by institute
State the language that APP language is set as the customized setting of user.
Further, after the positioning system positioning current location based on mobile terminal, the method also includes: it is based on institute
The coordinate information for stating current location determines country belonging to the current location.
Further, application APP language is switched to the language corresponding to current location, comprising: call the shifting
The included language pack of dynamic terminal, searches language corresponding with the country;The APP language is switched to corresponding with the country
Language.
The present invention also provides a kind of language switching devices of application program, wherein the device includes: locating module, is used
Current location is positioned in the positioning system based on mobile terminal;Language switching module, for application APP language to be switched to
Language corresponding to current location.
Further, described device further include: detection module, for detecting whether mobile terminal opens positioning system;Such as
Fruit is not opened, then user is prompted to open the positioning system;If had turned on, prompts the user whether to open and automatically switch language
Function.
Further, described device further include: default setting module, for being not turned on automatic switchover language receiving user
After the message for saying function, it sets the APP language to the language of the customized setting of user.
Further, described device further include: position determination module, it is true for the coordinate information based on the current location
Country belonging to the fixed current location.
Further, the language switching module includes: language searching unit, for calling the mobile terminal to carry
Language pack searches language corresponding with the country;Language switch unit, for the APP language to be switched to and the state
The corresponding language of family.
After the present invention navigates to the position of user using positioning system, APP is according to belonging to the coordinate of position judgement position
Country switches to local official language then by the language pack for calling mobile terminal system included.
By the invention it is possible to meet requirement of the most of user in the whole world to APP language.Not only mitigate APP to open
Originator writes the work of cumbersome language pack, also advantageously improves user experience, simplifies the troublesome operation that user switches language, special
It is not the people for often going on business, so that it may switch to local language, according to location convenient for the popularization in the whole world APP and general
And.
Detailed description of the invention
Fig. 1 is the flow chart of the language switching method of application program according to an embodiment of the present invention;
Fig. 2 is APP language switching flow figure according to an embodiment of the present invention;
Fig. 3 is the structural block diagram of the language switching device of application program according to an embodiment of the present invention;
Fig. 4 is APP language switching flow schematic diagram according to an embodiment of the present invention.
Specific embodiment
Present invention is further described in detail in the following with reference to the drawings and specific embodiments, but not as to limit of the invention
It is fixed.
Fig. 1 is the flow chart of the language switching method of application program according to an embodiment of the present invention, as shown in Figure 1, the party
Method includes the following steps (step S102- step S104):
Step S102, the positioning system based on mobile terminal position current location.
Before this, it needs to detect whether mobile terminal opens positioning system;If do not opened, user is prompted to open fixed
Position system;If had turned on, prompts the user whether to open and automatically switch linguistic function.If receiving user to be not turned on automatically
The message for switching linguistic function, then set APP language to the language of the customized setting of user.
Application APP language is switched to the language corresponding to current location by step S104.
It in the present embodiment, can be according to present bit after the positioning system based on mobile terminal positions current location
The coordinate information set, the spatial informations such as longitude and latitude, height above sea level, direction determine country belonging to current location.It is cut by APP language
In the step of being changed to the language corresponding to current location, specifically include: the language pack for calling mobile terminal included is searched and country
APP language is switched to language corresponding with the country by corresponding language.
Through this embodiment, using positioning system (such as: GPS (Global Positioning System, global location
System) or Beidou positioning) navigate to the position of user after, APP according to the coordinate of position determine position belonging to country, then lead to
The language pack for calling mobile terminal system included is crossed, local official language is switched to.
Based on this, the present invention can satisfy requirement of the most of user in the whole world to APP language.Not only mitigate APP
Developer writes the work of cumbersome language pack, also advantageously improves user experience, simplifies the troublesome operation that user switches language,
Especially for the people often to go on business, so that it may switch to local language, according to location convenient for the popularization in the whole world APP and general
And.
Below by preferred embodiments and drawings, a specific embodiment of the invention is introduced.
Fig. 2 is APP language switching flow figure according to an embodiment of the present invention, as shown in Fig. 2, the process includes:
Step S201, user pass through mobile device end (such as: mobile phone) starting APP (such as: Gree intelligence joins APP);
Step S202, APP judge whether mobile phone opens positioning system (such as: GPS or BEI-DOU position system);If so,
S204 is thened follow the steps, if not, thening follow the steps S203;
Step S203, user are not turned on positioning system, then APP prompts user to open positioning system;
Step S204, user have had been switched on positioning system, then prompt the user whether to open and automatically switch linguistic function;Such as
Fruit user selects to open, and thens follow the steps S205, if user's selection is not turned on, thens follow the steps S206;
Specifically, user starts APP, just calls in the event View Will Appear before homepage face will be shown
After the interface of positioning system, judge whether user has been switched on (such as 1 indicates to open, and 0 indicates not open) according to return value, if
It is not turned on, then APP prompts the user whether to need to open;It is inquired whether the user needs to if opening using automatic switchover language
Say function;
The included language packet interface of step S205, APP application call cell phone system, according to the position coordinates navigated to
Switch to local language;The process terminates.
Specifically, after opening positioning system, positioning system is counted by being analyzed and processed to the navigation message received
The spatial informations such as longitude and latitude, height above sea level, the direction where equipment are calculated, and believe spatial information and satellite according to the agreement of regulation
Breath carries out tissue, is supplied to cell phone apparatus by serial communication (step-by-step transmission) according to certain baud rate;APP gets equipment
Position coordinates after can be traversed according to zatacode indexing, the result for finally retrieving traversal is exactly the location information of user;
Step S206, user are not turned on automatic switchover linguistic function, then default the language that APP uses the customized setting of user
Speech;The process terminates.
The language switching method of application program corresponding to Fig. 1 introduction present embodiments provides a kind of language of application program
Say switching device, the structural block diagram of the language switching device of application program as shown in Figure 3, which includes:
Locating module positions current location for the positioning system based on mobile terminal;
Language switching module, for application APP language to be switched to the language corresponding to current location.
For the preparation stage before positioning operation, the present embodiment provides a kind of preferred embodiments, i.e. above-mentioned apparatus also
It include: detection module, for detecting whether mobile terminal opens positioning system;If do not opened, prompt described in user's unlatching
Positioning system;If had turned on, prompts the user whether to open and automatically switch linguistic function.
Default setting module, for receive user be not turned on automatically switch linguistic function message after, by the APP
Language is set as the language of the customized setting of user.
Operation and language handover operation are determined for specific position, the present embodiment provides a kind of preferred embodiments, i.e.,
Above-mentioned apparatus further include: position determination module, for determining the current location institute based on the coordinate information of the current location
The country of category.
Above-mentioned language switching module includes: language searching unit, and the language pack for calling the mobile terminal included is looked into
Look for language corresponding with the country;Language switch unit, for the APP language to be switched to language corresponding with the country
Speech.
Fig. 4 is APP language switching flow schematic diagram according to an embodiment of the present invention, as shown in figure 4, in technology of the invention
In scheme, first judges whether user opens positioning system at the first time after starting APP, prompts user to open if not opening,
If had turned on, inquire whether the user needs to automatically switch language;When user needs to automatically switch, APP calls positioning system
Location information belonging to system interface captures user judges affiliated country or region by location information, then calling mobile phone system
The language pack of system is switched to local language according to the affiliated nationality of user or region.This technology not only simplifies the operation of user,
APP is more advantageous in the promotion and popularization in the whole world.
Beneficial effects of the present invention are as follows:
1. mitigating the cumbersome work that APP developer writes language pack;
2. simplifying the tedious steps that user switches APP language;
3. meeting the requirement of the whole world different nationalities, different geographical user to APP language;
4. being conducive to APP in the promotion and popularization in the whole world.
It certainly, is the preferred embodiment of the present invention above.It should be pointed out that for those skilled in the art
For, without departing from the basic principles of the invention, several improvements and modifications can also be made, these improvements and modifications
It is considered as protection scope of the present invention.
Claims (4)
1. a kind of language switching method of application program, which is characterized in that the described method includes:
Positioning system based on mobile terminal positions current location;
Application APP language is switched to the language corresponding to current location;
After positioning system positioning current location based on mobile terminal, the method also includes:
Country belonging to the current location is determined based on the coordinate information of the current location;
Application APP language is switched to the language corresponding to current location, comprising:
The language pack for calling the mobile terminal included searches language corresponding with the country;
The APP language is switched to language corresponding with the country;
Before positioning system positioning current location based on mobile terminal, the method also includes:
Whether detection mobile terminal opens positioning system;
If do not opened, user is prompted to open the positioning system;If had turned on, prompts the user whether to open and cut automatically
Change linguistic function;
Wherein, after opening the positioning system, the positioning system by being analyzed and processed to the navigation message received,
And calculate spatial information where the mobile terminal locates, according to regulation agreement by the spatial information and satellite information into
Row tissue is supplied to the mobile terminal by serial communication according to certain baud rate;The APP gets described mobile whole
After the position coordinates at end, it can be retrieved and be traversed according to the position coordinates;The result for finally retrieving traversal is the location information of user;
Wherein, the spatial information includes longitude and latitude, height above sea level and direction.
2. the language switching method of application program according to claim 1, which is characterized in that the method also includes:
It receives after user is not turned on the message for automatically switching linguistic function, sets the APP language to that user is customized to be set
The language set.
3. a kind of language switching device of application program, which is characterized in that described device includes:
Locating module positions current location for the positioning system based on mobile terminal;
Language switching module, for application APP language to be switched to the language corresponding to current location;
Position determination module, for determining country belonging to the current location based on the coordinate information of the current location;
The language switching module includes:
Language searching unit, the language pack for calling the mobile terminal included, searches language corresponding with the country;
Language switch unit, for the APP language to be switched to language corresponding with the country;
Described device further include:
Detection module, for detecting whether mobile terminal opens positioning system;If do not opened, user is prompted to open described fixed
Position system;If had turned on, prompts the user whether to open and automatically switch linguistic function;
Wherein, after opening the positioning system, the positioning system by being analyzed and processed to the navigation message received,
And calculate spatial information where the mobile terminal locates, according to regulation agreement by the spatial information and satellite information into
Row tissue is supplied to the mobile terminal by serial communication according to certain baud rate;The APP gets described mobile whole
After the position coordinates at end, it can be retrieved and be traversed according to the position coordinates;The result for finally retrieving traversal is the location information of user;
Wherein, the spatial information includes longitude and latitude, height above sea level and direction.
4. the language switching device of application program according to claim 3, which is characterized in that described device further include:
Default setting module, for receive user be not turned on automatically switch linguistic function message after, by the APP language
It is set as the language of the customized setting of user.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510677136.0A CN105260240B (en) | 2015-10-15 | 2015-10-15 | A kind of language switching method and device of application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510677136.0A CN105260240B (en) | 2015-10-15 | 2015-10-15 | A kind of language switching method and device of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105260240A CN105260240A (en) | 2016-01-20 |
CN105260240B true CN105260240B (en) | 2019-05-07 |
Family
ID=55099943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510677136.0A Expired - Fee Related CN105260240B (en) | 2015-10-15 | 2015-10-15 | A kind of language switching method and device of application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105260240B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105955595A (en) * | 2016-04-20 | 2016-09-21 | 乐视控股(北京)有限公司 | Method and device for displaying message |
CN106020825A (en) * | 2016-05-20 | 2016-10-12 | 珠海市魅族科技有限公司 | Information display method and mobile terminal |
CN106016624A (en) * | 2016-06-27 | 2016-10-12 | 珠海格力电器股份有限公司 | Method and system for automatically switching display languages |
US9924323B2 (en) * | 2016-08-19 | 2018-03-20 | Futurewei Technologies, Inc. | Apparatus and method for facilitating return of a mobile device |
CN108696819B (en) * | 2018-05-22 | 2019-05-28 | 山东元矩信息科技股份有限公司 | Geographical location switching method |
CN110659387A (en) * | 2019-09-20 | 2020-01-07 | 上海掌门科技有限公司 | Method and apparatus for providing video |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101097138A (en) * | 2006-06-30 | 2008-01-02 | 佛山市顺德区顺达电脑厂有限公司 | Real time language switching navigation system and method thereof |
CN101754367A (en) * | 2008-12-19 | 2010-06-23 | 康佳集团股份有限公司 | Method for automatically setting system language and time zone according to GPS positioning |
CN102622270A (en) * | 2011-01-26 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Switching management method and terminal for application programs |
CN103399794A (en) * | 2013-07-30 | 2013-11-20 | 深圳市中兴移动通信有限公司 | Method and device for switching application of mobile terminal |
CN104199735A (en) * | 2014-09-26 | 2014-12-10 | 酷派软件技术(深圳)有限公司 | Switching method, switching system and terminal for operating system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101882092B (en) * | 2010-05-11 | 2013-06-05 | 中兴通讯股份有限公司 | Management method and device for application program |
-
2015
- 2015-10-15 CN CN201510677136.0A patent/CN105260240B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101097138A (en) * | 2006-06-30 | 2008-01-02 | 佛山市顺德区顺达电脑厂有限公司 | Real time language switching navigation system and method thereof |
CN101754367A (en) * | 2008-12-19 | 2010-06-23 | 康佳集团股份有限公司 | Method for automatically setting system language and time zone according to GPS positioning |
CN102622270A (en) * | 2011-01-26 | 2012-08-01 | 腾讯科技(深圳)有限公司 | Switching management method and terminal for application programs |
CN103399794A (en) * | 2013-07-30 | 2013-11-20 | 深圳市中兴移动通信有限公司 | Method and device for switching application of mobile terminal |
CN104199735A (en) * | 2014-09-26 | 2014-12-10 | 酷派软件技术(深圳)有限公司 | Switching method, switching system and terminal for operating system |
Also Published As
Publication number | Publication date |
---|---|
CN105260240A (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105260240B (en) | A kind of language switching method and device of application program | |
US20230262438A1 (en) | System and method for call management | |
US7570959B2 (en) | Apparatus, method and computer program product providing location-enhanced contact list | |
US10003918B1 (en) | Location based local emergency contact | |
KR100617784B1 (en) | Apparatus and method for searching telephone number in mobile terminal equipment | |
CN101790126B (en) | Mobile communication terminal with limitative function and realizing method thereof | |
CN104916240B (en) | Guide system based on Big Dipper positioning | |
WO2010062981A2 (en) | Centralized status server for call management of location-aware mobile devices | |
CN105872250B (en) | Method and device for automatically identifying mobile terminal owner identity | |
CN105210396A (en) | Method and apparatus for selecting information pushing terminal | |
CN105827794A (en) | Reminding mode switching method and mobile terminal | |
CN105430612A (en) | Method and system of realizing emergency positioning based on hand-held terminal | |
CN105282294B (en) | Voice dial-up method and device | |
CN105547312A (en) | Electronic navigation method and apparatus | |
CN109129484A (en) | robot control method, device and storage medium | |
US20130045676A1 (en) | Electronic system and controlling method thereof | |
CN102035949B (en) | Method and system for supplying telephone navigation service | |
CN106506777A (en) | Intelligent terminal and system communication record telephone number processing method and processing device | |
CN105554696B (en) | A kind of call processing method, mobile terminal and server | |
CN106707303A (en) | Wearable device | |
CN103167118A (en) | System and method for quickly positioning places in mobile phone calling process | |
CN107046683B (en) | Emergency call method and mobile terminal | |
CN103139763B (en) | A kind of information processing method and device | |
CN104469674B (en) | The method and apparatus of recording geographical position | |
CN111726759A (en) | Method and device for retrieving terminal and terminal |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190507 |