CN109508211A - A kind of multilingual configuration method, device, system and electronic equipment - Google Patents

A kind of multilingual configuration method, device, system and electronic equipment Download PDF

Info

Publication number
CN109508211A
CN109508211A CN201710822793.9A CN201710822793A CN109508211A CN 109508211 A CN109508211 A CN 109508211A CN 201710822793 A CN201710822793 A CN 201710822793A CN 109508211 A CN109508211 A CN 109508211A
Authority
CN
China
Prior art keywords
language
application program
resource
configuration
resource file
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
Application number
CN201710822793.9A
Other languages
Chinese (zh)
Inventor
韩坤芳
陈光明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710822793.9A priority Critical patent/CN109508211A/en
Publication of CN109508211A publication Critical patent/CN109508211A/en
Pending legal-status Critical Current

Links

Abstract

This application discloses a kind of multilingual configuration method, device, system and electronic equipments, this method comprises: obtaining the configuration list for instructing application program language to configure;According to the configuration list, the language resource data for the object language that the application program needs to configure are obtained;According to the configuration list, by the language resource data configuration into the application program.Through the above technical solution, the language for realizing application program automatically configures, without the multilingual carry out manual configuration of internationalization of the developer to APP, the technical issues of human cost expends larger, easy error when solving the multilingual configuration of APP internationalization in the prior art, application development cost, exploitation error rate are reduced, development efficiency is improved.

Description

A kind of multilingual configuration method, device, system and electronic equipment
Technical field
This application involves software technology field, in particular to a kind of multilingual configuration method, device, system and electronics are set It is standby.
Background technique
With the continuous development of Internet technology, the internationalization multilingual requirements of application APP are more and more.APP's It internationalizes and multilingual requires an APP that can show the differences such as different language, such as Russian, English, Simplified Chinese, Traditional Chinese The languages of countries and regions.In the prior art, when the multilingual configuration of APP, multilingual is carried out one by one manually by developer Configuration, the configuration process machinery of every kind of language is cumbersome, expends a large amount of human cost, and be easily configured error.
Summary of the invention
The embodiment of the present application provides a kind of multilingual configuration method, device, system and electronic equipment, for solving existing skill The technical issues of human cost expends larger, easy error when the multilingual configuration of APP internationalization in art.
The embodiment of the present application in a first aspect, providing a kind of multilingual configuration method, which comprises
Obtain the configuration list for instructing application program language to configure;
According to the configuration list, the language resource data for the object language that the application program needs to configure are obtained;
According to the configuration list, by the language resource data configuration into the application program.
Optionally, the configuration list includes:
Target language, language data acquisition address and the language resource file that the application program needs to configure store position It sets.
Optionally, described according to the configuration list, obtain the language for the object language that the application program needs to configure Resource data, comprising:
The configuration list is parsed, the target language and the language data for obtaining the object language obtain ground Location;
Address is obtained according to the language data, obtains the corresponding language of the target language from resource official documents and correspondence center Resource data.
Optionally, according to the configuration list, by the language resource data configuration into the application program, comprising:
The configuration list is parsed, the language resource file storage location of the object language is obtained;
The language resource data are converted into the language resource file that the application program corresponds to format;
Judge in the language resource file storage location with the presence or absence of original language identical with the object language languages Resource file;
If there are the original language resource files in the language resource file storage location, with the language resource file Cover the original language resource file;
If the original language resource file is not present in the language resource file storage location, by the language resource text Part is added in the language resource file storage location.
Optionally, the method also includes:
It is scanned to the language resource file each of is configured in the application program, judges each language money It is lacked in source file with the presence or absence of value value;
The value value missing if it exists generates the first prompt information of the value value of supplement missing and is sent to Resource official documents and correspondence center.
Optionally, the method also includes:
Receive the more new data that resource official documents and correspondence center is fed back based on first prompt information;
The language resource file of the value value missing is updated by the more new data.
Optionally, the method also includes:
If in each resource file there is no the value value lack, with configured in the application program one Subject to the key of a language resource file, the key of all language resource files configured in the application program is scanned
Judge the key of language resource file with the presence or absence of redundancy;
Key redundancy if it exists deletes the key of redundancy and corresponding value value from language resource file.
Optionally, the method also includes:
It generates for deleting the key of the redundancy and the second prompt information of corresponding value value;
Second prompt information is sent to resource official documents and correspondence center.
The second aspect of the embodiment of the present application, provides a kind of multilingual Intelligent configuration device, and described device includes:
First obtains module, for obtaining the configuration list for instructing application program language to configure;
Second obtains module, for obtaining the object language that the application program needs to configure according to the configuration list Language resource data;
Configuration module is used for according to the configuration list, by the language resource data configuration into the application program.
Optionally, the configuration list includes: target language, the language data acquisition ground that the application program needs to configure Location and language resource file storage location.
Optionally, described second module is obtained, is specifically used for:
The configuration list is parsed, the target language and the language data for obtaining the object language obtain ground Location;
Address is obtained according to the language data, obtains the corresponding language of the target language from resource official documents and correspondence center Resource data.
Optionally, the configuration module, is specifically used for:
The configuration list is parsed, the language resource file storage location of the object language is obtained;
The language resource data are converted into the language resource file that the application program corresponds to format;
Judge in the language resource file storage location with the presence or absence of original language identical with the object language languages Resource file;
If there are the original language resource files in the language resource file storage location, with the language resource file Cover the original language resource file;
If the original language resource file is not present in the language resource file storage location, by the language resource text Part is added in the language resource file storage location.
Optionally, described device further include:
Judgment module judges for being scanned to each of configuring the language resource file in the application program It is lacked in each language resource file with the presence or absence of value value;
Generation module, for generating the first of the value value of supplement missing when there are value value missing Prompt information;
Sending module, for by first prompt information and being sent to resource official documents and correspondence center.
Optionally, described device further include:
Receiving module, the more new data fed back for receiving resource official documents and correspondence center based on first prompt information;
Update module, for updating the language resource file of the value value missing by the more new data.
Optionally, described device further include:
The judgment module is also used to: there is no the value values to lack in each resource file, with described Subject to the key of the language resource file configured in application program, all language money configured in the application program is scanned The key of source file judges the key of language resource file with the presence or absence of redundancy;
Removing module, for when there are key redundancy, by the key of redundancy and corresponding value value from language resource file Middle deletion.
Optionally, the generation module is also used to: generating the key for deleting the redundancy and corresponding value value Second prompt information;
The sending module is also used to: second prompt information is sent to resource official documents and correspondence center.
The third aspect of the embodiment of the present application provides a kind of multilingual configuration system of internationalization, the system comprises:
Server, for providing data service for resource official documents and correspondence center;
Client, for obtaining the configuration list for instructing application program language to configure;According to the configuration list, from Resource official documents and correspondence center obtains the language resource data for the object language that the application program needs to configure;According to the configuration Inventory, by the language resource data configuration into the application program.
The fourth aspect of the embodiment of the present application provides a kind of multilingual configuration method, which comprises
Receive the language official documents and correspondence configuring request that client is sent;
Based on the language official documents and correspondence configuring request, the application journey for being used to indicate the client is obtained from resource official documents and correspondence center The configuration list of sequence progress language official documents and correspondence configuration;
The configuration list is sent to the client.
Optionally, the method also includes: receive the prompt information that the client sends;Based on the prompt information, It supplements value value is lacked in resource official documents and correspondence center, or deletes in language resource data the key of redundancy and corresponding Value value.
5th aspect of the embodiment of the present application, provides a kind of electronic equipment, comprising: memory and one or one with On program, wherein one perhaps more than one program be stored in memory and be configured to by one or more than one It includes the instruction for performing the following operation that processor, which executes the one or more programs:
Obtain the configuration list for instructing application program language to configure;
According to the configuration list, the language resource data for the object language that the application program needs to configure are obtained;
According to the configuration list, by the language resource data configuration into the application program.
6th aspect of the embodiment of the present application, provides a kind of electronic equipment, comprising: memory and one or one with On program, wherein one perhaps more than one program be stored in memory and be configured to by one or more than one It includes the instruction for performing the following operation that processor, which executes the one or more programs:
Receive the language official documents and correspondence configuring request that client is sent;
Based on the language official documents and correspondence configuring request, the application journey for being used to indicate the client is obtained from resource official documents and correspondence center The configuration list of sequence progress language official documents and correspondence configuration;
The configuration list is sent to the client.
Said one or multiple technical solutions in the embodiment of the present application, at least have the following technical effect that
The embodiment of the present application provides a kind of multilingual method intelligently configured, obtains for instructing application program language to configure Configuration list;According to the configuration list, the language resource data for the object language that the application program needs to configure are obtained; According to the configuration list, by the language resource data configuration into the application program, oneself of application program language is realized Dynamic configuration solves APP internationalization in the prior art without the multilingual carry out manual configuration of internationalization of the developer to APP Human cost expends the technical issues of larger, easy error when multilingual configuration, reduces application development cost, develops Error rate improves development efficiency.
Detailed description of the invention
Fig. 1 is a kind of flow chart of multilingual configuration method provided by the embodiments of the present application;
Fig. 2 is a kind of flow chart of language resource file health degree detection method provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of multilingual configuration device provided by the embodiments of the present application;
Fig. 4 is a kind of schematic diagram of multilingual configuration system provided by the embodiments of the present application;
Fig. 5 is the schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
With reference to the accompanying drawing to main realization principle, specific embodiment and its correspondence of the embodiment of the present application technical solution The beneficial effect that can reach is explained in detail.
Embodiment
Referring to FIG. 1, the embodiment of the present application provides a kind of multilingual configuration method, this method comprises:
S11: the configuration list for instructing application program language to configure is obtained.
Configuration list is preset by developer, and storage is in the application or resource official documents and correspondence center.Configuration list In the target language that needs to configure comprising application program, language data obtain address and language resource file storage location.Wherein, Target language can be to be one or more, and the embodiment of the present application executes following S12~S13 for each target language Complete the multilingual configuration of application program internationalization.Language data obtains the to acquisite approachs that address is language resource data, such as language Data acquisition url, language data store path, for instructing electronic equipment to obtain the corresponding language money of target language from the path Source data.The root that language resource file is put when language resource file storage location is configured by application program language, to protect Card language resource file, which matches to postpone, can correctly be read by application program, apply.Below it is the example of a configuration list:
Certainly, in configuration list can also include other contents, the format of the language resource file as needed for application program, The update cycle etc. of language resource file.
S12: according to the configuration list, the language resource number for the object language that the application program needs to configure is obtained According to.
Specifically, the target language for the object language that application program needs to configure can be obtained by parsing configuration list Address is obtained with language data;In turn, address is obtained according to the language data got, obtains target language from resource official documents and correspondence center The corresponding language resource data of kind.Such as: assuming that the target language that parsing configuration list obtains is English " en ", language data obtains Does is taking address http: // * * *? appName=**&tupe=android&language=**, then according in the url, from Resource official documents and correspondence center obtains English " en " corresponding language resource data.
Resource official documents and correspondence center described in the embodiment of the present application can be located on server, can provide to each APP international Language resource data needed for changing multilingual configuration, and language resource data are managed collectively, do not need different ends (such as Android, iOS) safeguard more parts of resource files simultaneously, greatly reduce conservation of resources cost.
S13: according to the configuration list, by the language resource data configuration into the application program.
Specifically, the object language that application program needs to configure can be obtained by the configuration list of parsing application program Language resource file storage location;The language resource data of acquisition are converted into the language resource text that application program corresponds to format Part;The language configuration of this kind of language is completed based on the language resource file storage location that conversion obtains.(such as applied to different ends Android, iOS) application program need the language resource file of different-format, the language resource number for needing will acquire thus According to being converted to corresponding format.The corresponding language resource file lattice of application program are obtained specifically, can parse from configuration list Formula.The operating system that can also be applicable according to application program obtains the corresponding language resource file format of application program.Such as: if Detect that application program is suitable for iOS system, the format that corresponding language resource file format can be read for iOS system is such as ".strings";If it is detected that application program is suitable for android system, corresponding language resource file format can be The format that android system can be read such as " .xml ".
Since developer is in APP development process, part verbal resource file may be put into APP, if directly Language resource file, which is put into, to malfunction.Match for this purpose, completing language in the language resource file storage location based on acquisition When setting, first judge in the language resource file storage location obtained with the presence or absence of original language resource identical with object language languages File.If there are original language resource files in language resource file storage location, primitive is covered with the language resource file of acquisition Say resource file.If original language resource file is not present in language resource file storage location, by the language resource file of acquisition It is added in language resource file storage location.
Below by a complete example, to provide a kind of tool of multilingual configuration method that internationalizes to the application implementation Body process is completely illustrated:
Firstly, obtaining and parsing the configuration list of application program.Assuming that parsing the target language needed to configure and including: cn,en,ru.So according to the language resource data acquisition address in configuration list, mesh is read automatically from resource official documents and correspondence center Poster kind: the corresponding language resource data of cn, en, ru.Then, to the target language read: the corresponding language of cn, en, ru Resource data formats, and obtains language resource file (cn), language resource file (en), language resource file (ru). Then, judge respectively in application program with the presence or absence of the identical original language money of target language corresponding with each language resource file Source file;For there are the identical original language resource files of languages, language resource file will be obtained and cover the original language resource File, for there is no the identical former resource file of languages, the language resource file configuration storages that conversion is obtained to application In program in the specified language resource file storage address of configuration list, the multilingual configuration of application program is completed.
In above-described embodiment, by the configuration list for obtaining application program;According to configuration list, obtains application program and need The language resource data of the object language of configuration;In turn, language resource data are converted into the language that application program corresponds to format Resource file;To which language resource file is configured in application program according to configuration list, realize application program language It automatically configures, without the multilingual carry out manual configuration of internationalization of the developer to APP, it is international to solve APP in the prior art Human cost expends the technical issues of larger, easy error when changing multilingual configuration, reduces application development cost, exploitation Error rate improves development efficiency.
Referring to FIG. 2, the embodiment of the present application also provides a kind of language resource health degree intelligent detecting method, this method packet It includes:
S21: each language resource file in application program is scanned.
S22: judge to lack in each language resource file with the presence or absence of value value.
Wherein, the official documents and correspondence of each language resource file includes key and value value.One in a usual language resource file The corresponding value value of a key.Such as: key:string_apple_name is one corresponding in English " en " resource file Value value: apple, the corresponding value value of key:string_apple_name in Chinese " CN " resource file: apple. If the corresponding value value missing of a key, then corresponding word can not be shown, is supplemented, executes S23. If value value missing is not present in all resource files, then entering S24.
S23: it generates the first prompt information of the value value of supplement missing and is sent to resource official documents and correspondence center.
First prompt information is used to that developer to be prompted to go to supplement language resource file missing to resource official documents and correspondence center Value value.Wherein, the corresponding key of value value and language resource file title of missing be may include in the first prompt information, It is filled to carry out value value complement under the key of developer to respective file.
In specific implementation process, the first prompt information can also be annotated in the resource file of application program, be opened with reminding Originator is supplemented in value value of the local to missing.Further, the embodiment of the present application will can also locally supplement Value value is sent to resource official documents and correspondence center, so that the value value complement is charged to corresponding language resource data by resource official documents and correspondence center Middle update language resource data.
S24: being subject to the key of the language resource file configured in application program, scans and configures in application program The key of all language resource files.
S25: judge the key of language resource file with the presence or absence of redundancy.
Under normal conditions, the key of each language resource file is identical in an application program, and a key can only exist Once.Judge the key of language resource file with the presence or absence of redundancy, comprising: judge to whether there is identical key in a file, And a resource file whether there is extra key with respect to another resource file.If judging, the key of language resource file is deposited In redundancy, then S26 is executed.If judging the key of language resource file there is no redundancy, the detection of language resource file health degree is tied Beam, language resource file health.
S26: the key of redundancy and corresponding value is extremely deleted from language resource file.
S27: it generates for deleting the key of redundancy and the second prompt information of corresponding value value, by the second prompt information Be sent to resource official documents and correspondence center, with embody developer go resource official documents and correspondence center delete redundancy key and corresponding value value.
Based on above-mentioned language resource file health degree detection method, the embodiment of the present application also provides a kind of language resource file Update method.When detecting language resource file value value missing, it is anti-based on the first prompt information to receive resource official documents and correspondence center The more new data of feedback;The language resource file of value value missing is updated by more new data.And/or at resource file center When language resource data have update, the more new data that resource official documents and correspondence center is sent is received;Pass through the corresponding language money of more new data Source file.
In above-described embodiment, by providing a kind of language resource file health degree intelligent detecting method, language money is realized The quick physical examination of source file improves the efficiency of language resource file health degree detection.Meanwhile the prompt detected by health degree Information feedback, timely update language resource file.Any one word/sentence in any languages needs additions and deletions to change, Huo Zhexin Increase languages, does not all need each end APP exploitation classmate and the artificial additions and deletions of resource in corresponding languages are changed in the process of development, or is newly-increased New languages resource file, only need to be revised or be increased newly at resource official documents and correspondence center, resource file center can will revise or Person is newly-increased to be updated into each App, is improved development efficiency and is reduced error rate.
Resource official documents and correspondence provided by the embodiments of the present application center can carry out maintenance and answering to client by server Data service is provided with program.Specifically, providing a kind of multilingual configuration method, it is applied to server, this method comprises: receiving The language official documents and correspondence configuring request that client is sent;Based on the language official documents and correspondence configuring request received, obtained from resource official documents and correspondence center The application program for being used to indicate client carries out the configuration list of language official documents and correspondence configuration;Configuration list is sent to client, with The language of the corresponding object language of application program is obtained according to configuration list from resource official documents and correspondence center for the application program of client Resource data carries out language official documents and correspondence configuration.Language needed for being stored with various language official documents and correspondence configurations due to resource official documents and correspondence centre punch one It says configuration list required when resource data and configuration language official documents and correspondence, is deposited without resource official documents and correspondence center for different operating system The language resource file for storing up different-format, has saved maintenance cost.
Further, server can also receive the prompt of client transmission when safeguarding to resource official documents and correspondence center Information, the prompt information are usually that each application program completes language official documents and correspondence with postponing, and are sent according to configuring condition to server Feedback information, including following at least one information: value value deletion condition in language resource data, key redundancy condition and Value value redundancy condition;Based on the prompt information received, the value value lacked in resource official documents and correspondence center is supplemented, or Person deletes the key of redundancy and corresponding value value in language resource data.
Referring to FIG. 3, based on the above embodiment one provide a kind of multilingual configuration method and a kind of language resource file Health degree intelligent detecting method, the embodiment of the present application also correspondence provide a kind of multilingual Intelligent configuration device, comprising:
First obtains module 31, for obtaining the configuration list for instructing application program language to configure;
Second obtains module 32, for obtaining the target language that the application program needs to configure according to the configuration list The language resource data of speech;
Configuration module 33 is used for according to the configuration list, by the language resource data configuration to the application program In.
Wherein, the configuration list includes: target language, the language data acquisition address that the application program needs to configure And language resource file storage location.
In the specific implementation process, described second module 32 is obtained, be specifically used for: parsing the configuration list, obtain institute The target language and the language data for stating object language obtain address;Address is obtained according to the language data, from money Source document case center obtains the corresponding language resource data of the target language.
The configuration module 33, is specifically used for: parsing the configuration list, obtains the language money of the object language Source file storage location;The language resource data are converted into the language resource file that the application program corresponds to format;Sentence It whether there is original language resource file identical with the object language languages in the language resource file storage location of breaking;If There are the original language resource files in the language resource file storage location, cover the original with the language resource file Language resource file;If the original language resource file is not present in the language resource file storage location, by the language Resource file is added in the language resource file storage location.
In the specific implementation process, described device further include: judgment module 34, generation module 35 and sending module 36.Sentence Disconnected module 34 judges each described for being scanned to each of configuring the language resource file in the application program It is lacked in language resource file with the presence or absence of value value;Generation module 35, for generating when there are value value missing Supplement the first prompt information of the value value of missing;Sending module 36, for by first prompt information and being sent to Resource official documents and correspondence center.
Further, described device further include: receiving module 37 and update module 38.Receiving module 37, for receiving State the more new data that resource official documents and correspondence center is fed back based on first prompt information;Update module 38, for passing through the update Data update the language resource file of the value value missing.
In specific implementation process, the judgment module 34 is also used to: there is no described in each resource file Value value missing, is subject to the key of the language resource file configured in the application program, scans the application program The key of all language resource files of middle configuration judges the key of language resource file with the presence or absence of redundancy;Described device is also wrapped It includes: removing module 39, for when there are key redundancy, by the key of redundancy and corresponding value value from language resource file It deletes.
Further, the generation module 35 is also used to: generating the key and corresponding value for deleting the redundancy Second prompt information of value;The sending module 36 is also used to: second prompt information is sent to resource official documents and correspondence center.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Referring to FIG. 4, a kind of multilingual configuration method that the embodiment of the present application provides based on the above embodiment and a kind of language Say resource file health degree intelligent detecting method, it is also corresponding that a kind of multilingual configuration system of internationalization is provided, the system comprises:
Server 41, for providing data service for resource official documents and correspondence center;
Client 42, for obtaining the configuration list for instructing application program language to configure;According to the configuration list, The language resource data for the object language that the application program needs to configure are obtained from resource official documents and correspondence center;Matched according to described Inventory is set, by the language resource data configuration into the application program.
Referring to FIG. 5, being shown according to an exemplary embodiment a kind of for realizing data storage and/or processing method Electronic equipment 800 block diagram.For example, electronic equipment 800 can be mobile phone, computer, digital broadcast terminal, message receipts Send out equipment, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, electronic equipment 800 may include following one or more components: processor 802, memory 804, with And the interface 806 of input/output (I/O).The integrated operation of the usual controlling electronic devices 800 of processor 802.Processor 802 can To include one or more, to perform all or part of the steps of the methods described above.Memory 804 is configured as storing various types of The data of type are to support the operation in equipment 800.The example of these data includes any for what is operated on electronic equipment 800 The instruction of application program or method can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light data and deposit Store up equipment etc..I/O interface 806 provides interface between processor 802 and peripheral interface module, which can be Keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and locking are pressed Button.
In one exemplary embodiment, when the instruction in memory 804 is executed by the processor of electronic equipment, so that Electronic equipment is able to carry out a kind of multilingual configuration method, this method comprises:
Obtain the configuration list for instructing application program language to configure;According to the configuration list, the application is obtained The language resource data for the object language that program needs to configure;According to the configuration list, by the language resource data configuration Into the application program.
In another exemplary embodiment, when the instruction in memory 804 is executed by the processor of electronic equipment, make It obtains electronic equipment and is able to carry out a kind of multilingual configuration method, this method comprises:
Receive the language official documents and correspondence configuring request that client is sent;Based on the language official documents and correspondence configuring request, from resource official documents and correspondence Center obtains the configuration list for being used to indicate the application program progress language official documents and correspondence configuration of the client;By the configuration list It is sent to the client.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (21)

1. a kind of multilingual configuration method, which is characterized in that the described method includes:
It obtains and is used to indicate the configuration list that application program carries out the configuration of language official documents and correspondence;
According to the configuration list, the language resource data for the object language that the application program needs to configure are obtained;
According to the configuration list, by the language resource data configuration into the application program.
2. the method as described in claim 1, which is characterized in that the configuration list includes:
Target language, language data acquisition address and the language resource file storage location that the application program needs to configure.
3. method according to claim 2, which is characterized in that it is described according to the configuration list, obtain the application program The language resource data of the object language needed to configure, comprising:
The configuration list is parsed, the target language and the language data for obtaining the object language obtain address;
Address is obtained according to the language data, obtains the corresponding language resource of the target language from resource official documents and correspondence center Data.
4. method according to claim 2, which is characterized in that according to the configuration list, the language resource data are matched It sets in the application program, comprising:
The configuration list is parsed, the language resource file storage location of the object language is obtained;
The language resource data are converted into the language resource file that application program corresponds to format;
Judge in the language resource file storage location with the presence or absence of original language resource identical with the object language languages File;
If there are the original language resource files in the language resource file storage location, covered with the language resource file The original language resource file;
If the original language resource file is not present in the language resource file storage location, the language resource file is added It adds in the language resource file storage location.
5. the method as described in Claims 1 to 4 is any, which is characterized in that the method also includes:
It is scanned to the language resource file each of is configured in the application program, judges each language resource text It is lacked in part with the presence or absence of value value;
The value value missing if it exists generates the first prompt information of the value value of supplement missing and is sent to resource Official documents and correspondence center.
6. method as claimed in claim 5, which is characterized in that the method also includes:
Receive the more new data that resource official documents and correspondence center is fed back based on first prompt information;
The language resource file of the value value missing is updated by the more new data.
7. method as claimed in claim 5, which is characterized in that the method also includes:
If there is no the value values to lack in each resource file, with the language configured in the application program Subject to the key for saying resource file, the key of all language resource files configured in the application program is scanned
Judge the key of language resource file with the presence or absence of redundancy;
Key redundancy if it exists deletes the key of redundancy and corresponding value value from language resource file.
8. the method for claim 7, which is characterized in that the method also includes:
It generates for deleting the key of the redundancy and the second prompt information of corresponding value value;
Second prompt information is sent to resource official documents and correspondence center.
9. a kind of multilingual Intelligent configuration device, which is characterized in that described device includes:
First obtains module, for obtaining the configuration list for instructing application program language to configure;
Second obtains module, for obtaining the language for the object language that the application program needs to configure according to the configuration list Say resource data;
Configuration module is used for according to the configuration list, by the language resource data configuration into the application program.
10. device as claimed in claim 9, which is characterized in that the configuration list includes:
Target language, language data acquisition address and the language resource file storage location that the application program needs to configure.
11. device as claimed in claim 10, which is characterized in that described second obtains module, is specifically used for:
The configuration list is parsed, the target language and the language data for obtaining the object language obtain address;
Address is obtained according to the language data, obtains the corresponding language resource of the target language from resource official documents and correspondence center Data.
12. device as claimed in claim 10, which is characterized in that the configuration module is specifically used for:
The configuration list is parsed, the language resource file storage location of the object language is obtained;
The language resource data are converted into the language resource file that the application program corresponds to format;
Judge in the language resource file storage location with the presence or absence of original language resource identical with the object language languages File;
If there are the original language resource files in the language resource file storage location, covered with the language resource file The original language resource file;
If the original language resource file is not present in the language resource file storage location, the language resource file is added It adds in the language resource file storage location.
13. the device as described in claim 9~12 is any, which is characterized in that described device further include:
Judgment module, for being scanned to each of configuring the language resource file in the application program, judgement is each It is lacked in the language resource file with the presence or absence of value value;
Generation module, for when there are value value missing, generating the first prompt of the value value of supplement missing Information;
Sending module, for by first prompt information and being sent to resource official documents and correspondence center.
14. device as claimed in claim 13, which is characterized in that described device further include:
Receiving module, the more new data fed back for receiving resource official documents and correspondence center based on first prompt information;
Update module, for updating the language resource file of the value value missing by the more new data.
15. device as claimed in claim 13, which is characterized in that the judgment module is also used to: in each resource text There is no the value values to lack in part, is subject to the key of the language resource file configured in the application program, The key for scanning all language resource files configured in the application program judges the key of language resource file with the presence or absence of superfluous It is remaining;
Described device further include: removing module, for when there are key redundancy, by the key of redundancy and corresponding value value from It is deleted in language resource file.
16. device as claimed in claim 15, which is characterized in that the generation module is also used to: generating described for deleting The second prompt information of the key of redundancy and corresponding value value;
The sending module is also used to: second prompt information is sent to resource official documents and correspondence center.
17. a kind of multilingual configuration system, which is characterized in that the system comprises:
Server, for providing data service for resource official documents and correspondence center;
Client, for obtaining the configuration list for instructing application program language to configure;According to the configuration list, from described Resource official documents and correspondence center obtains the language resource data for the object language that the application program needs to configure;It is clear according to the configuration It is single, by the language resource data configuration into the application program.
18. a kind of multilingual configuration method, which is characterized in that the described method includes:
Receive the language official documents and correspondence configuring request that client is sent;
Based on the language official documents and correspondence configuring request, obtained from resource official documents and correspondence center be used to indicate the application program of the client into The configuration list of row language official documents and correspondence configuration;
The configuration list is sent to the client.
19. method as claimed in claim 18, which is characterized in that the method also includes:
Receive the prompt information that the client is sent;
Based on the prompt information, the value value lacked in resource official documents and correspondence center is supplemented, or deletes language resource number Key and corresponding value value according to middle redundancy.
20. a kind of electronic equipment characterized by comprising memory and one or more than one program, wherein one A perhaps more than one program is stored in memory and is configured to execute described one by one or more than one processor A or more than one program includes the instruction for performing the following operation:
Obtain the configuration list for instructing application program language to configure;
According to the configuration list, the language resource data for the object language that the application program needs to configure are obtained;
According to the configuration list, by the language resource data configuration into the application program.
21. a kind of electronic equipment characterized by comprising memory and one or more than one program, wherein one A perhaps more than one program is stored in memory and is configured to execute described one by one or more than one processor A or more than one program includes the instruction for performing the following operation:
Receive the language official documents and correspondence configuring request that client is sent;
Based on the language official documents and correspondence configuring request, obtained from resource official documents and correspondence center be used to indicate the application program of the client into The configuration list of row language official documents and correspondence configuration;
The configuration list is sent to the client.
CN201710822793.9A 2017-09-13 2017-09-13 A kind of multilingual configuration method, device, system and electronic equipment Pending CN109508211A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710822793.9A CN109508211A (en) 2017-09-13 2017-09-13 A kind of multilingual configuration method, device, system and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710822793.9A CN109508211A (en) 2017-09-13 2017-09-13 A kind of multilingual configuration method, device, system and electronic equipment

Publications (1)

Publication Number Publication Date
CN109508211A true CN109508211A (en) 2019-03-22

Family

ID=65744280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710822793.9A Pending CN109508211A (en) 2017-09-13 2017-09-13 A kind of multilingual configuration method, device, system and electronic equipment

Country Status (1)

Country Link
CN (1) CN109508211A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806896A (en) * 2019-09-29 2020-02-18 上海派拉软件股份有限公司 Method for realizing internationalized information extraction in software development based on maven plug-in
CN111142965A (en) * 2019-12-16 2020-05-12 深圳市优必选科技股份有限公司 Language configuration method and device, electronic equipment and storage medium
CN114896005A (en) * 2022-04-26 2022-08-12 平安普惠企业管理有限公司 Application program language configuration method based on artificial intelligence and related equipment

Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975668A (en) * 2006-12-31 2007-06-06 金蝶软件(中国)有限公司 System for supporting multi-language and method for inputting and reading multi-language data
CN101140590A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Checking method and system for resource file
CN101382888A (en) * 2008-09-10 2009-03-11 金蝶软件(中国)有限公司 Method and system for treating internationalization resource
CN101473302A (en) * 2006-06-22 2009-07-01 汤姆森许可贸易公司 Method and device for updating a language in a user interface
US7620392B1 (en) * 2006-02-27 2009-11-17 Good Technology, Inc. Method and system for distributing and updating software in wireless devices
CN102624875A (en) * 2012-02-22 2012-08-01 深圳市共进电子股份有限公司 Method for replacing or updating language packs of terminal equipment
CN103176826A (en) * 2013-03-27 2013-06-26 深圳市共进电子股份有限公司 Method for freely configuring terminal equipment default language and terminal default language configuration system
CN103377206A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Page content displaying method and browser
CN103902275A (en) * 2012-12-28 2014-07-02 北京新媒传信科技有限公司 Method and system for achieving conversion of language versions of applications
CN104199662A (en) * 2014-09-01 2014-12-10 浪潮电子信息产业股份有限公司 Multi-language supporting technology suitable for FLEX project
CN104580658A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Mobile terminal configuration method and device
CN104714968A (en) * 2013-12-16 2015-06-17 中国银联股份有限公司 Method and device for internationalizing web page
CN105786843A (en) * 2014-12-22 2016-07-20 华为软件技术有限公司 Multi-language implementation method for applications and multi-language information query method and device
CN105867920A (en) * 2016-03-29 2016-08-17 海尔优家智能科技(北京)有限公司 APP multi-language switching method and system
CN106230889A (en) * 2016-07-15 2016-12-14 福建天泉教育科技有限公司 Mobile solution Service Component method for managing resource and system
CN106648582A (en) * 2016-09-19 2017-05-10 济南浪潮高新科技投资发展有限公司 Implementation method for internationalized homonymous resource file deploying updating
CN106909403A (en) * 2015-12-22 2017-06-30 阿里巴巴集团控股有限公司 A kind of method and apparatus being updated to APP language related informations

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7620392B1 (en) * 2006-02-27 2009-11-17 Good Technology, Inc. Method and system for distributing and updating software in wireless devices
CN101473302A (en) * 2006-06-22 2009-07-01 汤姆森许可贸易公司 Method and device for updating a language in a user interface
CN1975668A (en) * 2006-12-31 2007-06-06 金蝶软件(中国)有限公司 System for supporting multi-language and method for inputting and reading multi-language data
CN101140590A (en) * 2007-10-12 2008-03-12 中兴通讯股份有限公司 Checking method and system for resource file
CN101382888A (en) * 2008-09-10 2009-03-11 金蝶软件(中国)有限公司 Method and system for treating internationalization resource
CN102624875A (en) * 2012-02-22 2012-08-01 深圳市共进电子股份有限公司 Method for replacing or updating language packs of terminal equipment
CN103377206A (en) * 2012-04-18 2013-10-30 腾讯科技(深圳)有限公司 Page content displaying method and browser
CN103902275A (en) * 2012-12-28 2014-07-02 北京新媒传信科技有限公司 Method and system for achieving conversion of language versions of applications
CN103176826A (en) * 2013-03-27 2013-06-26 深圳市共进电子股份有限公司 Method for freely configuring terminal equipment default language and terminal default language configuration system
CN104580658A (en) * 2013-10-11 2015-04-29 中兴通讯股份有限公司 Mobile terminal configuration method and device
CN104714968A (en) * 2013-12-16 2015-06-17 中国银联股份有限公司 Method and device for internationalizing web page
CN104199662A (en) * 2014-09-01 2014-12-10 浪潮电子信息产业股份有限公司 Multi-language supporting technology suitable for FLEX project
CN105786843A (en) * 2014-12-22 2016-07-20 华为软件技术有限公司 Multi-language implementation method for applications and multi-language information query method and device
CN106909403A (en) * 2015-12-22 2017-06-30 阿里巴巴集团控股有限公司 A kind of method and apparatus being updated to APP language related informations
CN105867920A (en) * 2016-03-29 2016-08-17 海尔优家智能科技(北京)有限公司 APP multi-language switching method and system
CN106230889A (en) * 2016-07-15 2016-12-14 福建天泉教育科技有限公司 Mobile solution Service Component method for managing resource and system
CN106648582A (en) * 2016-09-19 2017-05-10 济南浪潮高新科技投资发展有限公司 Implementation method for internationalized homonymous resource file deploying updating

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110806896A (en) * 2019-09-29 2020-02-18 上海派拉软件股份有限公司 Method for realizing internationalized information extraction in software development based on maven plug-in
CN111142965A (en) * 2019-12-16 2020-05-12 深圳市优必选科技股份有限公司 Language configuration method and device, electronic equipment and storage medium
CN114896005A (en) * 2022-04-26 2022-08-12 平安普惠企业管理有限公司 Application program language configuration method based on artificial intelligence and related equipment

Similar Documents

Publication Publication Date Title
US10664651B2 (en) Forms conversion and deployment system for mobile devices
CN102393857B (en) Method and system for local call based on web page
US20140136955A1 (en) Hybrid Web Container for Cross-Platform Mobile Applications
US20130238982A1 (en) Methods and apparatus for editing an application webpage
JP2006172444A (en) Actionable email document
CN102163233A (en) Method and system for converting webpage markup language format
KR20090077807A (en) Platform for rendering content for a remote device
CN107273122A (en) Based on decoupling mechanism can iteration set up operation system method and its terminal
CN106897153B (en) Method and system for calling application programming interface
CN109508211A (en) A kind of multilingual configuration method, device, system and electronic equipment
CN108829430A (en) Java Web project update method and relevant apparatus based on Eclipse and Tomcat
CN104579748A (en) SCD (substation configuration description) online checking network analysis method and system
CN104598570A (en) Resource fetching method and device
US20170353814A1 (en) Automatic system and method for conversion of smart phone applications to basic phone applications
US20180121259A1 (en) Method and system for data instance-based automatic message map construction
CN107315576A (en) A kind of method and system of dynamic expansion software flow
US20230409814A1 (en) Document editing method and apparatus, device, and storage medium
US9471650B2 (en) System and method for contextual workflow automation
CN110825538A (en) MQ-based method for dynamically interacting data by self-defining data types
CN116346660A (en) Data processing method, device, equipment and medium based on dependent replacement service
US20190108290A1 (en) Human assisted automated question and answer system using natural language processing of real-time requests assisted by humans for requests of low confidence
CN102014164A (en) Method of mobile access platform
CN104539697B (en) A kind of client, server and the method for making Android mobile application
CN109634647B (en) Construction method and system of large-scale front-end project
CN108920172A (en) Program publication and call method and system for voice dialogue platform

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

Application publication date: 20190322

RJ01 Rejection of invention patent application after publication