CN110263130A - Page info processing method, device and storage medium - Google Patents
Page info processing method, device and storage medium Download PDFInfo
- Publication number
- CN110263130A CN110263130A CN201910569892.XA CN201910569892A CN110263130A CN 110263130 A CN110263130 A CN 110263130A CN 201910569892 A CN201910569892 A CN 201910569892A CN 110263130 A CN110263130 A CN 110263130A
- Authority
- CN
- China
- Prior art keywords
- target text
- specified
- source file
- file
- source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/31—Programming languages or programming paradigms
- G06F8/315—Object-oriented languages
Abstract
This application discloses a kind of page info processing method, device and storage mediums, are related to financial technology field, and this method generates lists of documents by filtering out the specified source file comprising target text from the source code file of the page;Each specified source file for including in the lists of documents is traversed, the target text for including in each specified source file is searched, generates object language dictionary;Target text in object language dictionary is translated into at least one character using the second specified languages coding mode coding;And the corresponding Substitution Rules of file type using specified source file, processing is replaced to the target text for including in the specified source file.This method made in the development phase of the page, can be automatically performed the search for the sentence for needing to translate in source code, and translate automatically to these sentences, and automatically can be replaced processing to target text, improve the efficiency of page development.
Description
Technical field
This application involves the financial technology field (Fintech) more particularly to a kind of page info processing method, device and deposit
Storage media.
Background technique
With the development of computer technology, more and more technology (internet, big data, distribution, block chains
Blockchain, artificial intelligence etc.) it applies in financial field, traditional financial industry gradually turns to financial technology (Fintech)
Become, in internet industry, the programming language and programming framework of (World Wide Web, the WWW) front end Web exploitation are more next
It is abundanter, in order to meet the needs of different user, need to carry out multilingual displaying in web front end page presentation.
In the exploitation of the page (Web), page development stage and page operation rank are generally included in existing technical solution
Section.In the development process of the page, it usually needs the sentence that the multi-lingual opinion on public affairs that user manually finds from source code is shown.Example
Such as, Chinese sentence is found.Then, which is manually replaced with to the distance for needing languages, such as English sentence.
However, the source code of a large Web application often relates to several hundred a source code files, it is more to be related to thousands of needs
The sentence that languageization is shown using the sentence for manually finding the multi-lingual opinion on public affairs displaying of needs from source code file and is modified,
A large amount of manpower is expended, and the period is longer.
Summary of the invention
The embodiment of the present application provides a kind of page info processing method, device and storage medium, for solving the prior art
In in the page development stage, using manually finding the sentence for needing multi-lingual opinion on public affairs to show from source code file and modify,
Expend a large amount of manpower, and period longer problem.
The first aspect of the embodiment of the present application discloses a kind of page info processing mode, which comprises
Specified source file is filtered out from the source code file of the page, generates lists of documents;It is wrapped in the specified source file
Target text is included, the target text is the text that character code is carried out using the first languages coding mode;
Each specified source file for including in the lists of documents is traversed, the target text for including in each specified source file is searched
This, generates object language dictionary;
Target text in object language dictionary is translated at least one using the second specified languages coding mode coding
Character;And
Using the corresponding Substitution Rules of the file type of specified source file, to the target text for including in the specified source file
Originally it is replaced processing.
Optionally, the method also includes:
The respectively every kind character using the second specified languages coding mode coding generates corresponding single language dictionaries.
Optionally, specified source file is filtered out from the source code file of the page, generates lists of documents, comprising:
Invoking page is packaged the source file name list that plug-in unit traversal current project uses, and it is specified for filtering out file suffixes
The source file set of suffix;
It, will if confirming includes the target text in the source file for each source file in the source file set
Source file mark is added in lists of documents.
Optionally, specified source file is filtered out from the source code file of the page, generates lists of documents, comprising:
Call instruction row tool determines selected source folder in response to the selected operational order for source folder;
Source file is traversed in the selected source folder, obtains the specified source file, and generate lists of documents.
Optionally, the respectively every kind character using the second specified languages coding mode coding generates corresponding single language word
After allusion quotation, the method also includes:
It is instructed in response to merging, the character of at least two coding modes coding for merging and specifying in instruction is closed
And.
Optionally, the target text in object language dictionary is translated at least one using the second specified languages coding staff
After the character of formula coding, further includes:
It determines the target text translated not successfully, exports prompt information, include translating not successfully in the prompt information
Target text and corresponding the second specified languages translated not successfully.
Optionally, the target text in object language dictionary is translated at least one using the second specified languages coding staff
After the character of formula coding, the method also includes:
It determines in target text, by the sentence quantity of successful translation and shows, and/or,
It determines translation progress and shows.
Optionally, the target text in object language dictionary is translated at least one using the second specified languages coding staff
After the character of formula coding, the method also includes:
Translation result is filled into the object language dictionary.
Optionally, the method also includes:
After obtaining fresh target text again, determine whether the fresh target text has been turned over according to the object language dictionary
It translates;
If not being translated, the fresh target text is translated, and translation result is updated into the object language dictionary.
Optionally, after translation result being filled into the object language dictionary, the method also includes:
Show that translation result proofreads interface;
According to the operational order to the check and correction interface, the translation result in the object language dictionary is updated.
A kind of page information processing apparatus is disclosed in the second aspect of the embodiment of the present application, described device:
It is clear to generate file for filtering out specified source file from the source code file of the page for lists of documents generation unit
It is single;It include target text in the specified source file, the target text is to carry out character volume using the first languages coding mode
The text of code;
Dictionary creation unit searches each specified source document for traversing each specified source file for including in the lists of documents
The target text for including in part generates object language dictionary;
Translation unit, it is at least one using the second specified languages for translating into the target text in object language dictionary
The character of coding mode coding;
Replacement unit, for using the corresponding Substitution Rules of file type of specified source file, to the specified source file
In include target text be replaced processing.
Optionally, described device further include:
Single language dictionaries generation unit, for being respectively that every kind of character using the second specified languages coding mode coding is raw
At corresponding single language dictionaries.
Optionally, the lists of documents generation unit, is used for:
Invoking page is packaged the source file name list that plug-in unit traversal current project uses, and it is specified for filtering out file suffixes
The source file set of suffix;
It, will if confirming includes the target text in the source file for each source file in the source file set
Source file mark is added in lists of documents.
Optionally, the lists of documents generation unit, is used for:
Call instruction row tool determines selected source folder in response to the selected operational order for source folder;
Source file is traversed in the selected source folder, obtains the specified source file, and generate lists of documents.
Optionally, described device further include:
Combining unit compiles at least two coding modes specified in instruction that merge for instructing in response to merging
The character of code merges.
Optionally, described device further include:
Prompt unit, for the target text in object language dictionary to be translated at least one using the second specified language
After the character of kind of coding mode coding, the target text translated not successfully is determined, export prompt information, in the prompt information
Including the target text translated not successfully and corresponding the second specified languages translated not successfully.
Optionally, described device further include:
Display unit, for the target text in object language dictionary to be translated at least one using the second specified language
After the character of kind coding mode coding, determines in target text, by the sentence quantity of successful translation and show, and/or,
It determines translation progress and shows.
Optionally, described device further include:
Fills unit, it is at least one using the second specified languages for translating into the target text in object language dictionary
After the character of coding mode coding, translation result is filled into the object language dictionary.
Optionally, described device further include:
Updating unit determines fresh target text according to the object language dictionary after obtaining fresh target text again
Whether this has been translated;
If not being translated, the fresh target text is translated, and translation result is updated into the object language dictionary.
Optionally, described device further include:
Unit is proofreaded, after translation result is filled into the object language dictionary, display translation result check and correction
Interface;
According to the operational order to the check and correction interface, the translation result in the object language dictionary is updated.
The third aspect of the embodiment of the present application discloses a kind of computer-readable medium, is stored with the executable finger of computer
It enables, the computer executable instructions are for executing above-mentioned page info processing method.
The fourth aspect of the embodiment of the present application discloses a kind of computer installation, which includes: at least one
Processor;And the memory being connect at least one described processor communication;Wherein, be stored with can be described for the memory
The instruction that at least one processor executes, described instruction executed by least one described processor, so that described at least one
Reason device is able to carry out above-mentioned page info processing method.
The application is filtered out from the source code file of the page comprising target text to improve the efficiency of page development
Specified source file, generates lists of documents;Each specified source file for including in the lists of documents is traversed, each specified source file is searched
In include target text, generate object language dictionary;Target text in object language dictionary is translated at least one to adopt
With the character of the second specified languages coding mode coding;And the corresponding Substitution Rules of file type using specified source file,
Processing is replaced to the target text for including in the specified source file.This method made in the development phase of the page, can
To be automatically performed the search for the sentence for needing to translate in source code, and these sentences are translated automatically, and can be automatic
Processing is replaced to target text, reduce the link of manpower intervention, the efficiency of page development can be effectively improved.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application will make below to required in the embodiment of the present application
Attached drawing is briefly described, it should be apparent that, attached drawing described below is only some embodiments of the present application, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the method flow schematic diagram of page info processing in the embodiment of the present application;
Fig. 2 is the interface schematic diagram of the display translation progress provided in the embodiment of the present application;
Fig. 3 is another flow diagram of the method for page info processing in the embodiment of the present application;
Fig. 4 is another flow diagram of the method for page info processing in the embodiment of the present application;
Fig. 5 is the structural block diagram of the device of page info processing in the embodiment of the present application;
Fig. 6 is the structural schematic diagram of the computer installation provided in the embodiment of the present application.
Specific embodiment
To solve to need multi-lingual opinion on public affairs using manually finding from source code file in the prior art in the page development stage
The sentence of displaying is simultaneously modified, and a large amount of manpower, and period longer problem are expended.The embodiment of the present application provides one
Kind page info processing method, device and storage medium.In order to better understand technical method provided by the embodiments of the present application, this
In the basic principle of this programme is once briefly described:
The application can first determine target text (such as Chinese character text), really to improve the efficiency of page development
It sets the goal after text, the specified source file comprising target text is filtered out from the source code file of the page, generate lists of documents;
Each specified source file for including in the lists of documents is traversed, the target text for including in each specified source file is searched, generates mesh
Mark language dictionaries;Target text in object language dictionary is translated at least one using the second specified languages coding mode volume
The character of code;And the corresponding Substitution Rules of file type using specified source file, to including in the specified source file
Target text is replaced processing.This method made in the development phase of the page, can be automatically performed and need to turn in source code
The search for the sentence translated, and these sentences are translated automatically, and processing automatically can be replaced to target text,
Reduce the link of manpower intervention, the efficiency of page development can be effectively improved.In addition, lists of documents, target language in the application
It says dictionary and source file is all substep output.In this way, manpower intervention is carried out between each step convenient for user, in order to
The lists of documents that manual amendment generates, dictionary and source code file.So that the exploitation O&M that the Web of bank and other financial mechanism is applied
More efficiently, it ensure that bank's various businesses operation platform normal use, to realize various businesses (such as loan transaction, deposit
Business etc.) normal development.
The method of page info provided by the embodiments of the present application processing is described further with reference to the accompanying drawing.Such as Fig. 1
It is shown, it is the flow diagram of this method, comprising the following steps:
Step 101, specified source file is filtered out from the source code file of the page, generates lists of documents;The specified source
It include target text in file, the target text is the text that character code is carried out using the first languages coding mode.
In the development phase of the page, plug-in unit or command-line tool can be used, by certain screening rule from the page
Source code file in Automatic sieve select specified source file, generate lists of documents, it is specific that plug-in unit and command-line tool is called to generate
The process of lists of documents can be described in detail later.
Step 102, each specified source file for including in the lists of documents is traversed, includes in each specified source file of lookup
Target text generates object language dictionary.
Step 103, the target text in object language dictionary is translated at least one using the second specified languages coding
The character that mode encodes.
Step 104: using the corresponding Substitution Rules of file type of specified source file, to including in the specified source file
Target text be replaced processing.
For example, the text for carrying out multilingual displaying can will be needed to replace with the text comprising translation mark in source code file
This.For example, the corresponding language of the text for needing to carry out multilingual displaying in source code file is Chinese, it is assumed that need to carry out multi-lingual
The text that speech is shown is ' Chinese sentence ', then the replaced text comprising translation mark is _ t (' Chinese sentence ').About such as
How to determine target text, and how to be replaced processing to be described in detail below, wouldn't repeat here.
In one embodiment, specified source file is filtered out from the source code file of the page, generating lists of documents can be real
It applies as two ways, when it is implemented, user can select according to actual needs corresponding mode:
May include step A1- step A2 when mode one, specific implementation:
Step A1, invoking page is packaged the source file name list that plug-in unit traversal current project uses, after filtering out file
Sew the source file set for designated suffix;
Step A2, for each source file in the source file set, if confirming in the source file comprising the target text
Source file mark, then be added in lists of documents by this.
In the development phase of the page, the name column for the source file that plug-in unit traversal current project uses can be packaged with invoking page
Table is obtained the source file of designated suffix by screening, obtains source file set.Then, it is filtered out by regular expression judgement
Source file in whether include target text, target text can be Chinese, can also be the non-latin script characters language such as Japanese
Other languages.If including target text in the source file filtered out, it is clear that the mark of the source file is just added to file
Dan Zhong.Invoking page is packaged plug-in unit can obtain lists of documents automatically, improve development efficiency.
May include step B1- step B2 when mode two, specific implementation:
Step B1, call instruction row tool determine selected source document in response to the selected operational order for source folder
Part folder;
Step B2 traverses source file in selected file, obtains specified source file, and generate lists of documents.
In the development phase of the page, which can support two kinds of operational orders of include and exclude.Wherein,
For include for specifying file to be treated, exclude is not required to file or file to be processed for specified.
Include and exclude can support multinomial file path respectively, can also support asterisk wildcard.For example, include=src/*.js,
Dir/some.jsp, src/*.js, dir/bame.html indicate to support two file paths, respectively src/*.js, dir/
Some.jsp and src/*.js, dir/bame.html, two file paths can be used ", " to distinguish.
When it is implemented, can be used alone two kinds of operational orders of include and exclude, nested two can also be used
Kind operational order.Nesting uses the operational order of include and exclude, e.g., in source folder A-E, use
Include operational order filters out the source folder A in include order, it is assumed that source folder A includes that number is 1-100
100 subfiles, then reuse exclude operational order by unwanted file in filter out 100 subfiles into
Row is rejected, for example weeds out the subfile that number is 1-50 using exclude operational order, then number 51- in source folder A
100 subfile is to determine selected source file.It is traversed in determining selected source file, filters out specified file class
Type and include target text source file generate lists of documents.For example selecting suffix name is respectively .veu .js .htlm .jsp
Source file, then whether judged in source file by regular expression comprising target text.If in the source file filtered out
Comprising target text, then just the mark of the source file is added in lists of documents.Call instruction row tool can obtain automatically
Lists of documents are taken, the course of work of the overlapping development such as manual creation lists of documents can also be reduced.
In one embodiment, the target text in object language dictionary is translated at least one using the second specified language
After the character of kind coding mode coding, this method further include: determine in target text, by the sentence quantity of successful translation and show
Show, and/or, it determines translation progress and shows.
As shown in Fig. 2, showing the interface schematic diagram of content for when being translated by target text of Chinese.In the interface
Expression shares 2073 Chinese sentences and needs to translate, and continuous updating current schedules and shows.It may also display after the completion of translation
The address that the sentence number and translation result of successful translation save.
Certainly, it should be noted that translation progress can show that the embodiment of the present application is not to aobvious in the form of progress bar
Show that the concrete mode of translation progress is defined.
Using the embodiment show translation sentence number and/or translation progress, in order to user understand translation process into
Open up situation.
In one embodiment, can also the target text in object language dictionary is translated into it is at least one using the
After the character of two specified languages coding mode codings, translation result is filled into the object language dictionary.Namely the mesh
It include the translation result for needing the target text and each target text translated in mark language dictionaries.
When implementation, filled object language dictionary can be as shown in table 1: in table 1, target text number can be global
Unique identification, for uniquely indicating the target text for needing to translate.Next two columns are macaronic translation result.It needs
Illustrate, the embodiment of the present application only for illustration of table 1, is not used to limit the embodiment of the present application.
Table 1
Target text number | Target text | Translator of English result | Japanese Translator result |
1 | Sentence 1 | **** | **** |
… | … | **** | **** |
n | Sentence n | **** | **** |
After replacement processing, the stage is shown to the page, can be found from dictionary shown in table 1 according to source file corresponding
Translation result carries out page presentation.
In addition, it is optional, after obtaining translation result, translation result check and correction interface can be shown for check and correction;Then basis
To the operational order at the check and correction interface, the translation result in the object language dictionary is updated.That is, can be by translation result
It shows, and check and correction interface is provided.Then the operation according to press corrector in check and correction interface, is updated translation result
And maintenance.That is, the translator of profession automatic translation result can be transferred to proofread, and translation is tied by translator
Fruit is modified.
It in one embodiment, can also be respectively every kind in the embodiment of the present application in order to meet the different demands of user
Corresponding single language dictionaries are generated using the character of the second specified languages coding mode coding.That is, by each specified source file
In include target text translate at least one character using the second specified languages coding mode coding after, can according to
Corresponding single language dictionaries that the needs at family generate the character of every kind of specified languages coding mode coding.For example, obtaining table 1
After the multilingual dictionary, which can be divided into the source file for separately including each language.Including being compiled containing English
Single language dictionaries of code character, single language dictionaries containing Japanese code character can also further generate single language containing Chinese
Say dictionary.The character of second specified languages coding mode coding is divided into different source files according to languages classification, is convenient for user
The management work to different language is unfolded, while being also convenient for proofread according to different language in check and correction.
In addition, being the actual user demand of further satisfaction, may also respond to merge instruction in the embodiment of the present application, it will
The character for merging at least two coding modes coding specified in instruction merges, also i.e. by different language translation result
It merges.Wherein, the translation result of which languages being merged can be specified by user.
In one embodiment, the target text in object language dictionary is translated at least one using the second specified language
After the character of kind coding mode coding, further includes: it determines the target text translated not successfully, exports prompt information, it is described to mention
Show to include the target text translated not successfully and corresponding the second specified languages translated not successfully in information.
For ease of understanding, continue to be exemplified by Table 1 here.For each target text, its translator of English can be traversed the result is that
No is sky, if it is empty, then illustrates that respective objects text translates into English not successfully, if assuming, sentence 1 translates into English not successfully,
The prompt information that sentence 1 does not obtain translation result can be issued.When in order to proofread can according to prompt human translation sentence 1,
To which the target text for guaranteeing that each needs are translated can have corresponding translation result.
In one embodiment, the dictionary as described in Table 1 for the ease of incremental update can be in the embodiment of the present application
After obtaining fresh target text again, determine whether the fresh target text has been translated according to the object language dictionary;If not by
Translation then translates the fresh target text, and translation result is updated into the object language dictionary.For example, first generate contains
After having multilingual object language dictionary, scheme provided by the embodiments of the present application can also be used on demand, using page above-mentioned
Face is packaged plug-in unit or command-line tool, and obtains fresh target text according to regular expressions.If the fresh target text of acquisition is
It is translated, then can avoid repeating to translate, if be not translated, can be translated, obtained translation knot without translation
Fruit can incremental update into object language dictionary.
For ease of understanding, it will be hereafter described further to how to determine target text and how to be replaced processing.
The embodiment of the present application determines target text in the file type difference of specified source file from source code file
Mode is not also identical, is illustrated respectively below for different types of source code file.
One, source code file is JavaScript source code file.
When specified source file is JavaScript source code file, need are determined from source code file according to following manner
Target text to be processed:
It is matched by content of the preset regular expression to the specified source file, determines alternative character string;
It will include the character string of the preset language in the alternative character string as the target text to be treated.
In implementation, when the suffix of the filename of specified source file is .js, determine that specified source file is the source JavaScript
Code file;Then, it is matched by content of the preset regular expression to specified source file, for example, preset canonical
Expression formula may is that
New RegExp (' / * [ s S] *? * /| ([^ :] | ^) //.*', ' gm')
The regular expression can match the annotation of the uniline in .js file and multirow annotation, the generation before and after each annotation block
Code block is visually independent code block, in each independent code block, with the list occurred in pairs in regular expression matching row
Quotation marks, double quotation marks, obtain single quotation marks or double quotation marks is the character string of start-stop, which is alternative character string.
After determining alternative character string, can using preset regular expression judge be in alternative character string
No includes preset language, for example, judging whether wrap in alternative characters string with regular expression when preset language is Simplified Chinese
Character string containing Simplified Chinese.When including preset language in the alternative character string of determination, determine that the alternative characters string is needs
The target text of processing.
It should be noted that determined from specified source file preset regular expression that alternative character string uses,
From judge in alternative character string the preset regular expression whether used comprising preset language for different regular expressions.
In addition, the embodiment of the present application can determine one or more target texts to be treated from specified source file
This.
After target text is determined from specified source file, the corresponding Substitution Rules pair of JavaScript source code file are used
Target text is replaced processing.
A kind of optional embodiment is that Substitution Rules are that target text is replaced with to the text comprising translation mark.
It should be noted that comprising after preset language in determining alternative characters string, it is also necessary to judge alternative characters string
Context in whether comprising translation mark or retain mark, determine do not include translation mark and retain mark after, will be standby
Character string is selected to replace with the text comprising translation mark;It is determining comprising translation mark or after retaining mark, then it is standby to retain this
Select character string.
For example, presetting translation is identified as _ t (), presets reservation and be identified as _ r ();
Exemplary, the corresponding Substitution Rules of .js file are as follows:
Using single quotation marks or double quotation marks as the character string of start-stop such as ' Zhang San ', then Substitution Rules are addition _ t () translation mark,
Replacing result is _ t (' Zhang San ');
If containing the character string of translation mark in the context of character string, such as _ t (' Li Si '), then the character string retains;
If containing the character string for retaining mark in the context of character string, such as _ r (' king five '), then retain the character string.
As shown in figure 3, the embodiment of the present application text replacement when specified source file is JavaScript source code file
Entire flow figure.
Step S301: specified source file is read in;
Step S302: the file type of specified source file is determined to pass through preset regular expression pair after preset kind
The content of source code file is matched, and determines alternative character string;
Wherein, preset kind include JavaScript source code file, Html source code file, jsp source code file,
Vue source code file;
Step S303: will include the character string of preset language in alternative character string as target text to be treated;
Step S304: the corresponding Substitution Rules of file type of specified source file are determined;
Step S305: processing is replaced to target text using determining Substitution Rules.
Two, specifying source file is Html source code file.
When specified source file is Html source code file, according to following manner, determination needs to handle from source code file
Target text:
The child node in the specified source file is traversed, the attribute and/or content of child node are obtained;Pass through preset canonical
Expression formula determines the attribute and/or content of the child node comprising the preset language, and will determine comprising the default language
The attribute and/or content of the child node of speech are as the target text to be treated.
In implementation, when the suffix of the filename of specified source file is .html, determine that specified source file is Html source code
File;Then, it is parsed by content of the htmlparser to specified source file, traverses and obtain the attribute of child node and interior
Hold;Then, the category of the child node in the attribute and content of child node comprising preset language is found by preset regular expression
Property and content, in the attribute and content for determining child node include preset language when, determine the attribute of the child node and content be
Target text to be treated.
After determining target text in specified source file, using the corresponding Substitution Rules of Html source code file to target
Text is replaced processing.
Due to including different types of child node, different types of child node pair in the embodiment of the present application in specified source file
The Substitution Rules answered may be different;It include the corresponding son of different sub-node types in the corresponding Substitution Rules of Html source code file
Substitution Rules.
For example, including the first sub- Substitution Rules, the second sub- Substitution Rules in the corresponding Substitution Rules of Html source code file
With the sub- Substitution Rules of third;Wherein the corresponding sub- Substitution Rules of regular node are the first sub- Substitution Rules, style node and annotation
It is the second sub- Substitution Rules that node, which corresponds to sub- Substitution Rules, and the corresponding sub- Substitution Rules of script node are the sub- Substitution Rules of third.
It should be noted that the regular node of the embodiment of the present application be Html tree in addition to style node, comment nodes and
Node except script node.
When specified source file is Html source code file, processing is replaced to target text according to following manner:
According to the corresponding relationship of preset sub-node type and sub- Substitution Rules, determine in the source code file
The corresponding sub- Substitution Rules of child node;Place is replaced to the target text using the child node corresponding sub- Substitution Rules
Reason.
For example, the corresponding first sub- Substitution Rules of regular node include but is not limited to:
If 1, target text is the content of child node, uses { { } } variable expression and use translation mark (wherein,
Translation mark can be _ t () mark);
Assuming that target text is<i>zhang San</i>, then replacing result is<i>_ t (' Zhang San ')</i>.
If 2, target text is the attribute of child node, uses { { } } variable expression and use _ t () mark;
Assuming that target text is<i attr="Li si"></i>, then replacing result is<i attr=" _ t (' Lee
four' ) }}"></i>.
If 3, target text is the content of child node, and contains preset language and Html reserved word in the content of child node,
Then by reserved word punctuate after, each section according to target text be child node content rule process;
Assuming that target text is<i>king's Wu  ;Include reserved word</i>, preset language is Simplified Chinese, then replaces knot
Fruit is<i>{ { _ t (' king five ') } }  ;_ t (' reserved word ').
If 4, target text is the content of child node, and contains variable expression in the content of child node, then by former variable
It replaces with { n }, and is passed to variable expression as the parameter of _ t;
Assuming that target text is<i>zhao six { { msg } } includes variable</i>, then replacing result is<i>_ t (' Zhao six { 0 }
Comprising variable ', msg) } }</i>.
If 5, target text is the attribute of child node, and contains variable expression in the attribute of child node, then by former variable
It replaces with { n }, and is passed to variable expression as the parameter of _ t;
Assuming that target text is<i prop="attribute{{msg}}including variable"></i>, then replacing result is<i prop
="{{_t ( 'attribute{0}including variable',msg ) }}"></i>.
If 6, target text is the attribute of child node, and contains the character string with single quotation marks in the attribute of child node, then make
With { { } } variable expression and use _ t () mark;
Assuming that<i prop="'string attribute'"></i>, then replacing result is<i prop=" _ t (' character string category
sex' ) }}"></i>.
The corresponding second sub- Substitution Rules of style node and comment nodes, for being traversed in style node and comment nodes
Obtained content and attribute keeps style node and content in comment nodes and attribute constant.
Script node corresponds to the sub- Substitution Rules of third, and the sub- Substitution Rules of third are corresponding with JavaScript source code file
Substitution Rules are identical.
Three, specifying source file is jsp source code file.
When specified source file is jsp source code file, according to following manner, determination needs to handle from specified source file
Target text:
The child node in the source code file is traversed, the attribute and/or content of child node are obtained;Pass through preset canonical
Expression formula determines the attribute and/or content of the child node comprising the preset language, and will determine comprising the default language
The attribute and/or content of the child node of speech are as the target text to be treated.
In implementation, when the suffix of the filename of specified source file is .jsp, determine that specified source file is jsp source code text
Part;Then jsp source code file is considered as Html tree to traverse, by htmlparser to the content of specified source file into
Row parsing, traverses and obtains the attribute and content of child node;Then, the attribute of child node is found by preset regular expression
With the attribute and content of the child node in content including preset language, default language is included in the attribute and content for determining child node
Yan Shi, determines the attribute of the child node and content is target text to be treated.
After determining target text in specified source file, using the corresponding Substitution Rules of jsp source code file to target
Text is replaced processing.
Due to including different types of child node, different types of son in the embodiment of the present application in source code file to be processed
The corresponding Substitution Rules of node may be different;It include different sub-node types pair in the corresponding Substitution Rules of jsp source code file
The sub- Substitution Rules answered.
For example, in the corresponding Substitution Rules of jsp source code file comprising the first sub- Substitution Rules, the second sub- Substitution Rules and
The sub- Substitution Rules of third;Wherein the corresponding sub- Substitution Rules of regular node are the first sub- Substitution Rules, style node and annotation section
The corresponding sub- Substitution Rules of point are the second sub- Substitution Rules, and the corresponding sub- Substitution Rules of script node are the sub- Substitution Rules of third.
It should be noted that the regular node of the embodiment of the present application be Html tree in addition to style node, comment nodes and
Node except script node.
When specified source file is jsp source code file, processing is replaced to target text according to following manner:
According to the corresponding relationship of preset sub-node type and sub- Substitution Rules, determine in the source code file
The corresponding sub- Substitution Rules of child node;Place is replaced to the target text using the child node corresponding sub- Substitution Rules
Reason.
When specified source file is jsp source code file, preset sub-node type and the corresponding of sub- Substitution Rules are closed
System with source code file for Html source code file when sub-node type and sub- Substitution Rules corresponding relationship it is identical, herein not
It repeats again.
Four, specifying source file is vue source code file.
When specified source file is vue source code file, according to following manner, determination needs to handle from specified source file
Target text:
The child node in the source code file is traversed, the attribute and/or content of child node are obtained;Pass through preset canonical
Expression formula determines the attribute and/or content of the child node comprising the preset language, and will determine comprising the default language
The attribute and/or content of the child node of speech are as the target text to be treated.
In implementation, when the suffix of the filename of specified source file is .vue, determine that specified source file is vue source code text
Part;Then vue source code file is considered as Html tree to traverse, by htmlparser to the content of specified source file into
Row parsing, traverses and obtains the attribute and content of child node;Then, the attribute of child node is found by preset regular expression
With the attribute and content of the child node in content including preset language, default language is included in the attribute and content for determining child node
Yan Shi, determines the attribute of the child node and content is target text to be treated.
After determining target text in specified source file, using the corresponding Substitution Rules of vue source code file to target
Text is replaced processing.
Due to including different types of child node, different types of son in the embodiment of the present application in source code file to be processed
The corresponding Substitution Rules of node may be different;It include different sub-node types pair in the corresponding Substitution Rules of vue source code file
The sub- Substitution Rules answered.
For example, in the corresponding Substitution Rules of vue source code file comprising the first sub- Substitution Rules, the second sub- Substitution Rules and
The sub- Substitution Rules of third;Wherein the corresponding sub- Substitution Rules of regular node are the first sub- Substitution Rules, style node and annotation section
The corresponding sub- Substitution Rules of point are the second sub- Substitution Rules, and the corresponding sub- Substitution Rules of script node are the sub- Substitution Rules of third.
It should be noted that the regular node of the embodiment of the present application be Html tree in addition to style node, comment nodes and
Node except script node.
When specified source file is vue source code file, processing is replaced to target text according to following manner:
According to the corresponding relationship of preset sub-node type and sub- Substitution Rules, determine in the source code file
The corresponding sub- Substitution Rules of child node;Place is replaced to the target text using the child node corresponding sub- Substitution Rules
Reason.
For example, the corresponding first sub- Substitution Rules of regular node include but is not limited to:
If 1, target text is the content of child node, uses { { } } variable expression and use translation mark (wherein,
Translation mark can be _ t () mark);
Assuming that target text is<i>zhang San</i>, then replacing result is<i>_ t (' Zhang San ')</i>.
If 2, target text is the attribute of child node, uses { { } } variable expression and use _ t () mark;
Assuming that target text is<iattr="Li si"></i>, then replacing result is<iattr=" _ t (' Lee
four' ) }}"></i>.
If 3, target text is the attribute of child node, and the attribute of child node is started with colon, then using _ t () mark;
Assuming that target text is<i:attr="'Wang wu'"></i>, then replacing result is<i:attr=" _ t (' king
five' ) "></i>
If 4, target text is the attribute of child node, and the attribute of child node is started with v-, then using _ t () mark;
Assuming that target text is<iv-if="'Zhao Liu'"></i>, then replacing result is<iv-if="_t ( 'Zhao Liu' ) ">
</i>
If 5, target text is the content of child node, and contains preset language and Html reserved word in the content of child node,
Then by reserved word punctuate after, each section according to target text be child node content rule process;
Assuming that target text is<i>money Qi  ;Include reserved word</i>, preset language is Simplified Chinese, then replaces knot
Fruit is<i>{ { _ t (' money seven ') } }  ;_ t (' reserved word ').
If 6, target text is the content of child node, and contains variable expression in the content of child node, then by former variable
It replaces with { n }, and is passed to variable expression as the parameter of _ t;
Assuming that target text is<i>zhang San { { msg } } includes variable</i>, then replacing result is<i>_ t (' Zhang San { 0 }
Comprising variable ', msg) } }</i>.
The corresponding second sub- Substitution Rules of style node and comment nodes, for being traversed in style node and comment nodes
Obtained content and attribute keeps style node and content in comment nodes and attribute constant.
Script node corresponds to the sub- Substitution Rules of third, and the sub- Substitution Rules of third are corresponding with JavaScript source code file
Substitution Rules are identical.
As shown in figure 4, the embodiment of the present application is Html source code file, jsp source code file or vue in specified source file
The entire flow figure that text is replaced when source code file.
Step S401: specified source file is read in;
Step S402: the file type for determining specified source file is the son section in traversal source code file after preset kind
Point obtains the attribute and/or content of child node;
Wherein, preset kind include JavaScript source code file, Html source code file, jsp source code file,
Vue source code file;
Step S403: by preset regular expression determine comprising the preset language child node attribute and/or
Content;
Step S404: using the attribute for the child node comprising preset language determined and/or content as to be treated
Target text;
Step S405: according to the corresponding relationship of preset sub-node type and sub- Substitution Rules, specified source document is determined
The corresponding sub- Substitution Rules of child node in part;
Step S406: processing is replaced to target text using determining sub- Substitution Rules.
Based on inventive concept identical with page info processing method, the embodiment of the present application also provides a kind of page infos
Processing unit, as shown in figure 5, the device includes;
Lists of documents generation unit 501 generates file for filtering out specified source file from the source code file of the page
Inventory;It include target text in the specified source file, the target text is to carry out character using the first languages coding mode
The text of coding;
Dictionary creation unit 502 searches each specified source for traversing each specified source file for including in the lists of documents
The target text for including in file generates object language dictionary;
Translation unit 503 is specified for the target text in object language dictionary to be translated at least one using second
The character of languages coding mode coding;
Replacement unit 504, for using the corresponding Substitution Rules of file type of specified source file, to the specified source document
The target text for including in part is replaced processing.
Optionally, described device further include:
Single language dictionaries generation unit, for being respectively that every kind of character using the second specified languages coding mode coding is raw
At corresponding single language dictionaries.
Optionally, the lists of documents generation unit, is used for:
Invoking page is packaged the source file name list that plug-in unit traversal current project uses, and it is specified for filtering out file suffixes
The source file set of suffix;
It, will if confirming includes the target text in the source file for each source file in the source file set
Source file mark is added in lists of documents.
Optionally, the lists of documents generation unit, is used for:
Call instruction row tool determines selected source folder in response to the selected operational order for source folder;
Source file is traversed in the selected source folder, obtains the specified source file, and generate lists of documents.
Optionally, described device further include:
Combining unit compiles at least two coding modes specified in instruction that merge for instructing in response to merging
The character of code merges.
Optionally, described device further include:
Prompt unit, for the target text in object language dictionary to be translated at least one using the second specified language
After the character of kind of coding mode coding, the target text translated not successfully is determined, export prompt information, in the prompt information
Including the target text translated not successfully and corresponding the second specified languages translated not successfully.
Optionally, described device further include:
Display unit, for the target text in object language dictionary to be translated at least one using the second specified language
After the character of kind coding mode coding, determines in target text, by the sentence quantity of successful translation and show, and/or,
It determines translation progress and shows.
Optionally, described device further include:
Fills unit, it is at least one using the second specified languages for translating into the target text in object language dictionary
After the character of coding mode coding, translation result is filled into the object language dictionary.
Optionally, described device further include:
Updating unit determines fresh target text according to the object language dictionary after obtaining fresh target text again
Whether this has been translated;
If not being translated, the fresh target text is translated, and translation result is updated into the object language dictionary.
Optionally, described device further include:
Unit is proofreaded, after translation result is filled into the object language dictionary, display translation result check and correction
Interface;
According to the operational order to the check and correction interface, the translation result in the object language dictionary is updated.
In the page info processing method and processing device for describing the application illustrative embodiments, next, introducing basis
The computing device of the another exemplary embodiment of the application.
Person of ordinary skill in the field it is understood that the various aspects of the application can be implemented as system, method or
Program product.Therefore, the various aspects of the application can be with specific implementation is as follows, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
In some possible embodiments, according to an embodiment of the present application, computing device can include at least at least one
A processor and at least one processor.Wherein, memory is stored with program code, when program code is executed by processor
When, so that processor executes handling according to the page info of the various illustrative embodiments of the application for this specification foregoing description
Step in method.
The computing device 60 of this embodiment according to the application is described referring to Fig. 6.The calculating dress that Fig. 6 is shown
Setting 60 is only an example, should not function to the embodiment of the present application and use scope bring any restrictions.The computing device
Such as can be mobile phone, tablet computer etc..
As shown in fig. 6, computing device 60 is showed in the form of general-purpose calculating appts.The component of computing device 60 may include
But be not limited to: at least one above-mentioned processor 601, above-mentioned at least one processor 602, the different system components of connection (including are deposited
Reservoir 602 and processor 601) bus 603.
Bus 603 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, processor or the local bus using any bus structures in a variety of bus structures.
Memory 602 may include the readable medium of form of volatile memory, such as random access memory (RAM)
6021 and/or cache memory 6022, it can further include read-only memory (ROM) 3023.
Memory 602 can also include program/utility 6025 with one group of (at least one) program module 6024,
Such program module 6024 includes but is not limited to: operating system, one or more application program, other program modules and
It may include the realization of network environment in program data, each of these examples or certain combination.
Computing device 60 can also be communicated with one or more external equipments 604 (such as sensing equipment etc.), can also be with one
It is a or it is multiple enable a user to the equipment interacted with computing device 60 communication, and/or with enable the computing device 60 and one
Any equipment (such as router, modem etc.) communication that a or a number of other computing devices are communicated.It is this logical
Letter can be carried out by input/output (I/O) interface 605.Also, computing device 60 can also by network adapter 606 with
One or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.Such as
Shown in figure, network adapter 606 is communicated by bus 603 with other modules for computing device 60.It will be appreciated that though figure
In be not shown, can in conjunction with computing device 60 use other hardware and/or software module, including but not limited to: microcode, equipment
Driver, redundant processor, external disk drive array, RAI d system, tape drive and data backup storage system
Deng.
In some possible embodiments, the various aspects of page info processing method provided by the present application can also be real
It is now a kind of form of program product comprising program code, when program product is run on a computing device, program code
For making computer equipment execute the page info according to the various illustrative embodiments of the application of this specification foregoing description
The step of processing method, the step of execution as shown in figs. 1-4.
Program product can be using any combination of one or more readable mediums.Readable medium can be readable signal Jie
Matter or readable storage medium storing program for executing.Readable storage medium storing program for executing for example may be-but not limited to-electricity, magnetic, optical, electromagnetic, infrared
The system of line or semiconductor, device or device, or any above combination.The more specific example of readable storage medium storing program for executing is (non-
The list of exhaustion) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM),
Read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, the read-only storage of portable compact disc
Device (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The page info processing method of the application embodiment can use portable compact disc read only memory (CD-
ROM it) and including program code, and can run on the computing device.However, the program product of the application is without being limited thereto, at this
In file, readable storage medium storing program for executing can be any tangible medium for including or store program, which can be commanded and execute system
System, device or device use or in connection.
Readable signal medium may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying
Readable program code.The data-signal of this propagation can take various forms, including --- but being not limited to --- electromagnetism letter
Number, optical signal or above-mentioned any appropriate combination.Readable signal medium can also be other than readable storage medium storing program for executing it is any can
Read medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Program in connection.
The program code for including on readable medium can transmit with any suitable medium, including --- but being not limited to ---
Wirelessly, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with any combination of one or more programming languages come write for execute the application operation program
Code, programming language include object oriented program language-Java, C++ etc., further include conventional process
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes on device, partly execute on a user device, executing, as an independent software package partially in user's computing device
Upper part executes on remote computing device or executes on remote computing device or server completely.It is being related to remotely counting
In the situation for calculating device, remote computing device can pass through the network of any kind --- including local area network (LAN) or wide area network
(WAN)-it is connected to user's computing device, or, it may be connected to external computing device (such as provided using Internet service
Quotient is connected by internet).
It should be noted that although being referred to several unit or sub-units of device in the above detailed description, this stroke
It point is only exemplary not enforceable.In fact, according to presently filed embodiment, it is above-described two or more
The feature and function of unit can embody in a unit.Conversely, the feature and function of an above-described unit can
It is to be embodied by multiple units with further division.
In addition, although in the accompanying drawings sequentially to describe the operation of the application method, this does not require that or implies
These operations must be sequentially executed according to this, or have to carry out operation shown in whole and be just able to achieve desired result.It is attached
Add ground or it is alternatively possible to omit certain steps, multiple steps are merged into a step and are executed, and/or by a step point
Solution is execution of multiple steps.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program
Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application
Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more,
The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces
The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with side
In the computer-readable memory of formula work, so that it includes instruction dress that instruction stored in the computer readable memory, which generates,
The manufacture set, the command device are realized in one box of one or more flows of the flowchart and/or block diagram or multiple
The function of being specified in box.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Claims (16)
1. a kind of page info processing method, which is characterized in that the described method includes:
Specified source file is filtered out from the source code file of the page, generates lists of documents;It include mesh in the specified source file
Text is marked, the target text is the text that character code is carried out using the first languages coding mode;
Each specified source file for including in the lists of documents is traversed, the target text for including in each specified source file is searched, it is raw
At object language dictionary;
Target text in object language dictionary is translated into at least one word using the second specified languages coding mode coding
Symbol;And
Using the corresponding Substitution Rules of the file type of specified source file, to the target text for including in the specified source file into
Row replacement processing.
2. the method according to claim 1, wherein the method also includes:
The respectively every kind character using the second specified languages coding mode coding generates corresponding single language dictionaries.
3. the method according to claim 1, wherein filtering out specified source document from the source code file of the page
Part generates lists of documents, comprising:
Invoking page is packaged the source file name list that plug-in unit traversal current project uses, and filtering out file suffixes is designated suffix
Source file set;
For each source file in the source file set, if confirming comprising the target text in the source file, by the source
File identification is added in lists of documents.
4. the method according to claim 1, wherein filtering out specified source document from the source code file of the page
Part generates lists of documents, comprising:
Call instruction row tool determines selected source folder in response to the selected operational order for source folder;
Source file is traversed in the selected source folder, obtains the specified source file, and generate lists of documents.
5. according to the method described in claim 2, it is characterized in that, respectively every kind is compiled using the second specified languages coding mode
After the character of code generates corresponding single language dictionaries, the method also includes:
It is instructed in response to merging, the character of at least two coding modes coding for merging and specifying in instruction is merged.
6. the method according to claim 1, wherein the target text in object language dictionary is translated at least
After a kind of character of the specified languages coding mode coding of use second, further includes:
It determines the target text translated not successfully, exports prompt information, include the target translated not successfully in the prompt information
Text and corresponding the second specified languages translated not successfully.
7. the method according to claim 1, wherein the target text in object language dictionary is translated at least
After a kind of character of the specified languages coding mode coding of use second, the method also includes:
It determines in target text, by the sentence quantity of successful translation and shows, and/or,
It determines translation progress and shows.
8. method according to claim 1-7, which is characterized in that turn over the target text in object language dictionary
It is translated into after at least one character using the second specified languages coding mode coding, the method also includes:
Translation result is filled into the object language dictionary.
9. according to the method described in claim 8, it is characterized in that, the method also includes:
After obtaining fresh target text again, determine whether the fresh target text has been translated according to the object language dictionary;
If not being translated, the fresh target text is translated, and translation result is updated into the object language dictionary.
10. according to the method described in claim 8, it is characterized in that, translation result is filled into the object language dictionary
Later, the method also includes:
Show that translation result proofreads interface;
According to the operational order to the check and correction interface, the translation result in the object language dictionary is updated.
11. a kind of page information processing apparatus, which is characterized in that the method device:
Lists of documents generation unit generates lists of documents for filtering out specified source file from the source code file of the page;Institute
Stating includes target text in specified source file, and the target text is the text that character code is carried out using the first languages coding mode
This;
Dictionary creation unit is searched in each specified source file for traversing each specified source file for including in the lists of documents
The target text for including generates object language dictionary;
Translation unit, it is at least one using the second specified languages coding for translating into the target text in object language dictionary
The character that mode encodes;
Replacement unit, for using the corresponding Substitution Rules of file type of specified source file, to being wrapped in the specified source file
The target text contained is replaced processing.
12. device according to claim 11, which is characterized in that described device further include:
Single language dictionaries generation unit, for being respectively every kind of character generation pair using the second specified languages coding mode coding
The single language dictionaries answered.
13. device according to claim 11, which is characterized in that the lists of documents generation unit is used for:
Invoking page is packaged the source file name list that plug-in unit traversal current project uses, and filtering out file suffixes is designated suffix
Source file set;
For each source file in the source file set, if confirming comprising the target text in the source file, by the source
File identification is added in lists of documents.
14. the described in any item devices of 1-13 according to claim 1, which is characterized in that the lists of documents generation unit is used
In:
Call instruction row tool determines selected source folder in response to the selected operational order for source folder;
Source file is traversed in the selected source folder, obtains the specified source file, and generate lists of documents.
15. a kind of computer-readable medium, is stored with computer executable instructions, which is characterized in that the computer is executable
Instruction is for executing method as claimed in any one of claims 1-10.
16. a kind of computer installation characterized by comprising at least one processor;And at least one described processor
The memory of communication connection;Wherein, the memory is stored with the instruction that can be executed by least one described processor, the finger
It enables and being executed by least one described processor, so that at least one described processor is able to carry out as any in claim 1-10
Method described in claim.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569892.XA CN110263130A (en) | 2019-06-27 | 2019-06-27 | Page info processing method, device and storage medium |
PCT/CN2020/088477 WO2020259084A1 (en) | 2019-06-27 | 2020-04-30 | Page information processing method and apparatus, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910569892.XA CN110263130A (en) | 2019-06-27 | 2019-06-27 | Page info processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110263130A true CN110263130A (en) | 2019-09-20 |
Family
ID=67922549
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910569892.XA Pending CN110263130A (en) | 2019-06-27 | 2019-06-27 | Page info processing method, device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110263130A (en) |
WO (1) | WO2020259084A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110879933A (en) * | 2019-10-17 | 2020-03-13 | 中国第一汽车股份有限公司 | Component list file processing method and device, terminal and storage medium |
CN111158682A (en) * | 2019-12-27 | 2020-05-15 | 四川天邑康和通信股份有限公司 | ID (identification) -based multi-language page design method and system for router |
WO2020259084A1 (en) * | 2019-06-27 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Page information processing method and apparatus, and storage medium |
CN112347142A (en) * | 2020-11-17 | 2021-02-09 | 上海幻电信息科技有限公司 | Data processing method and device |
CN112988290A (en) * | 2019-12-12 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Multi-language configuration file generation method, page display method, device and terminal |
CN113190308A (en) * | 2021-04-20 | 2021-07-30 | 北京异乡旅行网络科技有限公司 | Method, device and equipment for determining translation text of overseas renting house application |
CN113760821A (en) * | 2020-06-22 | 2021-12-07 | 北京京东乾石科技有限公司 | File conversion method and device |
CN114237806A (en) * | 2021-12-29 | 2022-03-25 | 瀚云科技有限公司 | Page information display method and device, electronic equipment and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667118A (en) * | 2008-09-02 | 2010-03-10 | 华为技术有限公司 | Method and device for multi-language version development and replacement |
CN104317788B (en) * | 2014-11-03 | 2018-02-02 | 锐嘉科集团有限公司 | The multi-lingual interpretation methods of Android and device |
CN108399064B (en) * | 2017-02-07 | 2021-06-18 | 南京南瑞继保电气有限公司 | Multilingual entry generation method based on Qt development |
US10606573B2 (en) * | 2017-06-07 | 2020-03-31 | Syntel, Inc. | System and method for computer language migration using a re-architecture tool for decomposing a legacy system and recomposing a modernized system |
CN110263130A (en) * | 2019-06-27 | 2019-09-20 | 深圳前海微众银行股份有限公司 | Page info processing method, device and storage medium |
-
2019
- 2019-06-27 CN CN201910569892.XA patent/CN110263130A/en active Pending
-
2020
- 2020-04-30 WO PCT/CN2020/088477 patent/WO2020259084A1/en active Application Filing
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020259084A1 (en) * | 2019-06-27 | 2020-12-30 | 深圳前海微众银行股份有限公司 | Page information processing method and apparatus, and storage medium |
CN110879933A (en) * | 2019-10-17 | 2020-03-13 | 中国第一汽车股份有限公司 | Component list file processing method and device, terminal and storage medium |
CN112988290A (en) * | 2019-12-12 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Multi-language configuration file generation method, page display method, device and terminal |
CN112988290B (en) * | 2019-12-12 | 2024-01-26 | 腾讯科技(深圳)有限公司 | Multi-language configuration file generation method, page display method, device and terminal |
CN111158682A (en) * | 2019-12-27 | 2020-05-15 | 四川天邑康和通信股份有限公司 | ID (identification) -based multi-language page design method and system for router |
CN113760821A (en) * | 2020-06-22 | 2021-12-07 | 北京京东乾石科技有限公司 | File conversion method and device |
CN112347142A (en) * | 2020-11-17 | 2021-02-09 | 上海幻电信息科技有限公司 | Data processing method and device |
CN112347142B (en) * | 2020-11-17 | 2024-03-01 | 上海幻电信息科技有限公司 | Data processing method and device |
CN113190308A (en) * | 2021-04-20 | 2021-07-30 | 北京异乡旅行网络科技有限公司 | Method, device and equipment for determining translation text of overseas renting house application |
CN114237806A (en) * | 2021-12-29 | 2022-03-25 | 瀚云科技有限公司 | Page information display method and device, electronic equipment and storage medium |
CN114237806B (en) * | 2021-12-29 | 2024-03-12 | 瀚云科技有限公司 | Page information display method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2020259084A1 (en) | 2020-12-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263130A (en) | Page info processing method, device and storage medium | |
CN104199831B (en) | Information processing method and device | |
CN103984582B (en) | A kind of hot update method and device | |
CN110968325B (en) | Applet conversion method and device | |
CN103226606B (en) | Inquiry choosing method and system | |
CN103077022B (en) | A kind of work flow visual operation collocation method and device | |
US9122540B2 (en) | Transformation of computer programs and eliminating errors | |
US9229691B2 (en) | Method and apparatus for programming assistance | |
US11281864B2 (en) | Dependency graph based natural language processing | |
CN106873952B (en) | Data processing system and method for mobile terminal webpage development and application device | |
US10540628B2 (en) | Hierarchical business rule model | |
CN107220250A (en) | A kind of template configuration method and system | |
CN103136100B (en) | A kind of method and system of Android test | |
CN104331438A (en) | Method and device for selectively extracting content of novel webpage | |
CN109918076A (en) | Code file processing method, system, computer equipment and readable storage medium storing program for executing | |
CN105320662A (en) | Method and device for webpage generation | |
US20130091484A1 (en) | System for generating application architecture design work products | |
CN117010345A (en) | Method, device, equipment and storage medium for generating function document | |
Bodeveix et al. | Event-B formalization of a variability-aware component model patterns framework | |
CN110554860B (en) | Construction method and code generation method of software project natural language programming interface (NLI) | |
CN110019177A (en) | The method and apparatus of rule storage | |
CN115878098A (en) | Data processing method, device, equipment and storage medium | |
CN109508185B (en) | Code review method and device | |
CN111176640B (en) | Layout level display method, storage medium, device and system in Android engineering | |
CN111708542A (en) | Test case generation method, system, device and storage medium |
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 |