CN109408176A - Application resource file compiles method, apparatus, equipment and the storage medium of packet - Google Patents

Application resource file compiles method, apparatus, equipment and the storage medium of packet Download PDF

Info

Publication number
CN109408176A
CN109408176A CN201811142259.4A CN201811142259A CN109408176A CN 109408176 A CN109408176 A CN 109408176A CN 201811142259 A CN201811142259 A CN 201811142259A CN 109408176 A CN109408176 A CN 109408176A
Authority
CN
China
Prior art keywords
file
languages
field
customized
app
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
CN201811142259.4A
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.)
Guangzhou Huya Information Technology Co Ltd
Original Assignee
Guangzhou Huya Information Technology Co 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 Guangzhou Huya Information Technology Co Ltd filed Critical Guangzhou Huya Information Technology Co Ltd
Priority to CN201811142259.4A priority Critical patent/CN109408176A/en
Publication of CN109408176A publication Critical patent/CN109408176A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/454Multi-language systems; Localisation; Internationalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides method, apparatus, terminal device and the storage medium that application resource file compiles packet;The good customized languages file of pre-production can be obtained automatically by running customized script, wherein the customized languages file includes different field, and it includes text shown by each interface element in the field that each field, which corresponds to a languages,;Identify that each field is packaged the specified directory for generating resource file and being stored in APP file by the field in the customized languages file.The process of entire multilingual packing can be realized automatically, without being manually entered, improve development efficiency.

Description

Application resource file compiles method, apparatus, equipment and the storage medium of packet
Technical field
The method, apparatus, equipment and storage for compiling packet this application involves field more particularly to application resource file are situated between Matter.
Background technique
Many APP applications are all internationalized products at present, and user sources are in different countries, it is therefore desirable to support different states The language of family.It is multi-lingual in order to enable APP to support, it generally requires and stores multiple files, Mei Gewen in the file of APP The resource file of part folder one languages of storage, corresponding languages are called when needing to use some languages from the file of APP Resource file.Existing method needs when all over packet by the way that the language content of each languages is entered into corresponding languages manually File in, language content need it is corresponding with corresponding label.How resource file is automatically generated, reduces artificial operation, As those skilled in the art's problem urgently to be solved.
Summary of the invention
In view of this, this application provides method, apparatus, equipment and storage mediums that application resource file compiles packet.
Firstly, this application provides the methods that application resource file compiles packet, which comprises
Obtain the good customized languages file of pre-production, wherein the customized languages file includes different field, often A field corresponds to a languages, includes text shown by each interface element in the field;
Identify the field in the customized languages file;
Each field is packaged generation resource file and is stored in the specified directory in APP file.
Optionally, the customized languages file includes Excel file, TXT file and Word file, wherein described It is each in Excel file to be classified as a field.
Optionally, the specified directory includes multiple files, and each file is used to store one of them after being packaged The field of languages.
Optionally, the method also includes:
When receiving when the current languages of APP are switched to the instruction of specified languages of user's sending, APP is automatically from the finger Determine to find file corresponding with the specified languages in catalogue, reads field from the file to replace current all circles Text shown by surface element.
Optionally, the customized languages file includes version information, is obtaining the good customized languages text of pre-production Before part, the method also includes:
Whether the version for detecting the customized languages file updates.
Optionally, the opportunity of the good customized languages file of acquisition pre-production includes:
When detecting the user-defined file version updating;Wherein, the customized languages file of acquisition is latest edition Customized languages file.
Optionally, the specified directory that each field packing generation resource file is stored in APP file includes:
The resource file equal with field quantity is generated according to field quantity, wherein the resource file and the field It corresponds, includes different marks in the resource file, the mark is for marking text shown by interface element;
Text and the storage that interface element is shown are read from the field of the customized languages file according to the mark Into resource file corresponding with the field;
Resource file is stored in the specified directory in APP file.
Secondly, present invention also provides the device that a kind of application resource file compiles packet, described device includes:
Module is obtained, for obtaining the good customized languages file of pre-production, wherein the customized languages file packet Containing different field, each field corresponds to a languages, includes text shown by each interface element in the field;
Identification module, for identification field in the customized languages file;
It is packaged memory module, is stored in the specified directory in APP file for each field to be packaged generation resource.
In addition, the equipment is for being packaged multi-lingual, the terminal device packet present invention also provides a kind of equipment It includes:
Memory, for storing executable computer program instructions;
Processor, for executing the computer program instructions to realize following methods step:
Obtain the good customized languages file of pre-production, wherein the customized languages file includes different field, often A field corresponds to a languages, includes text shown by each interface element in the field;
Identify the field in the customized languages file;
Each field is packaged generation resource file and is stored in the specified directory in APP file.
Further, present invention also provides a kind of computer readable storage medium, the computer readable storage mediums On be stored with computer program, when the computer program is executed by processor realize following methods step:
Obtain the good customized languages file of pre-production, wherein the customized languages file includes different field, often A field corresponds to a languages, includes text shown by each interface element in the field;
Identify the field in the customized languages file;
Each field is packaged generation resource file and is stored in the specified directory in APP file.
The utility model has the advantages that obtaining the good customized languages file of pre-production, wherein the customized languages file includes not Same field, each field correspond to a languages, include text shown by each interface element in the field, make by oneself described in identification Each field is simultaneously packaged and generates resource file and be stored in the specified directory in APP file by field in adopted languages file.Entirely The process of multilingual packing may be implemented to automate, and improve the efficiency of multilingual packing, avoids being manually entered and maloperation occurs.
Detailed description of the invention
Fig. 1 is a kind of method flow of application resource file volume packet method shown in one exemplary embodiment of the application Figure;
Fig. 2 a is the schematic diagram of multi-lingual switching in APP shown in one exemplary embodiment of the application;
Fig. 2 b is the schematic diagram of multi-lingual switching in APP shown in one exemplary embodiment of the application;
Fig. 3 is the schematic diagram of the multilingual Excel file shown in one exemplary embodiment of the application;
Fig. 4 is the content schematic diagram of the resource file of the generation shown in one exemplary embodiment of the application;
Fig. 5 is the schematic diagram that multilingual file is stored in APP shown in one exemplary embodiment of the application;
Fig. 6 is a kind of logic knot of the device of application resource file volume packet shown in one exemplary embodiment of the application Structure block diagram;
Fig. 7 is the logical construction block diagram that one exemplary embodiment of the application shows a kind of equipment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the application.
It is only to be not intended to be limiting the application merely for for the purpose of describing particular embodiments in term used in this application. It is also intended in the application and the "an" of singular used in the attached claims, " described " and "the" including majority Form, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein refers to and wraps It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not departing from In the case where the application range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determination ".
In order to which APP can support the language of multiple countries, generally requires and store multiple files in the file of APP, often A file stores a languages, and when needing to use some languages, APP calls corresponding languages from file.All it is at present By the way that the language content of each languages is entered into the file of corresponding languages manually, when languages and more language content, The workload of this method is very big, very labor intensive, and is manually entered and easily malfunctions.
To solve the above-mentioned problems, this application provides a kind of method that application resource file compiles packet, pass through operation Customized script may be implemented that multi-lingual each languages are bundled in the file of APP automatically, and specific step is such as Shown in Fig. 1, comprising:
S101, the good customized languages file of pre-production is obtained, wherein the customized languages file includes different words Section, each field correspond to a languages, include text shown by each interface element in the field;
Field in S102, the identification customized languages file;
S103, each field packing generation resource file is stored in the specified directory in APP file.
Before publication, the country of shipment needed for determining APP product and APP need to prop up a general APP product The languages held.The case where research staff can support languages according to APP makes corresponding customized languages file, customized languages File includes different field, the corresponding languages of each field, and the language content below each languages contains all circles in APP The translation of the corresponding languages of text to be shown needed for surface element.For example, as shown in Figure 2 a and 2 b, in certain live streaming APP, boundary Face needs general text to be shown to require to switch to corresponding language when carrying out language switching, such as by the language of APP When being switched to English (Fig. 2 b) from Traditional Chinese (Fig. 2 a), " viewing history ", " my message ", " my money of APP interface display Packet " etc. requires to switch to " History ", " My Messages ", " My Wallet " etc., therefore needs in customized languages file To include the translation of the corresponding every country of text shown by these interface elements.In certain embodiments, it can will make by oneself Adopted languages file can be fabricated to Excel file, Txt file, Word file or other types file, as long as each in file Field can be identified.As shown in figure 3, each column of Excel file can be made to represent a word by taking Excel file as an example Section, corresponds to a national language translation.Every a line of Excel file, which represents, needs sentence or word to be shown in the interface APP Language, each translation for being classified as these sentences or the corresponding national language of word.The customized languages documenting is good Afterwards, locally specified position can be uploaded onto the server or be saved in the customized languages file, so as to need using when from Server or local acquisition.
The customized languages file can be obtained automatically by running customized script, and after getting file, identification is made by oneself Field in adopted languages file, different language is distinguished.Each field in general customized languages file can include one A field name, such as " translator of Chinese ", " translator of English ", " translator of Japanese " etc., the translation content of each languages is differentiated. Each field can be identified by identifying these field names, then the packing of each field is stored in APP file Specified directory.In APP file, generally there is one to store multi-lingual specified directory, house each language in specified directory The translation of kind, when switching the language of APP, APP can call the language of corresponding country from specified directory, to realize APP Multi-lingual switching.In certain embodiments, the specified directory includes multiple files, after each field is packaged, Each file stores the field of a languages.For example, customized languages file includes English, Japanese, Chinese, four languages of German Kind, each languages are that each field is packaged and then is stored in specified directory after recognizing four fields by a field In one file, for example, being stored in APP file after the content of all English Translations under this field of English is packaged specifies mesh In the file of one storage English Translation content of record, after the content of all Japanese Translators under this field of Japanese is packaged It is stored in the file of a storage Japanese Translator content of APP file specified directory, it will be all under this Chinese field The content of translator of Chinese is stored in the file of a storage translator of Chinese content of APP file specified directory after being packaged, will The content of all Germanizations under this field of German is stored in a German file of APP file specified directory after being packaged In.How many general languages, in specified directory can how many file, each file is used for one languages of storage Translation content, the file of corresponding languages is called separately to store the content of different language, when convenient to use.
When in order to switch language, system can search rapidly the language Auto-matching of corresponding languages and replace each Interface Element The word content of element display can lead to the specified directory that the languages packing generation resource file of each field is stored in APP file Cross the storage mode storage of key-value.In certain embodiments, each field is packaged and generates resource file and be stored in Specific step is as follows for specified directory in APP file: raw according to field quantity after identifying the field in customized languages file At the resource file equal with field quantity, wherein resource file and field correspond, and include different marks in resource file Know (key), the mark is for marking text shown by interface element (value);Then according to the mark in resource file Read from the field of customized languages file and text that the corresponding interface element of mark is shown be stored in it is corresponding with field In resource file;Text to the interface element in all fields in customized languages file has all read and has been stored in money After source file, then resource file is stored in the specified directory in APP file.As shown in figure 3, being had in customized languages file One mark (key), i.e. Tag, each mark will be shown for identifying the text that a segment limit surface element is shown as marked in interface Text be the mark of " you are paused to start broadcasting, and spectators can not see your live content " be live-room-privacy- hint.After identifying the field of customized languages file, the money equal with field quantity can be generated according to the quantity of field Source file, the corresponding resource file of one of field, the i.e. corresponding resource file of a languages, such as Chinese are one corresponding Resource file, the corresponding resource file of English, the corresponding resource file of Japanese.The content of resource file is as shown in figure 4, money It include different marks in source file, these marks are consistent with mark in customized languages file, according to mark from customized language Each field of kind of file reads and identifies corresponding interface element display text and be stored in the corresponding marker of resource file It sets.Chinese translation " you are paused to start broadcasting, and spectators can not see your live content " is such as put into the corresponding resource file of Chinese Live-room-privacy-hint identify corresponding position, English translation is put into the live- of English corresponding resource file Room-privacy-hint identifies corresponding position.To by the translation of the corresponding each languages of tag each in customized languages file After all having read and being put into the corresponding position of corresponding resource file, resource file can be stored in specified directory.
The sentence or word to be translated due to each has a specified mark (key), each sentence or word pair The translation for the country variant answered is the corresponding difference value of key, when needing to switch to the language of some country, i.e., from finger Determine in catalogue inquiry and finds the file of corresponding country then again by searching for needing the key of the sentence or word translated to find pair The value value answered replaces the text shown in interface element.The storage mode of this key-value has inquiry velocity very Fastly, the advantages of data amount of storage height and high concurrent operate, suitable for multi-lingual storage.
Customized languages file can constantly be updated according to the demand of product, for example product needs shipment to a new state Family, thus has newly increased a national language, and there is update at the interface in APP, has newly increased certain sentences or word, this when Wait the translation for just needing to newly increase each languages of certain sentences or word in multiple-language document.Since multiple-language document can be constantly More new version, we are packaged the multiple-language document that is stored in APP and are also required to be arrived according to the update of more newly arriving of multiple-language document Latest edition.In one embodiment, customized languages file includes version information, such as version number, hair version time etc., Ke Yigen Judge whether customized languages FileVersion updates according to these information.Obtaining the good customized languages file of pre-production Before, whether the version that can first detect the customized languages file updates.When the version information for detecting customized languages After updating, the customized languages file of available latest edition.In this way, can all be detected automatically certainly when APP is packaged every time Whether the version for defining languages file has update, if there is updating, then obtains the customized languages file of latest edition automatically, knows Then each field is packaged the specified mesh for generating resource file and being stored in APP file by the field in not customized languages file Record, to complete update multi-lingual in APP.
After multi-lingual packing, the specified directory storage in APP file has the file of each languages, each file Example houses the translation contents of corresponding languages, in one embodiment, when receiving the cutting the current languages of APP of user's sending When changing the instruction of specified languages into, APP finds file corresponding with the specified languages from specified directory automatically, from institute It states and reads field in file to replace text shown by current each interface element.User can directly be existed when using APP The setting that language is carried out in APP, realizes the switching of APP language, without logging off.
The method of multi-lingual packing is automatically to be realized by customized script by the application realization.The application's is multinational The method that language is packaged is not only suitable for iOS system, and is to be applicable in for Android system, when the method is used for iOS system When, the script is realized with Objective-C language;When the method is used for Android system, the script Python Language is realized.
For the method that further explanation application resource file provided by the present application compiles packet, below again with one Specific embodiment is illustrated.
Some live streaming APP user sources in 4 China, Britain, Indonesia and Vietnam countries, the APP need support this 4 The interface element of APP first can be needed to show the translation pre-production of this corresponding four languages of text by the language of a country A country is represented as shown in figure 3, each column of Excel are respectively a field at a customized languages Excel file Translation, every a line be then APP interface in need text to be shown.By customized languages documenting it is good after upload to service In device, so as to need using when from server download.Then a script has been write using Python, Run Script can It, then can be with the word in the customized languages file of automatic identification customized languages file download to get off from server automatically Section.As shown in figure 5, the content packing that traditional font translates the translation of the traditional font in this column is stored in APP file after identification field In one file of specified directory, the content packing of the translator of English in this column of translator of English is stored in APP file In one file of specified directory, the content packing that Indonesia translates the translation of the Indonesia in this column is stored in APP file In one file of specified directory, the content packing that Vietnamese translates the translation of the Vietnamese in this column is stored in APP text In a file in part, the translation content of each languages is stored in respectively in a file.Wherein, it will be stored in translation Putting is stored in the form of Key-Value, and each section of text to be translated has a mark, i.e. key, this section of text corresponds to Different language translation then be this key value value.When APP needs to be switched to the language of some country, Ke Yicong The file of this languages is found in the specified directory of APP, corresponding translation is then found according to mark (Key), by APP's The text that each interface element is shown is substituted for current language.
In addition, APP may need support the language of more countries, or work as the interface APP with the variation of APP user When element updates, needs text to be shown to will appear update, need this when to update the multiple-language document on server.When APP sends out version, when version updating, needs for APP file to be packaged, and when being packaged every time, APP can call automatically script execution multi-lingual Then the process of packing can update into APP from the multiple-language document for downloading latest edition in server, it is multi-lingual to complete APP The update of speech.The process that the entire multi-lingual packing of APP updates is fully automated, and substantially increases development efficiency.
Corresponding with a kind of aforementioned embodiment of multi-lingual packaging method, present invention also provides a kind of application program moneys The embodiment of source file volume bag apparatus.
Referring to FIG. 6, the multi-lingual packing apparatus 600 includes:
Module 601 is obtained, for obtaining the good customized languages file of pre-production, wherein the customized languages text Part includes different field, and it includes text shown by each interface element in the field that each field, which corresponds to a languages,.
Identification module 602, for identification field in the customized languages file;
It is packaged memory module 603, is stored in the specified mesh in APP file for each field to be packaged generation resource file Record.
In one embodiment, the customized languages file includes Excel file, TXT file or Word file, In, it is each in the Excel file to be classified as a field.
In one embodiment, the specified directory includes multiple files, after each file is for storing packing The field of one of languages.
In one embodiment, the customized languages file includes version information, and pre-production is good makes by oneself obtaining Before adopted languages file, the method also includes: whether the version of the detection customized languages file updates.
In one embodiment, the opportunity of the good customized languages file of acquisition pre-production includes:
When detecting the user-defined file version updating;Wherein, the customized languages file of acquisition is latest edition Customized languages file.
In one embodiment, when receive user sending when the current languages of APP are switched to the instruction of specified languages, APP finds file corresponding with the specified languages from the specified directory automatically, reads word from the file Section is to replace text shown by current each interface element.
In one embodiment, described that each field packing generation resource file is stored in the specified mesh in APP file Record includes:
The resource file equal with field quantity is generated according to field quantity, wherein the resource file and the field It corresponds, includes different marks in the resource file, the mark is for marking text shown by interface element;
Text and the storage that interface element is shown are read from the field of the customized languages file according to the mark Into resource file corresponding with the field;
Resource file is stored in the specified directory in APP file.
The method of multi-lingual packing is automatically to be realized by customized script by the application realization.The application's is multinational The method that language is packaged is not only suitable for iOS system, and is to be applicable in for Android system, when the method is used for iOS system When, the script is realized with Objective-C language;When the method is used for Android system, the script Python Language is realized.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize application scheme.Those of ordinary skill in the art are not paying Out in the case where creative work, it can understand and implement.
In addition, present invention also provides a kind of equipment, as shown in fig. 7, the equipment is for application resource file Packet is compiled, the equipment includes:
Memory, for storing executable computer program instructions;
Processor, for executing the computer program instructions to realize following methods step:
Obtain the good customized languages file of pre-production, wherein the customized languages file includes different field, often A field corresponds to a languages, includes text shown by each interface element in the field;
Identify the field in the customized languages file;
Each field is packaged generation resource file and is stored in the specified directory in APP file.
Further, present invention also provides a kind of computer readable storage medium, the computer readable storage mediums On be stored with computer program, when the computer program is executed by processor realize following methods step:
Obtain the good customized languages file of pre-production, wherein the customized languages file includes different field, often A field corresponds to a languages, includes text shown by each interface element in the field;
Identify the field in the customized languages file;
Each field is packaged generation resource file and is stored in the specified directory in APP file.
The all or part of the application the part that contributes to existing technology or the technical solution can be produced with software The form of product embodies, which is stored in a storage medium, including some instructions are used so that one Platform terminal device executes all or part of the steps of each embodiment method of the application.And storage medium above-mentioned include: USB flash disk, Mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), the various media that can store program code such as magnetic or disk.
The foregoing is merely the preferred embodiments of the application, not to limit the application, all essences in the application Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the application protection.

Claims (10)

1. a kind of method that application resource file compiles packet, which is characterized in that the described method includes:
Obtain the good customized languages file of pre-production, wherein the customized languages file includes different field, each word Section corresponds to a languages, includes text shown by each interface element in the field;
Identify the field in the customized languages file;
Each field is packaged generation resource file and is stored in the specified directory in APP file.
2. the method that a kind of application resource file as described in claim 1 compiles packet, which is characterized in that the customized language Kind file includes Excel file, Txt file or Word file, wherein each in the Excel file to be classified as a field.
3. the method that a kind of application resource file as described in claim 1 compiles packet, which is characterized in that the specified directory Including multiple files, each file is used to store the field of one of languages after being packaged.
4. the method that a kind of application resource file as claimed in claim 3 compiles packet, which is characterized in that the method is also wrapped It includes:
When receiving when the current languages of APP are switched to the instruction of specified languages of user's sending, APP is automatically from the specified mesh File corresponding with the specified languages is found in record, reads field from the file to replace current each Interface Element Text shown by element.
5. the method that a kind of application resource file as described in claim 1 compiles packet, which is characterized in that the customized language Kind file includes version information, before obtaining the good customized languages file of pre-production, the method also includes:
Whether the version for detecting the customized languages file updates.
6. the method that a kind of application resource file as claimed in claim 5 compiles packet, which is characterized in that obtain pre-production Opportunity of customized languages file include:
When detecting the version updating of the customized languages file, wherein the customized languages file of acquisition is latest edition This customized languages file.
7. the method that a kind of application resource file as described in claim 1 compiles packet, which is characterized in that described by each word Section is packaged the specified directory that generation resource file is stored in APP file
The resource file equal with field quantity is generated according to field quantity, wherein the resource file and the field are one by one It is corresponding, it include different marks in the resource file, the mark is for marking text shown by interface element;
The text that show of interface element is read from the field of the customized languages file according to the mark and be stored in and In the corresponding resource file of the field;
Resource file is stored in the specified directory in APP file.
8. the device that a kind of application resource file compiles packet, which is characterized in that described device includes:
Module is obtained, for obtaining the good customized languages file of pre-production, wherein the customized languages file includes not Same field, each field correspond to a languages, include text shown by each interface element in the field;
Identification module, for identification field in the customized languages file;
It is packaged memory module, is stored in the specified directory in APP file for each field to be packaged generation resource file.
9. a kind of equipment, the equipment compiles packet for application resource file, which is characterized in that the equipment includes:
Memory, for storing executable computer program instructions;
Processor, for executing the computer program instructions to realize such as a kind of application program of any one of claim 1 to 7 Resource file compiles the method and step of packet.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes that any one of claim 1 to 7 application resource file such as compiles packet when the computer program is executed by processor Method and step.
CN201811142259.4A 2018-09-28 2018-09-28 Application resource file compiles method, apparatus, equipment and the storage medium of packet Pending CN109408176A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811142259.4A CN109408176A (en) 2018-09-28 2018-09-28 Application resource file compiles method, apparatus, equipment and the storage medium of packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811142259.4A CN109408176A (en) 2018-09-28 2018-09-28 Application resource file compiles method, apparatus, equipment and the storage medium of packet

Publications (1)

Publication Number Publication Date
CN109408176A true CN109408176A (en) 2019-03-01

Family

ID=65466456

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811142259.4A Pending CN109408176A (en) 2018-09-28 2018-09-28 Application resource file compiles method, apparatus, equipment and the storage medium of packet

Country Status (1)

Country Link
CN (1) CN109408176A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111729313A (en) * 2020-05-06 2020-10-02 完美世界(北京)软件科技发展有限公司 Language configuration method and device, storage medium and electronic device
CN113515443A (en) * 2021-04-21 2021-10-19 深圳市康冠商用科技有限公司 Multi-language automatic checking method, device, computer equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739458A (en) * 2009-12-02 2010-06-16 中兴通讯股份有限公司 Method and system for updating multilingual resource
CN101916192A (en) * 2010-09-14 2010-12-15 深圳市华力特电气股份有限公司 Multi-language switching method and device for user interface
CN102289376A (en) * 2011-09-16 2011-12-21 烽火通信科技股份有限公司 Embedded multi-language WEB page realization method and system
US9400784B2 (en) * 2012-02-23 2016-07-26 Microsoft Technology Licensing, Llc Integrated application localization
CN107273136A (en) * 2017-06-26 2017-10-20 北京索瑞特医学技术有限公司 Support multilingual method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739458A (en) * 2009-12-02 2010-06-16 中兴通讯股份有限公司 Method and system for updating multilingual resource
CN101916192A (en) * 2010-09-14 2010-12-15 深圳市华力特电气股份有限公司 Multi-language switching method and device for user interface
CN102289376A (en) * 2011-09-16 2011-12-21 烽火通信科技股份有限公司 Embedded multi-language WEB page realization method and system
US9400784B2 (en) * 2012-02-23 2016-07-26 Microsoft Technology Licensing, Llc Integrated application localization
CN107273136A (en) * 2017-06-26 2017-10-20 北京索瑞特医学技术有限公司 Support multilingual method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DEVDIV移动开发社区: "《移动开发全平台解决方案》", 31 August 2011 *
DWJ611: "安卓多语言String文件生成器", 《HTTPS://BLOG.CSDN.NET/DWJ611/ARTICLE/DETAILS/70146565》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN111729313A (en) * 2020-05-06 2020-10-02 完美世界(北京)软件科技发展有限公司 Language configuration method and device, storage medium and electronic device
CN113515443A (en) * 2021-04-21 2021-10-19 深圳市康冠商用科技有限公司 Multi-language automatic checking method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109408176A (en) Application resource file compiles method, apparatus, equipment and the storage medium of packet
CN108664239B (en) Cross-technology-stack web front-end development system and method based on micro-service
CN102750152B (en) Method and device of application for generating a plurality of programming languages based on descriptive language
CN101667118A (en) Method and device for multi-language version development and replacement
US9697037B2 (en) Tagging virtual machine instances based on commands
CN108268609A (en) A kind of foundation of file path, access method and device
JP6951442B2 (en) Computer program products for sibling call processing, computer systems and methods implemented by computers
CN107766130A (en) The method and apparatus that virtual machine migrates to container
CN104978394A (en) Webpage tag data organization and update method for multi-language display
CN111729313A (en) Language configuration method and device, storage medium and electronic device
US10235190B2 (en) Executing instructions to store context information based on routine to be executed
CN112527291A (en) Webpage generation method and device, electronic equipment and storage medium
CN116755713A (en) Application program generation method, device, equipment and storage medium
CN105447040B (en) Binary file management and updating method, device and system
CN111414168B (en) Web application development method and device based on mind map and electronic equipment
CN108664505B (en) Method and device for exporting database table structure
CN113553301A (en) Header file processing method and device, computer readable storage medium and processor
CN112528193A (en) Page document processing method, page document management method and device, terminal device, computer device and server
US11157477B2 (en) Handling queries in document systems using segment differential based document text-index modelling
CN113127776A (en) Breadcrumb path generation method and device and terminal equipment
CN110737588A (en) automatic point burying method, device, medium and electronic equipment
CN108062295B (en) Content processing method and device
CN104978221A (en) Method and system for implementing downloading and deleting of program
CN110489130A (en) A kind of client-based business datum extracting method and device
CN107423084B (en) Program modification method and device

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: 20190301

RJ01 Rejection of invention patent application after publication