CN106909403A - A kind of method and apparatus being updated to APP language related informations - Google Patents
A kind of method and apparatus being updated to APP language related informations Download PDFInfo
- Publication number
- CN106909403A CN106909403A CN201510971784.7A CN201510971784A CN106909403A CN 106909403 A CN106909403 A CN 106909403A CN 201510971784 A CN201510971784 A CN 201510971784A CN 106909403 A CN106909403 A CN 106909403A
- Authority
- CN
- China
- Prior art keywords
- language
- information
- app
- category
- terminal
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application is related to computer realm, more particularly to a kind of method and apparatus being updated to APP language related informations, it is used to solve prior art when the language message to APP is updated, it is necessary to issue new APP versions again, the complex problem of the renewal process of APP language messages.The corresponding language upgrade information of the APP is obtained in the terminal from network side equipment of the embodiment of the present application, wherein the language upgrade information includes the category of language list of newest support and needs at least one of multilingual information of upgrading;Terminal is updated according to the language upgrade information to the language related information in the APP;Because the embodiment of the present application need not issue the new versions of the APP, can be achieved with updating the language related information of APP, so that the renewal process of APP language related informations is simple, quick.
Description
Technical field
The application is related to computer realm, more particularly to a kind of that APP language related informations are updated
Method and apparatus.
Background technology
With continuing to develop for computer technology, the function constantly improve of intelligent terminal, APP (Application,
Application program) as create intelligent terminal application, with its easily and efficiently characteristic gradually made extensively
With.
At present, the species of client end AP P is increasing.For a client end AP P, in client end AP P
, it is necessary to be carried out to the part verbal information of issued client end AP P perfect and newly-increased after issue
Plus some languages;Or during the use of the APP, it is found that part verbal information needs to be repaiied
Change.Prior art is new often by issue when language message renewal is carried out to issued APP
The mode of version APP.When the renewal of APP language messages is carried out by the way of issuing redaction APP, need
The relevant data of APP are remake, the redaction APP that then will be made reaches the standard grade, user is needing to give
During the more redaction of APP, in addition it is also necessary to re-download redaction APP.Therefore, prior art is to client
When the language message of APP is updated, renewal process is more complicated.
In sum, due at present when the language message to APP is updated, it is necessary to issue again new
APP versions, the renewal process of APP language messages is complex.
The content of the invention
The application provides a kind of method and apparatus being updated to APP language related informations, is used to solve
Prior art is when the language message to APP is updated, it is necessary to issue new APP versions, APP again
The complex problem of the renewal process of language message.
Based on above mentioned problem, the embodiment of the present application is provided and a kind of APP language related informations is updated
Method, including:
Terminal is obtaining the corresponding language upgrade information of the APP from network side equipment, wherein the language
In the multilingual information of category of language list and needs upgrading of the speech upgrade information including newest support at least
One;
The terminal is updated according to the language upgrade information to the language related information in the APP;
Wherein, language related information include it is following in it is part or all of:
The corresponding language code information of the page in category of language list, the APP, language code information and
The corresponding relation of the display information of multilingual.
Because the terminal of the embodiment of the present application can obtain language upgrade information, the language from network side equipment
Upgrade information include the category of language list of newest support, needs upgrading multilingual information, and according to
The language upgrade information for getting is updated to the language related information in APP, it is not necessary to issue the APP
New version, can be achieved with updating the language related information of APP, so that APP language related informations
Renewal process is simple, quick.
Optionally, the language upgrade information includes the category of language list of newest support and needs many of upgrading
Language message;
The terminal is updated according to the language upgrade information to the language related information in the APP,
Including:
The terminal is by the category of language list in the category of language list of the newest support and the APP
It is compared;
The terminal is according to comparative result it is determined that needs are carried out more to the category of language list in the APP
After new operation, the category of language list in the APP is entered with the category of language list of the newest support
Row updates operation.
Because the terminal that the terminal of the embodiment of the present application can be obtained from network side equipment can be from network side
Obtain the category of language list of newest support in equipment, and according to the category of language list of newest support to APP
In language related information be updated so that realize the APP issue after, to APP allow language
Say the renewal of Category List.
Optionally, the terminal according to the language upgrade information to the language related information in the APP
It is updated, including:
If being determined to need to increase category of language newly according to the comparative result, the terminal needs to rise according to described
The multilingual information of level, increases in the corresponding relation of the language code information and the display information of multilingual
Plus the corresponding relation of the display information of language code information and the newly-increased category of language of needs;
If being determined to need to reduce category of language according to the comparative result, the terminal is in the language codes
Language code information is deleted in the corresponding relation of the display information of information and multilingual and the language for reducing is needed
Say the corresponding relation of the display information of species.
Due to language kind of the embodiment of the present application terminal in the category of language list of newest support and APP
The comparative result of class list, when it is determined that category of language list changes, according to the need obtained from network side
The multilingual information to be upgraded, the corresponding relation to language code information and the display information of multilingual is carried out
Update, it is achieved thereby that after APP issues, the language related information to APP is updated.
Optionally, the terminal according to the language upgrade information to the language related information in the APP
After being updated, also include:
If being determined to need newly-increased category of language, and the current category of language of the terminal according to the comparative result
Identical with newly-increased category of language is needed, then the terminal switches to the category of language of the APP described
Need newly-increased category of language;
If being determined to need to reduce category of language, and the APP current language kind according to the comparative result
Class is identical with the category of language for needing to reduce, then the terminal switches to the category of language of the APP silent
Recognize category of language.
Because the embodiment of the present application is according to the category of language list of newest support, APP current category of language,
And the current category of language of terminal, when certain condition is met, the category of language to APP is switched over,
So that the display information of APP language dynamically updates.
Optionally, the language upgrade information includes needing the multilingual information of upgrading;
The terminal using part or all of in following manner, to the language related information in the APP
It is updated:
Mode one, the terminal determine the language codes letter according to the multilingual information for needing and upgrading
The display information of modification is needed in the corresponding relation of the display information of breath and multilingual, and according to the needs
The multilingual information of upgrading, the display information to the determination is modified;
The multilingual information that mode two, the terminal are upgraded according to the needs, it is determined that the language generation for newly increasing
Code information and corresponding display information, and the language code information that will newly increase and corresponding display information increase
To in the corresponding relation of the language code information and the display information of multilingual.
Because the terminal of the embodiment of the present application is according to the multilingual letter upgraded the need for being obtained from network side equipment
Breath, the corresponding relation to language code information in APP and the display information of multilingual is modified, or
Person increases the corresponding relation of the display information of part language code information and multilingual, so as to realize in APP
After issue, the language related information in APP is flexibly updated.
Optionally, the method also includes:
The terminal when a page is shown by the APP, according to the language code information and many
The corresponding relation of the display information of language is planted, the corresponding display letter of language code information of the page is determined
Breath;
If not existing institute's predicate in the corresponding relation of the display information of the language code information and multilingual
The corresponding display information of speech code information, then primary multilingual determination of the terminal in the APP
The corresponding display information of the language code information.
Because the embodiment of the present application is provided in several ways, according to the language code information of the APP pages,
The method for determining the corresponding display information of the language code information, improves the language generation for determining the APP pages
The fault-tolerant ability of the corresponding display information method of code information.
The embodiment of the present application also provides a kind of method being updated to APP language related informations, including:
Network side equipment determines the corresponding language upgrade information of the APP according to the identification information of APP;
The network side equipment sends the language upgrade information to terminal, so that the terminal is according to network side
The language upgrade information that equipment sends is updated to the language related information in the APP;
Wherein, the language related information include it is following in it is part or all of:
The corresponding language code information of the page in category of language list, the APP, language code information and
The corresponding relation of the display information of multilingual.
Because the network side equipment of the embodiment of the present application is after the request signal for receiving terminal transmission, according to end
The identification information of the APP that the request signal that end sends includes, by the corresponding language upgrade information of the APP
Terminal is sent to, so that terminal is updated according to language upgrade information to the language related information in APP,
So as to when the new versions of the APP need not be issued, can be achieved with updating the language related information of APP,
So that the renewal process of APP language related informations is simple, quick.
On the other hand, the application also provides a kind of terminal being updated to APP language related informations, bag
Include:
Acquisition module, for obtaining the corresponding language upgrade information of the APP from network side equipment, its
Described in language upgrade information including newest support category of language list and need the multilingual information of upgrading
At least one of;
Processing module, for being entered to the language related information in the APP according to the language upgrade information
Row updates;Wherein, language related information include it is following in it is part or all of:It is category of language list, described
The correspondence of the display information of the corresponding language code information of the page, language code information and multilingual in APP
Relation.
Optionally, the language upgrade information includes the category of language list of newest support and needs many of upgrading
Language message;
The processing module, specifically for:
The category of language list of the newest support is compared with the category of language list in the APP;
According to comparative result after it is determined that needing to be updated the category of language list in the APP operation, use
The category of language list of the newest support is updated operation to the category of language list in the APP.
Optionally, the processing module, specifically for:
If determining to need newly-increased category of language according to the comparative result, the multi-lingual of upgrading is needed according to described
Speech information, increases language generation in the corresponding relation of the language code information and the display information of multilingual
The corresponding relation of the display information of code information and the newly-increased category of language of needs;If true according to the comparative result
Surely need to reduce category of language, then the correspondence in the display information of the language code information and multilingual is closed
Language code information is deleted in system and need the corresponding relation of the display information of the category of language for reducing.
Optionally, the processing module, is additionally operable to:
If being determined to need newly-increased category of language, and the current category of language of the terminal according to the comparative result
It is identical with newly-increased category of language is needed, then switch to the needs newly-increased the category of language of the APP
Category of language;
If being determined to need to reduce category of language, and the APP current language kind according to the comparative result
Class is identical with the category of language for needing to reduce, then the category of language of the APP is switched into default language kind
Class.
Optionally, the language upgrade information includes needing the multilingual information of upgrading;
The processing module, specifically for:
Using part or all of in following manner, the language related information in the APP is updated:
Mode one, according to the multilingual information for needing upgrading, determine the language code information and various
The display information of modification is needed in the corresponding relation of the display information of language, and many of upgrading are needed according to described
Language message, the display information to the determination is modified;
Mode two, according to it is described need upgrading multilingual information, it is determined that the language code information for newly increasing and
Corresponding display information, and the language code information that will newly increase and corresponding display information increase to institute's predicate
In the corresponding relation of the display information of speech code information and multilingual.
Optionally, the processing module, is additionally operable to:
When a page is shown by the APP, according to the language code information and multilingual
The corresponding relation of display information, determines the corresponding display information of language code information of the page;If described
Do not exist the language code information in the corresponding relation of the display information of language code information and multilingual
Corresponding display information, the then primary multilingual determination language code information pair in the APP
The display information answered.
The embodiment of the present application also provides a kind of network side equipment being updated to APP language related informations,
Including:
Determining module, for the identification information according to APP, determines the corresponding language upgrade letters of the APP
Breath;
Sending module, for sending the language upgrade information to terminal, so that the terminal is according to network side
The language upgrade information that equipment sends is updated to the language related information in the APP;Wherein,
The language related information include it is following in it is part or all of:Page in category of language list, the APP
The corresponding relation of the display information of the corresponding language code information in face, language code information and multilingual.
Brief description of the drawings
Fig. 1 is the structural representation of the system that the embodiment of the present application is updated to APP language related informations;
Fig. 2A is the correspondence of the display information of the language code information and multilingual of the embodiment of the present application APP
The storage mode one of relation;
Fig. 2 B are the correspondence of the display information of the language code information and multilingual of the embodiment of the present application APP
The storage mode two of relation;
Fig. 3 is the data store organisation schematic diagram one of the embodiment of the present application network side equipment;
Fig. 4 is the data store organisation schematic diagram two of the embodiment of the present application network side equipment;
Fig. 5 is the structural representation of the embodiment of the present application terminal;
Fig. 6 is the structural representation of the embodiment of the present application network side equipment;
Fig. 7 is that the application implements to be updated APP language related informations the flow chart one of method;
Fig. 8 be the embodiment of the present application according to the category of language list of newest support to APP language related informations
The flow chart one of the method being updated;
Fig. 9 be the embodiment of the present application according to the category of language list of newest support to APP language related informations
The flowchart 2 of the method being updated;
Figure 10 is display information of the multilingual information upgraded as needed of the embodiment of the present application to the APP pages
The flow chart of the method being updated;
Figure 11 determines the flow chart of the method for language code information correspondence display information for the embodiment of the present application;
Figure 12 is that the application implements to be updated APP language related informations the flowchart 2 of method.
Specific embodiment
The corresponding language upgrade information of the APP is obtained in the embodiment of the present application terminal from network side equipment,
Wherein described language upgrade information includes the category of language list of newest support and needs the multilingual letter of upgrading
At least one of breath;The terminal is related to the language in the APP according to the language upgrade information
Information is updated;Wherein, language related information include it is following in it is part or all of:Category of language list,
The display information of the corresponding language code information of the page, language code information and multilingual in the APP
Corresponding relation.Because the terminal of the embodiment of the present application can obtain language upgrade letter from network side equipment
Breath, the language upgrade information includes the category of language list of newest support, the multilingual information of needs upgrading,
And the language upgrade information according to getting is updated to the language related information in APP, it is not necessary to
The new versions of the APP are issued, can be achieved with updating the language related information of APP, so that APP language
The renewal process of relevant information is simple, quick.
The embodiment of the present application is described in further detail with reference to Figure of description.
As shown in figure 1, the embodiment of the present application includes to the system that the language related information of APP is updated:
Terminal 10 and network side equipment 20.
Terminal 10, for obtaining the corresponding language upgrade information of the APP from network side equipment 20, its
Described in language upgrade information including newest support category of language list and need the multilingual information of upgrading
At least one of;The language related information in the APP is carried out more according to the language upgrade information
Newly.
Network side equipment 20, for the identification information according to APP, determines the corresponding language liters of the APP
Level information;The language upgrade information is sent to terminal, so that the terminal 10 is according to network side equipment 20
The language upgrade information for sending is updated to the language related information in the APP.
The terminal of the embodiment of the present application can obtain the APP after APP startups from network side equipment 20
Corresponding language upgrade information;The terminal of the embodiment of the present application can also be at the moment set in advance, from network
The corresponding language upgrade information of the APP is obtained in side apparatus 20.
Optionally, the embodiment of the present application language related information include it is following in it is part or all of:
The corresponding language code information of the page in category of language list, the APP, language code information and
The corresponding relation of the display information of multilingual.
The corresponding language code information of the page is that page language shows in determining APP in the embodiment of the present application APP
The program code for showing.Wherein, the corresponding language code information of the page again can be as in APP in APP
Official documents and correspondence placeholder.Such as, in APP a certain position of the page need display simplified form of Chinese Character " it is determined that ", then its
Corresponding language code information can be " key_ok ".
The corresponding relation of the display information of language code information and multilingual is in the embodiment of the present application APP:
Determine page language shows in APP program code and the program code the page display information it is corresponding
Relation.For example, in APP language code information be " key_ok " when, it is corresponding the page show it is simplified
Chinese information for " it is determined that ", corresponding english information show in the page can be " Ok ", then language codes
The corresponding relation of the display information of information and multilingual can be " key_ok=determinations ", or
" key_ok=Ok ".
The embodiment of the present application need upgrading multilingual information be, language codes when being issued compared to APP
The corresponding relation of the display information of information and multilingual, it is necessary to the part verbal code information that changes and
The corresponding relation of the display information of multilingual.The language code information that wherein changes and multilingual
The corresponding relation of display information is included but is not limited to:The display information of newly-increased language code information and language it is right
Should be related to, delete the corresponding relation and modification language code information of the display information of language code information and language
With the corresponding relation of the display information of language.
Language related information in the embodiment of the present application APP is stored in terminal inner, and with the APP mono-
One is corresponding.
Wherein, the category of language list in the embodiment of the present application language related information, is the embodiment of the present application
All category of language lists that APP is supported.For example, for Alibaba buyer for being applied to IOS systems
APP, the category of language of support has simplified form of Chinese Character, English and Spanish, then Alibaba buyer APP
Category of language list in language related information is simplified form of Chinese Character, English, Spanish.
The corresponding language code information of the page in APP in the embodiment of the present application language related information, is system
When making the APP pages, determine that the APP pages show the program code of language.For example, be directed to being applied to
Alibaba seller APP of Android (Android) system, an X button is included in its chat window,
Word is shown in the APP pages for " closing ", then " closing " corresponding language code information is
“key_close”。
The display information of language code information and multilingual in the embodiment of the present application language related information
Corresponding relation, when being that the embodiment of the present application makes the APP pages, determines the language codes that the APP pages show
With the corresponding relation of the spoken and written languages shown in the page.Wherein, identical language codes can correspond to difference
Category of language spoken and written languages.For example, " key_close " corresponding English display information is " Close ",
Corresponding Chinese display information is " closing ".
Specifically, for language code information and the corresponding relation of the display information of multilingual in APP,
In terminal stored in the form of database, can specifically be stored according to following two ways.
Mode one, language code information and display information are stored in man-to-man mode.
Category of language list of the embodiment of the present application in language related information, determines the language that APP is supported
Speech species, the corresponding relation of the display information of language code information and multilingual in APP is carried out
During storage, according to the category of language that APP is supported, in the display of storage language code information and multilingual
Stored respectively in the database of information.
Illustrated by taking Alibaba buyer APP for being applied to IOS systems as an example below.
The corresponding category of language lists of Alibaba buyer APP of IOS systems are applied to for simplified form of Chinese Character and
English, then Alibaba buyer APP language code information and multilingual display information it is right
The storage mode that should be related to as shown in Figure 2 A, simplified form of Chinese Character and English is supported according to Alibaba buyer APP
Literary bilingual, to language code information and the display information of Chinese language, and language code information and English
The display information of literary language is stored respectively, the correspondence of the display information of language code information and Chinese language
Relation as shown in region one in Fig. 2A, wherein, " zh_CN " represent simplified form of Chinese Character, language code information and
The corresponding relation of the display information of Chinese language is respectively:" key_input=please be input into ", " key_finish=is complete
Into ", " key_cancel=cancellations ";The corresponding relation of the display information of language code information and english language is such as
In Fig. 2A shown in region two, wherein, " en_US " represents English, language code information and english language
The corresponding relation of display information is respectively:" key_input=Please Input ", " key_finish=Finish ",
" key_cancel=Cancel ".
Mode two, language code information and display information are stored in one-to-many mode.
Category of language list of the embodiment of the present application in language related information, determines the language that APP is supported
Speech species, the corresponding relation of the display information of language code information and multilingual in APP is carried out
During storage, the display information of the corresponding multiple category of language of same language code information is determined, and this is same
The display information of the corresponding multiple category of language of language code information, is stored in language generation in one-to-many mode
In the database of the display information of code information and multilingual.
Illustrated by taking Alibaba buyer APP for being applied to IOS systems as an example further below.
The corresponding category of language lists of Alibaba buyer APP of IOS systems are applied to for simplified form of Chinese Character and
English, then Alibaba buyer APP language code information and multilingual display information it is right
The storage mode that should be related to as shown in Figure 2 B, simplified form of Chinese Character and English is supported according to Alibaba buyer APP
Literary bilingual, determines the display information and english language of the corresponding Chinese language of same language code information
Display information, and will determine the corresponding Chinese language of same language code information display information and English
The display information of literary language is stored together.As shown in Figure 2 B, same language code information and Chinese
Speech, the corresponding relation of the display information of english language are:" key_input=zh_CN:Please be input into;en_US:
Please Input ", " key_finish=zh_CN:Complete;en_US:Finish ", " key_cancel=zh_CN:
Cancel;en_US:Cancel”.
The language upgrade information of the embodiment of the present application network side equipment 20 is prestored, and technical staff is true
Determine the language list for allowing and the multilingual information for needing renewal, the language that will be allowed in APP in APP
After the multilingual information that list and needs update is organized into set form, in storage to network side equipment 20;
Or the language list that will be allowed in APP and the multilingual information for updating is needed by official documents and correspondence conversion platform,
In being converted into storing after unified form network side equipment 20.
The data store organisation of the embodiment of the present application network side equipment 20 is as shown in figure 3, wherein data storage knot
Each layer of structure is all a data level.Data store organisation as shown in Figure 3 includes five data levels,
Respectively:Apply Names, system type, application version, the category of language list of newest support, need rise
The multilingual information of level.Because consolidated network side apparatus 20 can correspond to one or more APP, each APP
The Apply Names level bag of a correspondingly APP title, therefore the data store organisation in network side equipment 20
Include one or more APP titles;Each APP is different according to operating system, can be divided into multiple not
The version of homologous ray type, includes many in the system type level of the data store organisation of network side equipment 20
Individual system type;For same system type, the APP includes different application versions again, in network
The application version level of the data store organisation of side apparatus 20 includes multiple versions;Each application version pair
Answer a category of language list for newest support;For the category of language list of same newest support, needing
The multilingual information level to be upgraded again including newest support category of language list in partly or entirely languages
Need the language message of upgrading.
For example, for the network side equipment of Alibaba, two APP, respectively buyer APP are included under it
An APPID (Application is corresponded to respectively with seller APP, buyer APP and seller APP
Identification, application program identification).Data store organisation in the network side equipment of Alibaba is as schemed
Shown in 4, Apply Names level includes Alibaba buyer and Alibaba seller.System type level includes
IOS, Android (Android) etc..For systems such as IOS and Android, wrapped in application version level
Include buyer 1.0.0 versions, buyer 1.3.0 versions, seller 5.3.1 versions, seller's 6.0.0 versions etc..Most
The new category of language list level supported, the category of language list of the corresponding newest support of buyer's 1.0.0 versions
It is English, Chinese and Japanese;The category of language list of the corresponding newest support of buyer's 1.3.0 versions for English,
Chinese and Spanish;The category of language list of the corresponding newest support of seller's 5.3.1 versions is English with
Text;The category of language list of the corresponding newest support of seller's 6.0.0 versions is English, Chinese and French.
Need the multilingual information level of upgrading, the category of language list of the corresponding newest support of buyer's 1.0.0 versions
The newly-increased language message " key_ok=Ok " of Chinese and English, Chinese modification language message " hello for key_ok=";Buyer
1.3.0 all languages in the category of language list of the corresponding newest support of version do not need the multi-lingual of upgrading
Speech information;The newly-increased language message of category of language list Chinese and English of the corresponding newest support of seller's 5.3.1 versions
" key_cancel=Cancel ";The category of language list Chinese and English of the corresponding newest support of seller's 6.0.0 versions
Newly-increased language message " key_cancel=Cancel ", the newly-increased language message " key_cancel=cancellations " of Chinese.
The embodiment of the present application terminal 10 is after APP startups, this APP pairs to be obtained from network side equipment 20
The language upgrade information answered, also, be that after APP starts every time, terminal 10 can all set from network side
The corresponding language upgrade information of the APP is obtained in standby 20.
Optionally, the language upgrade information of the embodiment of the present application include it is following in it is part or all of:
The category of language list of newest support, the multilingual information for needing upgrading.
Specifically, the embodiment of the present application terminal 10 obtains language according to following manner from network side equipment 20
Upgrade information.
First, the category of language list of newest support is obtained in terminal from network side equipment.
Terminal 10 sends category of language list request signal to network side equipment 20.
The category of language list request signal of the embodiment of the present application includes the identification information of APP.
The identification information of the embodiment of the present application APP includes APPID, system type and application version.
For example, being applied to Alibaba buyer APP of IOS systems in terminal, the wherein APP is corresponding
Application version is 1.0.0, and corresponding APPID is buyer (buyer);Then after APP startups, terminal
To network side equipment send category of language list request signal be:
getLangeList.doAppid=buyer&osType=IOS&versionCode=1.0.0.
Accordingly, network side equipment 20 receive terminal 10 transmission category of language list request signal after,
According to the identification information of APP in the category of language list request signal that terminal 10 sends, in network side equipment
The category of language list of the corresponding newest supports of the APP is found in data store organisation in 20, and should
The category of language list of newest support is organized into the form that terminal 10 can be recognized, this is organized into terminal 10
Can recognize that the category of language list of the newest support of form is sent to terminal 10.
For example, APP in the terminal, during for Alibaba buyer APP for being applied to android system,
And the corresponding application versions of the APP are 1.3.0, corresponding APPID is buyer (buyer);Then at this
After APP starts, terminal is to the category of language list request signal that network side equipment sends:
getLangeList.doAppid=buyer&osType=Android&versionCode=1.3.0.Set in network side
After the standby category of language list request signal for receiving terminal transmission, according to the identification information of APP:APPID
It is buyer, system type is android system, and application version is 1.3.0, and network side equipment is deposited in data
The category of language list of the corresponding newest supports of the APP is found in storage structure, such as, the APP is corresponding
The category of language list of newest support is English, simplified form of Chinese Character and Spanish, then by the language of the newest support
Speech Category List is organized into the form that terminal can be recognized, and returns to terminal.The knot that network side equipment is returned
It is really:
{
“allowLang”:[{“title”:" English ", " value ":" en-US ", " isDefault ":True }, { " title ":
" simplified form of Chinese Character ", " value ":" zh-CN " }, { " title ":" Spanish ", " value ":“es-ES”}]
}
Wherein, there is individual isDefault to identify in the category of language of English, and be marked as true, be i.e. English
It is the acquiescence languages in category of language list, can be elaborated behind specifically used method.
2nd, being obtained in terminal from network side equipment needs the multilingual information of upgrading.
Terminal 10 sends multilingual request signal to network side equipment 20.
The multilingual request signal of the embodiment of the present application includes the identification information of APP.
The identification information of the embodiment of the present application APP includes APPID, system type and application version.
For example, being applied to Alibaba buyer APP of IOS systems in terminal, the wherein APP is corresponding
Application version is 1.0.0, and corresponding APPID is buyer (buyer);Then after APP startups, terminal
To network side equipment send multilingual request signal be:
getLangeUpdate.doAppid=buyer&osType=IOS&versionCode=1.0.0.
Accordingly, network side equipment 20 receive terminal 10 transmission multilingual request signal after, according to
The identification information of APP, the number in network side equipment 20 in the multilingual request signal that terminal 10 sends
The multilingual information upgraded the need for according to APP correspondences are found in storage organization, and the needs are upgraded
Multilingual information is organized into the form that terminal 10 can be recognized, this is organized into terminal 10 can recognize form
The need for upgrade multilingual information be sent to terminal 10.
For example, APP in the terminal, during for Alibaba buyer APP for being applied to IOS systems, and
And the corresponding application versions of the APP are 1.0.0, corresponding APPID is buyer (buyer);Then at this
After APP starts, terminal is to the multilingual request signal that network side equipment sends:
getLangeUpdate.doAppid=buyer&osType=IOS&versionCode=1.0.0.Set in network side
After the standby category of language list request signal for receiving terminal transmission, according to the identification information of APP:APPID
It is buyer, system type is IOS systems, and application version is 1.3.0, and network side equipment is in data storage knot
The multilingual information upgraded the need for APP correspondences are found in structure, such as, rise the need for APP correspondences
Level multilingual information be:" key_input=please be input into ", " key_finish=completions ", " key_cancel=takes
Disappear ", " key_input=Please Input ", " key_finish=Finish ", " key_cancel=Cancel ".
The multilingual information that the needs are upgraded then is organized into the form that terminal can be recognized, and returns to terminal.Net
Network side apparatus return result be:
It should be noted that the category of language list request signal of the embodiment of the present application and multilingual request letter
Number, can be that the synchronization after APP startups of terminal 10 is sent to network side equipment 20;Can also
It is terminal 10 after APP startups, category of language list request signal and many is sent respectively at the different moment
Language request signal, and send the time sequencing of category of language list request signal and multilingual request signal
It is not construed as limiting.The embodiment of the present application is to transmission category of language list request signal and the side of multilingual request signal
Formula is not construed as limiting.
The terminal 10 of the embodiment of the present application is getting the corresponding languages of the APP from network side equipment 20
After speech upgrade information, in addition it is also necessary to according to the corresponding language upgrade information of APP, point different situation is to APP
In language related information be updated operation.
First, the category of language list according to newest support, is updated to the category of language list in APP
Operation.
Specially:The category of language list of newest support is carried out with the category of language list in the APP
Compare, operation is updated to the category of language list in APP according to comparative result.Below according to difference
Comparative result describe in detail be updated operation method.
1st, determined to need newly-increased category of language according to comparative result.
The terminal 10 of the embodiment of the present application when determining to need newly-increased category of language according to comparative result, with from
The category of language list of the newest support obtained in network side equipment 20, replaces the category of language row in APP
Table.
Such as, the operating system of terminal is the application version of Alibaba APP in IOS, and terminal to buy
Category of language list in the APP of the buyer's 1.0.0 versions in family 1.0.0, and terminal is simplified form of Chinese Character
And English.After the APP starts, the language of the corresponding newest supports of the APP is got from network side equipment
Speech Category List is simplified form of Chinese Character, English and Japanese.The then category of language of the newest support that terminal will get
List is compared with the language list in APP, it is determined that newly increasing category of language Japanese, then terminal is with most
The language list in APP, that is, the language kind in APP after updating are replaced in the new category of language list supported
Class list is simplified form of Chinese Character, English and Japanese.
Also, the terminal of the embodiment of the present application is it is determined that need newly-increased category of language, and with the language of newest support
Speech Category List, after replacing the category of language list in APP, in addition it is also necessary to judge the currently used language of terminal
Whether speech species is identical with the category of language for needing to increase newly, if identical, what terminal automatically used APP
Category of language switch to and need newly-increased category of language;If it is different, the language kind not used APP then
Class is updated.
For example, the application version that the operating system of terminal is Alibaba APP in IOS, and terminal is to buy
Category of language list in the APP of the buyer's 1.0.0 versions in family 1.0.0, and terminal is simplified form of Chinese Character
And English.After the APP starts, the language of the corresponding newest supports of the APP is got from network side equipment
Speech Category List is simplified form of Chinese Character, English and Japanese.The then category of language of the newest support that terminal will get
List is compared with the language list in APP, it is determined that newly increasing category of language Japanese, then terminal is with most
The category of language list in APP is replaced in the new category of language list supported.By the category of language in APP
After list update, however, it is determined that the currently used category of language of terminal is Japanese, then terminal uses APP
Category of language switches to Japanese.
2nd, determined to need to reduce category of language according to comparative result.
The terminal 10 of the embodiment of the present application according to comparative result determine need reduce category of language when, with from
The category of language list of the newest support obtained in network side equipment 20, replaces the category of language row in APP
Table.
Such as, the operating system of terminal is the application version of Alibaba APP in Android, and terminal
It is buyer 1.3.0, and category of language list in the APP of buyer's 1.3.0 versions in terminal is simplified
Chinese, English and Japanese.After the APP starts, the APP is got from network side equipment corresponding most
The new category of language list supported is simplified form of Chinese Character and English.The then language of the newest support that terminal will get
Category List is compared with the language list in APP, it is determined that newly reducing category of language Japanese, then terminal
The language list in APP is replaced with the category of language list of newest support, that is, the language in APP after updating
Speech Category List is simplified form of Chinese Character and English.
Also, the terminal of the embodiment of the present application is it is determined that need to reduce category of language, and with the language of newest support
Speech Category List, after replacing the category of language list in APP, in addition it is also necessary to judge the currently used languages of APP
Whether speech species is the category of language for needing to reduce, if so, then terminal is automatic currently used by APP
Category of language switches to the category of language of acquiescence;If it is not, the category of language not used APP then is carried out
Update.
For example, the operating system of terminal is the application version of Alibaba APP in Android, and terminal
It is buyer 1.3.0, and category of language list in the APP of buyer's 1.3.0 versions in terminal is simplified
Chinese, English and Japanese.After the APP starts, the APP is got from network side equipment corresponding most
The new category of language list supported is simplified form of Chinese Character and English.The then language of the newest support that terminal will get
Category List is compared with the language list in APP, it is determined that newly reducing category of language Japanese, then terminal
The language list in APP is replaced with the category of language list of newest support, and is returned according to network side equipment
The category of language list of the newest support returned, it is determined that category of language of the English for APP acquiescences.By in APP
Category of language list update after, however, it is determined that APP currently used category of language be Japanese, then terminal will
The category of language that APP is used switches to default language species English.
3rd, determined both to need to increase category of language according to comparative result, need to reduce category of language again.
The terminal 10 of the embodiment of the present application is determining both to need to increase category of language according to comparative result, needs again
When reducing category of language, with from network side equipment 20 obtain newest support category of language list,
Replace the category of language list in APP.
Such as, the operating system of terminal is the application version of Alibaba APP in Android, and terminal
It is buyer 1.3.0, and category of language list in the APP of buyer's 1.3.0 versions in terminal is simplified
Chinese, English and Japanese.After the APP starts, the APP is got from network side equipment corresponding most
The new category of language list supported is simplified form of Chinese Character, English and Spanish.Then terminal is newest by what is got
The category of language list of support is compared with the language list in APP, it is determined that category of language Japanese is reduced,
Increase category of language Spanish newly, then terminal replaces the language in APP with the category of language list of newest support
Speech list, that is, the category of language list in APP after updating is simplified form of Chinese Character, English and Spanish.
Also, the terminal of the embodiment of the present application is it is determined that need to reduce category of language, and with the language of newest support
Speech Category List, after replacing the category of language list in APP, also needs to determine the language that APP is currently used
Species, and the currently used category of language of terminal.If the currently used category of language of terminal is newly-increased language
Species is sayed, then the category of language that APP is used is switched to newly-increased category of language by terminal automatically;If terminal
Currently used category of language is not newly-increased category of language, and APP currently used category of language is
The category of language of reduction, the then automatic category of language that the category of language that APP is used switches to acquiescence of terminal;
If the currently used category of language of terminal is not newly-increased category of language, and APP currently used language
Species is not nor the category of language for reducing, then be updated to the category of language that APP is used.
For example, the application version that the operating system of terminal is Alibaba APP in IOS, and terminal is to sell
Family 5.3.1, and terminal in seller's 5.3.1 versions APP in category of language list for simplified form of Chinese Character,
English and Japanese.After the APP starts, the corresponding newest supports of the APP are got from network side equipment
Category of language list for simplified form of Chinese Character, English and Spanish.The newest support that then terminal will get
Category of language list is compared with the language list in APP, it is determined that reducing category of language Japanese, increases newly
The language column in APP is replaced in category of language Spanish, the then terminal category of language list of newest support
Table.Now, however, it is determined that the currently used category of language of terminal is Spanish, then terminal is automatically by the APP
The category of language for using switches to Spanish;If it is determined that the currently used category of language of terminal is not Spain
Text, but the APP currently used category of language is Japanese, the then language that terminal automatically uses the APP
Speech species switches to the category of language English of acquiescence.
2nd, according to newest support category of language list and the multilingual information of needs upgrading, in APP
Language code information and the corresponding relation of display information of multilingual be updated operation.
Specifically, language kind of the embodiment of the present application in the category of language list of newest support and APP
The comparative result of class list, however, it is determined that need to be updated the category of language list in APP, then basis
The multilingual information of upgrading is needed, to the language code information in APP and the display information of multilingual
Corresponding relation is updated operation.If it is determined that the category of language list in APP need not be updated,
The multilingual information then upgraded as needed, the display to language code information and multilingual in APP
The corresponding relation of information is updated operation.Introduced respectively to the language in APP below according to different situations
The method that the corresponding relation of the display information of speech code information and multilingual is updated operation.
1st, the comparative result of the category of language list in the category of language list and APP according to newest support,
It is determined that need newly-increased category of language, to the language code information in APP and the display information of multilingual
Corresponding relation is updated operation.
If being determined to need to increase category of language newly according to the comparative result, the terminal needs to rise according to described
The multilingual information of level, increases in the corresponding relation of the language code information and the display information of multilingual
Plus the corresponding relation of the display information of language code information and the newly-increased category of language of needs.
Category of language list of the embodiment of the present application in the category of language list of newest support and APP
Comparative result, it is determined that, it is necessary to the multilingual information of upgrading includes that the needs are new when needing newly-increased category of language
Increase the corresponding language code information of category of language and need the correspondence pass of the display information of newly-increased category of language
System, now, needs this newly-increased corresponding language code information of category of language and needs newly-increased category of language
Display information corresponding relation, increase to language code information and multilingual display information correspondence pass
In system.
For example, the application version that the operating system of terminal is Alibaba APP in IOS, and terminal is to buy
Category of language list in the APP of the buyer's 1.0.0 versions in family 1.0.0, and terminal is simplified form of Chinese Character
And English.After the APP starts, the language of the corresponding newest supports of the APP is got from network side equipment
Speech Category List is simplified form of Chinese Character, English and Japanese.The then category of language of the newest support that terminal will get
List is compared with the language list in APP, it is determined that newly increasing category of language Japanese;To then need to rise
The corresponding language code information of Japanese and the correspondence of the display information of Japanese that the multilingual information of level includes
Relation, in the corresponding relation of the display information for increasing to language code information and multilingual.
2nd, the comparative result of the category of language list in the category of language list and APP according to newest support,
It is determined that need newly-increased category of language, to the language code information in APP and the display information of multilingual
Corresponding relation is updated operation.
If being determined to need to reduce category of language according to the comparative result, the terminal is in the language codes
Language code information is deleted in the corresponding relation of the display information of information and multilingual and the language for reducing is needed
Say the corresponding relation of the display information of species.
Category of language list of the embodiment of the present application in the category of language list of newest support and APP
Comparative result, it is determined that when needing to reduce category of language, then from the language generation in the language related information of APP
In the corresponding relation of the display information of code information and multilingual, the category of language correspondence of needs reduction is deleted
Language code information and need reduce category of language display information corresponding relation.
For example, the application version that the operating system of terminal is Alibaba APP in IOS, and terminal is to buy
Family 1.0.0, and terminal in buyer's 1.0.0 versions APP in category of language list for simplified form of Chinese Character,
English and Japanese.After the APP starts, the corresponding newest supports of the APP are got from network side equipment
Category of language list be simplified form of Chinese Character and English.Then the category of language of the newest support that terminal will get is arranged
Table is compared with the language list in APP, it is determined that reducing category of language Japanese;Then by the language in APP
In the corresponding relation of the display information of speech code information and multilingual, the corresponding language codes of Japanese and Japanese
Display information corresponding relation delete.
3rd, the multilingual information upgraded as needed, to the language code information in APP and multilingual
The corresponding relation of display information is updated operation.
The terminal of the embodiment of the present application is in the category of language list according to newest support and the category of language of APP
The comparative result of list, the correspondence to the language code information in APP and the display information of multilingual is closed
After system is updated operation, in addition it is also necessary to the multilingual information upgraded as needed, many of needs upgrading are judged
Language message whether the corresponding relation of the display information of language code information in APP and multilingual
In;And also need to judge same language codes, the corresponding display information in the multilingual information for needing upgrading,
Whether display information corresponding with the language codes in APP is identical.
Specifically, by comparing the language code information and many in multilingual information and APP that needs are upgraded
Plant the corresponding relation of the display information of language.According to comparative result, deposited in the multilingual information if desired upgraded
In part or all of language code information and the corresponding relation of the display information of multilingual, not in APP
Language code information and multilingual display information corresponding relation in.Then to the language generation in APP
The corresponding relation of the display information of code information and multilingual is updated operation.
A, according to comparative result, it is determined that needing the display of the language code information and multilingual in APP
The corresponding relation of information newly increases part verbal code information and corresponding display information.
The multilingual information that terminal is upgraded according to the needs, it is determined that the language code information and correspondence that newly increase
Display information, and the language code information that will newly increase and corresponding display information increase to the language generation
In the corresponding relation of the display information of code information and multilingual.
For example, the application version that the operating system of terminal is APP in IOS, and terminal is buyer 1.0.0,
And the category of language list in the APP of the buyer's 1.0.0 versions in terminal be simplified form of Chinese Character, English and
Japanese.After the APP starts, the language of the corresponding newest supports of the APP is got from network side equipment
Category List is simplified form of Chinese Character, English and Japanese.And it is corresponding that the APP is got in network side equipment
Needing the multilingual information of upgrading includes:“key_input:Please be input into ", " key_finish:Complete ",
“key_input:Please Input " and " key_finish:Finish”;And the language generation in the APP
It is no to include language codes " key_input " in the corresponding relation of the display information of code information and multilingual
" key_finish ", it is determined that need the display information of the language code information and multilingual in APP
Corresponding relation in newly increase language code information and corresponding display information, then will need upgrading it is multilingual
" key_input in information:Please be input into ", " key_finish:Completion ", " key_input:Please Input”
" key_finish:Finish " corresponding relations increase to language code information in APP and multilingual
In the corresponding relation of display information.
B, according to comparative result, it is determined that needing the display of the language code information and multilingual in APP
Corresponding relation modification part verbal code information and the corresponding display information of information.
Terminal determines the language code information and multilingual according to the multilingual information for needing and upgrading
Display information corresponding relation in need modification display information, and according to it is described need upgrading it is multilingual
Information, the display information to the determination is modified.
For example, the application version that the operating system of terminal is Alibaba APP in IOS, and terminal is to buy
Family 1.0.0, and terminal in buyer's 1.0.0 versions APP in category of language list for simplified form of Chinese Character,
English and Japanese.After the APP starts, the corresponding newest supports of the APP are got from network side equipment
Category of language list for simplified form of Chinese Character, English and Japanese.And the APP is got in network side equipment
The multilingual information upgraded the need for correspondence includes:“key_ok:Confirmation ", " key_finish:Complete ",
“key_ok:Ok " and " key_finish:Finish”;And the language code information in the APP and many
In the corresponding relation of the display information for planting language, including " key_finish:Complete " and " key_finish:
Finish ", and including language codes " key_ok ", but language code information in APP and many
The corresponding relation of the display information of language is planted, it is determined that " key_ok " corresponding Chinese display information is " hello ".
Now, confirm the multilingual information upgraded as needed to the language code information and multilingual in APP
The corresponding relation of display information modify, by the aobvious of the language code information in APP and multilingual
The corresponding Chinese display information of language codes " key_ok " is revised as " confirmation " in showing the corresponding relation of information.
The embodiment of the present application when the page of APP is shown, according to the corresponding language of the page in APP
Code information, from language code information and the corresponding relation of the display information of multilingual in APP,
Determine the display information of the corresponding language of language codes that the needs show, the display information of the language is shown
In the page.
Network side in the embodiment of the present application can be realized by a server, it is also possible to by multiple server groups
Into system realize, as long as the method in being that by the embodiment of the present application, limit specifically
The type or structure of network side.
Terminal in the embodiment of the present application includes but is not limited to smart mobile phone, computer, intelligent television.
As shown in figure 5, the terminal of the embodiment of the present application includes:Acquisition module 501 and processing module 502.
Acquisition module 501, for obtaining the corresponding language upgrade information of the APP from network side equipment,
Wherein described language upgrade information includes the category of language list of newest support and needs the multilingual letter of upgrading
At least one of breath;
Processing module 502, for according to the language upgrade information to the language related information in the APP
It is updated;Wherein, language related information include it is following in it is part or all of:Category of language list, institute
State the display information of the corresponding language code information of the page, language code information and multilingual in APP
Corresponding relation.
Optionally, the language upgrade information includes the category of language list of newest support and needs many of upgrading
Language message;
The processing module 502, specifically for by the category of language list of the newest support and the APP
In category of language list be compared;According to comparative result it is determined that needing to the language in the APP
After Category List is updated operation, with the category of language list of the newest support in the APP
Category of language list is updated operation.
Optionally, the processing module 502, if specifically for being determined to need to increase newly according to the comparative result
Category of language, then according to the multilingual information for needing and upgrading, in the language code information and various languages
Increase language code information in the corresponding relation of the display information of speech and need the display of newly-increased category of language
The corresponding relation of information;If being determined to need to reduce category of language according to the comparative result, in the language
Language code information is deleted in the corresponding relation of the display information of code information and multilingual and needs to reduce
Category of language display information corresponding relation.
Optionally, the processing module 502, if being additionally operable to be determined to need newly-increased language according to the comparative result
Speech species, and the current category of language of the terminal is identical with newly-increased category of language is needed, then will be described
The category of language of APP switches to the category of language for needing and increasing newly;If determining need according to the comparative result
Reduce category of language, and the APP current category of language is identical with the category of language for needing to reduce,
The category of language of the APP is then switched into default language species.
Optionally, the language upgrade information includes needing the multilingual information of upgrading;
The processing module 502, specifically for using part or all of in following manner, to the APP
In language related information be updated:
Mode one, according to the multilingual information for needing upgrading, determine the language code information and various
The display information of modification is needed in the corresponding relation of the display information of language, and many of upgrading are needed according to described
Language message, the display information to the determination is modified;
Mode two, according to it is described need upgrading multilingual information, it is determined that the language code information for newly increasing and
Corresponding display information, and the language code information that will newly increase and corresponding display information increase to institute's predicate
In the corresponding relation of the display information of speech code information and multilingual.
Optionally, the processing module 502, is additionally operable to when a page is shown by the APP, root
According to the language code information and the corresponding relation of the display information of multilingual, the language of the page is determined
The corresponding display information of code information;If the correspondence of the display information of the language code information and multilingual
Do not exist the corresponding display information of the language code information in relation, then it is primary in the APP
It is multilingual to determine the corresponding display information of the language code information.
As shown in fig. 6, the network side equipment of the embodiment of the present application includes:Determining module 601 and sending module
602。
Determining module 601, for the identification information according to APP, determines the corresponding language liters of the APP
Level information;
Sending module 602, for sending the language upgrade information to terminal, so that the terminal is according to net
The language upgrade information that network side apparatus send is updated to the language related information in the APP;
Wherein, the language related information include it is following in it is part or all of:Category of language list, the APP
The correspondence pass of the display information of the corresponding language code information of the middle page, language code information and multilingual
System.
Based on same inventive concept, a kind of related letter of language to APP is additionally provided in the embodiment of the present application
The method that breath is updated, because the corresponding equipment of the method is language phase of the embodiment of the present application to APP
Terminal in the system that pass information is updated, and the principle of the method solve problem is similar to the equipment,
Therefore the implementation of the method may refer to the implementation of equipment, repeats part and repeats no more.
As shown in fig. 7, a kind of language related information to APP that the embodiment of the present application is provided is updated
Method, including:
The corresponding language upgrade information of the APP is obtained in step 701, terminal from network side equipment, wherein
The language upgrade information is included in the multilingual information of the category of language list of newest support and needs upgrading
At least one;
Step 702, the terminal are according to the language upgrade information to the language related information in the APP
It is updated;Wherein, language related information include it is following in it is part or all of:Category of language list, institute
State the display information of the corresponding language code information of the page, language code information and multilingual in APP
Corresponding relation.
Optionally, the language upgrade information includes the category of language list of newest support and needs many of upgrading
Language message;
The terminal is updated according to the language upgrade information to the language related information in the APP,
Including:
The terminal is by the category of language list in the category of language list of the newest support and the APP
It is compared;
The terminal is according to comparative result it is determined that needs are carried out more to the category of language list in the APP
After new operation, the category of language list in the APP is entered with the category of language list of the newest support
Row updates operation.
Optionally, the terminal according to the language upgrade information to the language related information in the APP
After being updated, also include:
If being determined to need newly-increased category of language, and the current category of language of the terminal according to the comparative result
Identical with newly-increased category of language is needed, then the terminal switches to the category of language of the APP described
Need newly-increased category of language;
If being determined to need to reduce category of language, and the APP current language kind according to the comparative result
Class is identical with the category of language for needing to reduce, then the terminal switches to the category of language of the APP silent
Recognize category of language.
Specifically, the category of language of newest support of the terminal of the embodiment of the present application in language upgrade information
List, is updated according to following two ways to APP language related informations.
Mode one,
As shown in figure 8, category of language list of the embodiment of the present application terminal according to newest support, to APP
Language related information is updated.
Step 801, terminal obtain the category of language list of the corresponding newest supports of APP;
Step 802, the terminal check the currently used category of language of APP;
Whether step 803, the terminal judges APP currently used category of language is included in newest support
In category of language list, if so, step 805 is performed, if it is not, performing step 804;
The currently used language of APP is switched to default language species by step 804, the terminal;
Step 805, the renewal for terminating APP language related informations.
Mode two,
As shown in figure 9, category of language list of the embodiment of the present application terminal according to newest support, to APP
Language related information is updated.
Step 901, terminal obtain the category of language list of the corresponding newest supports of APP;
Step 902, the terminal are worked as according to the category of language list of the corresponding newest supports of APP and APP
Preceding corresponding category of language list, judges whether the category of language for newly increasing, if so, step 903 is performed,
If it is not, performing step 906;
Step 903, the terminal check the category of language that terminal is used;
Step 904, the terminal judges terminal make whether currently used category of language is the language for newly increasing
Species, if so, 905 are performed, if it is not, performing step 906;
The currently used language of APP is switched to the category of language for newly increasing for step 905, the terminal;
Step 906, the renewal for terminating APP language related informations.
Optionally, the terminal according to the language upgrade information to the language related information in the APP
It is updated, including:
If being determined to need to increase category of language newly according to the comparative result, the terminal needs to rise according to described
The multilingual information of level, increases in the corresponding relation of the language code information and the display information of multilingual
Plus the corresponding relation of the display information of language code information and the newly-increased category of language of needs;
If being determined to need to reduce category of language according to the comparative result, the terminal is in the language codes
Language code information is deleted in the corresponding relation of the display information of information and multilingual and the language for reducing is needed
Say the corresponding relation of the display information of species.
Optionally, the language upgrade information includes needing the multilingual information of upgrading;
The terminal using part or all of in following manner, to the language related information in the APP
It is updated:
Mode one, the terminal determine the language codes letter according to the multilingual information for needing and upgrading
The display information of modification is needed in the corresponding relation of the display information of breath and multilingual, and according to the needs
The multilingual information of upgrading, the display information to the determination is modified;
The multilingual information that mode two, the terminal are upgraded according to the needs, it is determined that the language generation for newly increasing
Code information and corresponding display information, and the language code information that will newly increase and corresponding display information increase
To in the corresponding relation of the language code information and the display information of multilingual.
Specifically, language code information and multilingual of the terminal of the embodiment of the present application in APP
After the corresponding relation of display information is modified, according to the aobvious of amended language code information and multilingual
Show the corresponding relation of information, the display information to the APP pages is updated.Explanation below in conjunction with the accompanying drawings has
The update method of body.
As shown in Figure 10, the multilingual information that the embodiment of the present application terminal is upgraded as needed, to APP pages
The display information in face is updated.
The multilingual information that step 1001, terminal are upgraded the need for obtaining APP correspondences;
The multilingual information that step 1002, the terminal are upgraded as needed, to the language codes in APP
The corresponding relation of the display information of information and multilingual is updated;
Step 1003, the terminal judges are with the presence or absence of the corresponding language code information correspondence of the page in APP
The display information of language change, if so, perform step 1004, if it is not, performing step 1005;
The language code information and multilingual of step 1004, the terminal in the APP after renewal
Display information, the display information to the APP pages is updated;
The renewal of step 1005, end to APP page display informations.
Optionally, the terminal is by the APP when a page is shown, according to the language codes
The corresponding relation of the display information of information and multilingual, determines that the language code information of the page is corresponding
Display information;
If not existing institute's predicate in the corresponding relation of the display information of the language code information and multilingual
The corresponding display information of speech code information, then primary multilingual determination of the terminal in the APP
The corresponding display information of the language code information.
Specifically, as shown in figure 11, the embodiment of the present application provides a kind of language code information according to the page,
The method for determining the corresponding display information of the language code information.
Step 1101, terminal determine the language code information of the page for needing display;
The corresponding relation of the display information of step 1102, the terminal judges language code information and multilingual
In whether there is the corresponding display information of the language code information, if so, perform step 1103, if it is not,
Perform step 1104;
Step 1103, the terminal are according to the language code information and the correspondence of the display information of multilingual
Relation, determines the corresponding display information of language code information of the page;
With the presence or absence of language codes letter in primary multilingual in step 1104, the terminal judges APP
Corresponding display information is ceased, if so, step 1105 is performed, if it is not, performing step 1106;
Step 1105, the terminal are primary multilingual in the APP, determine the language of the page
The corresponding display information of speech code information;
Step 1106, the terminal obtain the corresponding display information failure of the language code information, report net
Network side apparatus.
As shown in figure 12, the embodiment of the present application also provides a kind of language related information to APP and is updated
Method, including:
Step 1201, network side equipment determine the corresponding language of the APP according to the identification information of APP
Upgrade information;
Step 1202, network side equipment send the language upgrade information to terminal so that the terminal according to
The language upgrade information that network side equipment sends is updated to the language related information in the APP;
Wherein, the language related information include it is following in it is part or all of:Category of language list, the APP
The correspondence pass of the display information of the corresponding language code information of the middle page, language code information and multilingual
System.
Produced above by reference to the method, device (system) and/or computer program shown according to the embodiment of the present application
The block diagram and/or flow chart of product describe the application.It should be understood that frame can be realized by computer program instructions
The combination of the block of one block and block diagram and/or flowchart illustration of figure and/or flowchart illustration.Can be by this
A little computer program instructions are supplied to all-purpose computer, the processor of special-purpose computer and/or other programmable numbers
According to processing unit, to produce machine so that via computer processor and/or other programmable datas treatment dress
The instruction for putting execution creates method for realizing specified function/action in block diagram and/or flow chart block.
Correspondingly, can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.)
The application.Further, the application can take computer can be used or computer-readable recording medium on
Computer program product form, there is the computer realized in media as well can be used or computer-readable for it
Program code, with used by instruction execution system or combined command execution system and use.In the application
Hereinafter, computer can be used or computer-readable medium can be arbitrary medium, it can include, store,
Communication, transmission or transmission program, use with by instruction execution system, device or equipment, or combined command
Execution system, device or equipment are used.
Obviously, those skilled in the art can carry out various changes and modification without deviating from this Shen to the application
Spirit and scope please.So, if the application these modification and modification belong to the application claim and
Within the scope of its equivalent technologies, then the application is also intended to comprising these changes and modification.
Claims (14)
1. a kind of method being updated to application APP language related information, it is characterised in that should
Method includes:
The corresponding language upgrade information of the APP is obtained in terminal from network side equipment, wherein the language
In the multilingual information of category of language list and needs upgrading of the upgrade information including newest support at least one
Person;
The terminal is updated according to the language upgrade information to the language related information in the APP;
Wherein, language related information include it is following in it is part or all of:
The corresponding language code information of the page in category of language list, the APP, language code information and
The corresponding relation of the display information of multilingual.
2. the method for claim 1, it is characterised in that the language upgrade information includes newest
The category of language list of support and the multilingual information of needs upgrading;
The terminal is updated according to the language upgrade information to the language related information in the APP,
Including:
The terminal is by the category of language list in the category of language list of the newest support and the APP
It is compared;
The terminal is according to comparative result it is determined that needs are carried out more to the category of language list in the APP
After new operation, the category of language list in the APP is entered with the category of language list of the newest support
Row updates operation.
3. method as claimed in claim 2, it is characterised in that the terminal is according to the language upgrade
Information is updated to the language related information in the APP, including:
If being determined to need to increase category of language newly according to the comparative result, the terminal needs to rise according to described
The multilingual information of level, increases in the corresponding relation of the language code information and the display information of multilingual
Plus the corresponding relation of the display information of language code information and the newly-increased category of language of needs;
If being determined to need to reduce category of language according to the comparative result, the terminal is in the language codes
Language code information is deleted in the corresponding relation of the display information of information and multilingual and the language for reducing is needed
Say the corresponding relation of the display information of species.
4. method as claimed in claim 3, it is characterised in that the terminal is according to the language upgrade
After information is updated to the language related information in the APP, also include:
If being determined to need newly-increased category of language, and the current category of language of the terminal according to the comparative result
Identical with newly-increased category of language is needed, then the terminal switches to the category of language of the APP described
Need newly-increased category of language;
If being determined to need to reduce category of language, and the APP current language kind according to the comparative result
Class is identical with the category of language for needing to reduce, then the terminal switches to the category of language of the APP silent
Recognize category of language.
5. the method for claim 1, it is characterised in that the language upgrade information includes needing
The multilingual information of upgrading;
The terminal using part or all of in following manner, to the language related information in the APP
It is updated:
Mode one, the terminal determine the language codes letter according to the multilingual information for needing and upgrading
The display information of modification is needed in the corresponding relation of the display information of breath and multilingual, and according to the needs
The multilingual information of upgrading, the display information to the determination is modified;
The multilingual information that mode two, the terminal are upgraded according to the needs, it is determined that the language generation for newly increasing
Code information and corresponding display information, and the language code information that will newly increase and corresponding display information increase
To in the corresponding relation of the language code information and the display information of multilingual.
6. the method as described in Claims 1 to 5 is any, it is characterised in that the method also includes:
The terminal when a page is shown by the APP, according to the language code information and many
The corresponding relation of the display information of language is planted, the corresponding display letter of language code information of the page is determined
Breath;
If not existing institute's predicate in the corresponding relation of the display information of the language code information and multilingual
The corresponding display information of speech code information, then primary multilingual determination of the terminal in the APP
The corresponding display information of the language code information.
7. a kind of method being updated to APP language related informations, it is characterised in that including:
Network side equipment determines the corresponding language upgrade information of the APP according to the identification information of APP;
The network side equipment sends the language upgrade information to terminal, so that the terminal is according to network side
The language upgrade information that equipment sends is updated to the language related information in the APP;
Wherein, the language related information include it is following in it is part or all of:
The corresponding language code information of the page in category of language list, the APP, language code information and
The corresponding relation of the display information of multilingual.
8. a kind of terminal being updated to APP language related informations, it is characterised in that including:
Acquisition module, for obtaining the corresponding language upgrade information of the APP from network side equipment, its
Described in language upgrade information including newest support category of language list and need the multilingual information of upgrading
At least one of;
Processing module, for being entered to the language related information in the APP according to the language upgrade information
Row updates;Wherein, language related information include it is following in it is part or all of:It is category of language list, described
The correspondence of the display information of the corresponding language code information of the page, language code information and multilingual in APP
Relation.
9. terminal as claimed in claim 8, it is characterised in that the language upgrade information includes newest
The category of language list of support and the multilingual information of needs upgrading;
The processing module, specifically for:
The category of language list of the newest support is compared with the category of language list in the APP;
According to comparative result after it is determined that needing to be updated the category of language list in the APP operation, use
The category of language list of the newest support is updated operation to the category of language list in the APP.
10. terminal as claimed in claim 9, it is characterised in that the processing module, specifically for:
If determining to need newly-increased category of language according to the comparative result, the multi-lingual of upgrading is needed according to described
Speech information, increases language generation in the corresponding relation of the language code information and the display information of multilingual
The corresponding relation of the display information of code information and the newly-increased category of language of needs;If true according to the comparative result
Surely need to reduce category of language, then the correspondence in the display information of the language code information and multilingual is closed
Language code information is deleted in system and need the corresponding relation of the display information of the category of language for reducing.
11. terminals as claimed in claim 10, it is characterised in that the processing module, are additionally operable to:
If being determined to need newly-increased category of language, and the current category of language of the terminal according to the comparative result
It is identical with newly-increased category of language is needed, then switch to the needs newly-increased the category of language of the APP
Category of language;
If being determined to need to reduce category of language, and the APP current language kind according to the comparative result
Class is identical with the category of language for needing to reduce, then the category of language of the APP is switched into default language kind
Class.
12. terminals as claimed in claim 8, it is characterised in that the language upgrade information includes needing
The multilingual information of upgrading;
The processing module, specifically for:
Using part or all of in following manner, the language related information in the APP is updated:
Mode one, according to the multilingual information for needing upgrading, determine the language code information and various
The display information of modification is needed in the corresponding relation of the display information of language, and many of upgrading are needed according to described
Language message, the display information to the determination is modified;
Mode two, according to it is described need upgrading multilingual information, it is determined that the language code information for newly increasing and
Corresponding display information, and the language code information that will newly increase and corresponding display information increase to institute's predicate
In the corresponding relation of the display information of speech code information and multilingual.
13. terminal as described in claim 8~12 is any, it is characterised in that the processing module, also
For:
When a page is shown by the APP, according to the language code information and multilingual
The corresponding relation of display information, determines the corresponding display information of language code information of the page;If described
Do not exist the language code information in the corresponding relation of the display information of language code information and multilingual
Corresponding display information, the then primary multilingual determination language code information pair in the APP
The display information answered.
A kind of 14. network side equipments being updated to APP language related informations, it is characterised in that bag
Include:
Determining module, for the identification information according to APP, determines the corresponding language upgrade letters of the APP
Breath;
Sending module, for sending the language upgrade information to terminal, so that the terminal is according to network side
The language upgrade information that equipment sends is updated to the language related information in the APP;Wherein,
The language related information include it is following in it is part or all of:Page in category of language list, the APP
The corresponding relation of the display information of the corresponding language code information in face, language code information and multilingual.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971784.7A CN106909403A (en) | 2015-12-22 | 2015-12-22 | A kind of method and apparatus being updated to APP language related informations |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510971784.7A CN106909403A (en) | 2015-12-22 | 2015-12-22 | A kind of method and apparatus being updated to APP language related informations |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106909403A true CN106909403A (en) | 2017-06-30 |
Family
ID=59200747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510971784.7A Pending CN106909403A (en) | 2015-12-22 | 2015-12-22 | A kind of method and apparatus being updated to APP language related informations |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106909403A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109508211A (en) * | 2017-09-13 | 2019-03-22 | 阿里巴巴集团控股有限公司 | A kind of multilingual configuration method, device, system and electronic equipment |
CN109947525A (en) * | 2019-03-28 | 2019-06-28 | 北京金山安全软件有限公司 | Configuration method and device for multi-language application names and electronic equipment |
CN109960528A (en) * | 2019-03-28 | 2019-07-02 | 北京金山安全软件有限公司 | Configuration method and device for multi-language application names and electronic equipment |
CN111240781A (en) * | 2020-01-07 | 2020-06-05 | 杭州涂鸦信息技术有限公司 | Client multi-language dynamic configuration method and system |
CN111610863A (en) * | 2020-05-12 | 2020-09-01 | Oppo广东移动通信有限公司 | Information input method, device, terminal equipment and storage medium |
CN114418533A (en) * | 2022-01-13 | 2022-04-29 | 北京声智科技有限公司 | Questionnaire processing method, apparatus, device, storage medium and computer program product |
CN115794185A (en) * | 2021-09-10 | 2023-03-14 | 中兴通讯股份有限公司 | Data increment upgrading method, power supply equipment system, network manager and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020198971A1 (en) * | 2001-06-22 | 2002-12-26 | Wonderware Corporation | Internationalization of objects executable in a supervisory process control and manufacturing information system |
CN102289376A (en) * | 2011-09-16 | 2011-12-21 | 烽火通信科技股份有限公司 | Embedded multi-language WEB page realization method and system |
CN102981851A (en) * | 2012-11-15 | 2013-03-20 | 深圳市共进电子股份有限公司 | Rapid development and maintenance system and method for embedded type network device interface language |
CN104020991A (en) * | 2014-05-16 | 2014-09-03 | 可牛网络技术(北京)有限公司 | Method and device for multi-language switching of application program |
CN104077289A (en) * | 2013-03-26 | 2014-10-01 | 上海斐讯数据通信技术有限公司 | Method for realizing Web multi-language switching |
-
2015
- 2015-12-22 CN CN201510971784.7A patent/CN106909403A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020198971A1 (en) * | 2001-06-22 | 2002-12-26 | Wonderware Corporation | Internationalization of objects executable in a supervisory process control and manufacturing information system |
CN102289376A (en) * | 2011-09-16 | 2011-12-21 | 烽火通信科技股份有限公司 | Embedded multi-language WEB page realization method and system |
CN102981851A (en) * | 2012-11-15 | 2013-03-20 | 深圳市共进电子股份有限公司 | Rapid development and maintenance system and method for embedded type network device interface language |
CN104077289A (en) * | 2013-03-26 | 2014-10-01 | 上海斐讯数据通信技术有限公司 | Method for realizing Web multi-language switching |
CN104020991A (en) * | 2014-05-16 | 2014-09-03 | 可牛网络技术(北京)有限公司 | Method and device for multi-language switching of application program |
Non-Patent Citations (3)
Title |
---|
中国通信学会学术工作委员会编: "《2013年中国信息通信研究新进展论文集》", 30 April 2014, 北京邮电大学出版社 * |
云贵全 李勇 主编;阮丽红,刘昕玥 副主编: "《办公自动化教程》", 31 August 2012, 上海交通大学出版社 * |
云贵全,张鑫主编: "《企业级Java EE商业项目开发》", 31 August 2015, 西南交通大学出版社 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109508211A (en) * | 2017-09-13 | 2019-03-22 | 阿里巴巴集团控股有限公司 | A kind of multilingual configuration method, device, system and electronic equipment |
CN109947525A (en) * | 2019-03-28 | 2019-06-28 | 北京金山安全软件有限公司 | Configuration method and device for multi-language application names and electronic equipment |
CN109960528A (en) * | 2019-03-28 | 2019-07-02 | 北京金山安全软件有限公司 | Configuration method and device for multi-language application names and electronic equipment |
CN111240781A (en) * | 2020-01-07 | 2020-06-05 | 杭州涂鸦信息技术有限公司 | Client multi-language dynamic configuration method and system |
CN111240781B (en) * | 2020-01-07 | 2023-10-20 | 杭州涂鸦信息技术有限公司 | Client multi-language dynamic configuration method and system |
CN111610863A (en) * | 2020-05-12 | 2020-09-01 | Oppo广东移动通信有限公司 | Information input method, device, terminal equipment and storage medium |
CN111610863B (en) * | 2020-05-12 | 2023-08-22 | Oppo广东移动通信有限公司 | Information input method, device, terminal equipment and storage medium |
CN115794185A (en) * | 2021-09-10 | 2023-03-14 | 中兴通讯股份有限公司 | Data increment upgrading method, power supply equipment system, network manager and storage medium |
CN115794185B (en) * | 2021-09-10 | 2023-11-07 | 中兴通讯股份有限公司 | Data increment upgrading method, power supply equipment system, network manager and storage medium |
CN114418533A (en) * | 2022-01-13 | 2022-04-29 | 北京声智科技有限公司 | Questionnaire processing method, apparatus, device, storage medium and computer program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106909403A (en) | A kind of method and apparatus being updated to APP language related informations | |
US9317501B2 (en) | Data security system for natural language translation | |
US9583097B2 (en) | Dynamic inference of voice command for software operation from help information | |
CN107622054B (en) | Text data error correction method and device | |
US11281465B2 (en) | Non-transitory computer readable recording medium, computer control method and computer device for facilitating multilingualization without changing existing program data | |
US9459946B2 (en) | Personalizing error messages based on user behavior | |
CN105825851B (en) | Voice control method and system based on Android system | |
US20150024351A1 (en) | System and Method for the Relevance-Based Categorizing and Near-Time Learning of Words | |
CN102426511A (en) | System level search user interface | |
EP3929774B1 (en) | Name label display method and apparatus | |
CN104750472B (en) | The resource package management method and device of a kind of terminal applies | |
CN102831108A (en) | Automated systems and methods for integrated multi-platform communication including real-time language translation | |
CN108399072A (en) | Five application page update method and device | |
CN106716355A (en) | Interactive text preview | |
CN102866987A (en) | Apparatus and method for transmitting message in mobile terminal | |
CN102298578A (en) | Translation method based on handheld device and system | |
CN105184552A (en) | Enterprise management process optimization method based on voice command control | |
JP2016531352A (en) | Method, device, program and device for updating input system | |
US9781065B2 (en) | Lightweight application integration for mobile cloud computing | |
CN106933811A (en) | A kind of entry automatic generation method and device | |
US20090031221A1 (en) | Providing A Presentation in a Remote Location | |
CN107239303A (en) | The generation of application program update bag and method, the device of application program update | |
CN111427568A (en) | Interface configuration method and device | |
CN107908792B (en) | Information pushing method and device | |
CN102591851A (en) | Method and device for editing target texts based on keyboard keys |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170630 |