CN106406887A - A web software development method and system - Google Patents
A web software development method and system Download PDFInfo
- Publication number
- CN106406887A CN106406887A CN201610838996.2A CN201610838996A CN106406887A CN 106406887 A CN106406887 A CN 106406887A CN 201610838996 A CN201610838996 A CN 201610838996A CN 106406887 A CN106406887 A CN 106406887A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- web page
- page files
- user
- translation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a web software development method and system. The method comprises the steps of developing and forming a set of web page files with a preset format; extracting partial content requiring internationalization in the web page files to a configuration file; translating the content of the configuration file and forming multiple configuration files described in multiple languages. The web software development method and system have the advantages that file development work can be performed by a development group and the translation of configuration files can be performed independently by a translation group, so that the file development work and the translation work can be performed separately, the development group can concentrate on the development work, the software development efficiency is greatly increased and the software development cycle is shortened.
Description
Technical field
The present invention relates to technical field of software development, more particularly to a kind of Web software development methodology and system.
Background technology
For international Web software it would be desirable to be able to tackle the access of different parts of the world and country simultaneously, and for difference
Area and the access of country, provide content of pages or data corresponding, that meet client's reading habit.For example, for program
The middle fixing text element using, the such as text element of the use such as menu bar, navigation bar, or miscue information, state is believed
Breath etc., needs formation to show with the area of client and national corresponding language content, for the data of the dynamic generation of program,
Such as date, currency etc., software should be able to be shown according to the use habit of the country being currently located.
In prior art, when developing to internationalized software, it is first internationalization partial content in the page to be reserved good position,
Then carry out writing and translation of configuration file at reserved location again, this method is a kind of hard coded method, is unfavorable for
The test of application program, extension and maintenance, and on stream, developer will take into account translation when writing configuration file
Content, leads to spend extensive work on the writing and arrange of configuration file, greatly reduces work efficiency, cause software to open
The cycle of sending out is long.
Content of the invention
In consideration of it, the present invention provides a kind of Web software development methodology and system, file development work and translation is made to divide
Stand and carry out, be greatly improved development efficiency.
For achieving the above object, the present invention provides following technical scheme:
A kind of Web software development methodology, including:
Exploitation forms a set of web page files with preset format;
To need in described web page files to carry out international partial content to be drawn in configuration file;
Described configuration file content is translated, is formed respectively with many parts of configuration files of polyglot description.
Alternatively, also include:
The configuration file that translation is formed is stored line by line with key-value pair, retains and join with described in many parts in described web page files
Put file corresponding multiple keys respectively.
Alternatively, also include arrange reading manner, described reading manner be specially according to access user residing for area or
Person's language environment, reads the configuration file of the language description matching with the described area accessing residing for user or language environment
Content.
Alternatively, also include arranging display mode, described display mode is specially the described area accessing residing for user
Or the configuration file content of language environment corresponding language description is filled in described web page files, and in user side browser
Middle display.
A kind of Web software development system, including:
Web page files development module, forms a set of web page files with preset format for exploitation;
Abstraction module, for needing in described web page files to carry out international partial content to be drawn into configuration file
In;
Translation module, for translating to described configuration file content, forms respectively with many parts of polyglot description
Configuration file.
Alternatively, also include:
Memory module, the configuration file for forming translation is stored line by line with key-value pair, protects in described web page files
Stay and many parts of described configuration files corresponding multiple keys respectively.
Alternatively, also include reading manner setup module, for arranging reading manner, described reading manner is specially basis
Access the area residing for user or language environment, read and match with the described area accessing residing for user or language environment
Language description configuration file content.
Alternatively, also include showing setup module, for arranging display mode, described display mode is specially described visit
Ask that the area residing for user or the configuration file content of language environment corresponding language description are filled in described web page files,
And show in user side browser.
As shown from the above technical solution, Web software development methodology provided by the present invention and system, exploitation forms a tackling
There are the web page files of preset format, and will need in web page files to carry out international partial content to be drawn in configuration file,
Then configuration file can be given translation group configuration file content is translated, be formed respectively with many parts of polyglot description
The work of configuration file, wherein file development can be carried out by development group, and the translation to configuration file independently can be carried out by translation group,
Web software development methodology therefore of the present invention and system, compared with the conventional method, make file development work and translation discrete enter
OK, make development group focus more on development, software development efficiency can be greatly improved.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of Web software development methodology provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of Web software development system provided in an embodiment of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the technical scheme in the present invention, real below in conjunction with the present invention
Apply the accompanying drawing in example, the enforcement it is clear that described is clearly and completely described to the technical scheme in the embodiment of the present invention
Example is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, this area is common
The every other embodiment that technical staff is obtained under the premise of not making creative work, all should belong to present invention protection
Scope.
Refer to Fig. 1, be a kind of flow chart of Web software development methodology provided in an embodiment of the present invention, methods described bag
Include:
S10:Exploitation forms a set of web page files with preset format;
S11:To need in described web page files to carry out international partial content to be drawn in configuration file;
S12:Described configuration file content is translated, is formed respectively with many parts of configuration files of polyglot description.
As can be seen that embodiment of the present invention Web software development methodology, a set of webpage literary composition with preset format of exploitation formation
Part, and will need in web page files to carry out international partial content to be drawn in configuration file, then configuration file can be handed over
To translation group, configuration file content is translated, formed respectively with many parts of configuration files of polyglot description.Wherein file
Development is carried out by development group, and the translation to configuration file independently can be carried out by translation group, and Web therefore of the present invention is soft
Part development approach, makes file development work and carries out with translation is discrete, make development group focus more on development, can be significantly
Improve software development efficiency, shorten software development cycle.
And, file development work is discrete with translation to be carried out, translation is independently carried out by translating group, can improve and turn over
Translate the professional of content.Thus improve product quality.In addition, the present embodiment Web software development methodology, using the software of through engineering approaches
Design and development approach extract as configuration file it would be desirable to carry out international partial content, when increasing a kind of language version
Only need a newly-increased configuration file, make software test, maintenance and extension convenient flexibly, it is possible to decrease to develop, test and safeguard
Cost, improves the market competitiveness of enterprise.
The Web software development methodology below the present embodiment being provided is described in detail.The present embodiment Web software development side
Method includes:
S10:Exploitation forms a set of web page files with preset format.
Development group, in software development process, is developed according to preset format and is formed a set of web page files, can develop formation
The web page files of a set of this area language environment.
S11:To need in described web page files to carry out international partial content to be drawn in configuration file.
To need in web page files to carry out international partial content, including text and dynamic data etc., be drawn into configuration
In file, generate the resource distribution file of standard.
S12:Described configuration file content is translated, is formed respectively with many parts of configuration files of polyglot description.
Configuration file can be given translation group to be translated, configuration file is translated into respectively with polyglot description
Many parts of configuration files, that is, form the configuration file content being matched with different language environment.Polyglot correspond to different regions or
Country.
Wherein, in the configuration file content after translation, content of text with corresponding language describe, for date, currency etc. with
The mode being suitable for this language environment phase is shown.
It would be desirable to international partial content extracts forms configuration file, by translation group to configuration file in the present embodiment
Content is independently translated, it is possible to achieve more professional translation, makes translation content more specialized, thus product matter can be improved
Amount.
Translation group, after completing translation, many parts completed configuration files is given development group, to carry out subsequent development work,
Specifically include following steps.
S13:The configuration file that translation is formed is stored line by line with key-value pair, retains and many parts of institutes in described web page files
State configuration file corresponding multiple keys respectively.
S14:Setting reading manner, described reading manner is specially according to the area accessing residing for user or language ring
Border, reads the configuration file content of the language description matching with the described area accessing residing for user or language environment.
Reading manner is set to aforesaid way, when user's access application, can be according to the ground residing for access user
Area or language environment, according to its residing regional and corresponding language environment, read the corresponding value of key in respective profiles,
I.e. corresponding configuration file content.
S15:Setting display mode, described display mode is specially the described area accessing residing for user or language ring
The configuration file content of border corresponding language description is filled in described web page files, and shows in user side browser.
So when user's access application, according to the area accessing residing for user or language environment, according to its institute
The regional and corresponding language environment at place, reads the configuration file content matching and is filled in web page files, clear in user side
Look at and show in device.Therefore according to the area accessing residing for user and language environment, different contents can be shown.
The present embodiment Web software development methodology, first exploitation forms a set of web page files, and international interior by needing to carry out
Holding extraction is configuration file, only need to increase a configuration file newly when increasing a kind of language version, this development approach makes to software
Extension and safeguard flexible, it is possible to decrease development cost;And, carry out discrete to development and translation, make each
Work efficiency improve, and make exploitation and translation more specialized, can improve product quality, lifted the market competitiveness.
Accordingly, refer to Fig. 2, be a kind of schematic diagram of Web software development system provided in an embodiment of the present invention, described
Web software development system includes:
Web page files development module 20, forms a set of web page files with preset format for exploitation;
Abstraction module 21, for needing in described web page files to carry out international partial content to be drawn into configuration file
In;
Translation module 22, for translating to described configuration file content, forms many with polyglot description respectively
Part configuration file.
As can be seen that the present embodiment Web software development system, including web page files development module, abstraction module and translation
Module, forms a set of web page files with preset format by exploitation, and will need in web page files to carry out international portion
Divide content extraction in configuration file, then described configuration file content is translated, formed and described with polyglot respectively
Many parts of configuration files.Wherein, file development work can be carried out by development group, and the translation to configuration file can be only by translation group
Stand and carry out, therefore the present embodiment Web software development system, compared with the conventional method, so that file development work and translation is divided
Stand and carry out, make development group focus more on development, software development efficiency can be greatly improved, shorten software development cycle.
The present embodiment Web software development system, also includes memory module, for translating the configuration file being formed with key assignments
To storing line by line, retain in described web page files and many parts of described configuration files corresponding multiple keys respectively.
The present embodiment system also includes reading manner setup module, and for arranging reading manner, described reading manner is concrete
It is according to the area accessing residing for user or language environment, read and the described area accessing residing for user or language environment
The configuration file content of the language description matching.
Also include showing setup module, for arranging display mode, described display mode is specially described access user
Residing area or language environment corresponding language description configuration file content be filled in described web page files, and with
Show in the browser of family end.
Above a kind of Web software development methodology provided by the present invention and system are described in detail.Herein should
With specific case, the principle of the present invention and embodiment are set forth, the explanation of above example is only intended to help reason
The solution method of the present invention and its core concept.It should be pointed out that for those skilled in the art, without departing from
On the premise of the principle of the invention, the present invention can also be carried out with some improvement and modify, these improve and modification also falls into this
In bright scope of the claims.
Claims (8)
1. a kind of Web software development methodology is it is characterised in that include:
Exploitation forms a set of web page files with preset format;
To need in described web page files to carry out international partial content to be drawn in configuration file;
Described configuration file content is translated, is formed respectively with many parts of configuration files of polyglot description.
2. method according to claim 1 is it is characterised in that also include:
The configuration file that translation is formed is stored line by line with key-value pair, retains configuration literary composition described with many parts in described web page files
Part corresponding multiple keys respectively.
3. method according to claim 2 is it is characterised in that also include arranging reading manner, described reading manner is concrete
It is according to the area accessing residing for user or language environment, read and the described area accessing residing for user or language environment
The configuration file content of the language description matching.
4. method according to claim 3 is it is characterised in that also include arranging display mode, described display mode is concrete
It is described in the configuration file content describing the described area accessing residing for user or the corresponding language of language environment is filled into
In web page files, and show in user side browser.
5. a kind of Web software development system is it is characterised in that include:
Web page files development module, forms a set of web page files with preset format for exploitation;
Abstraction module, for needing in described web page files to carry out international partial content to be drawn in configuration file;
Translation module, for translating to described configuration file content, forms respectively with many parts of configurations of polyglot description
File.
6. system according to claim 5 is it is characterised in that also include:
Memory module, for by translation formed configuration file stored line by line with key-value pair, in described web page files retain with
Many parts of described configuration file corresponding multiple keys respectively.
7. method according to claim 6, it is characterised in that also including reading manner setup module, reads for setting
Mode, described reading manner is specially according to the area accessing residing for user or language environment, reads and described access user
The configuration file content of the language description that residing area or language environment match.
8. method according to claim 7 it is characterised in that also include show setup module, for arranging display mode,
Described display mode is specially the configuration literary composition of the described area accessing residing for user or the description of language environment corresponding language
Part fills are in described web page files, and show in user side browser.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610838996.2A CN106406887A (en) | 2016-09-21 | 2016-09-21 | A web software development method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610838996.2A CN106406887A (en) | 2016-09-21 | 2016-09-21 | A web software development method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106406887A true CN106406887A (en) | 2017-02-15 |
Family
ID=57996749
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610838996.2A Pending CN106406887A (en) | 2016-09-21 | 2016-09-21 | A web software development method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106406887A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122190A (en) * | 2017-04-27 | 2017-09-01 | 努比亚技术有限公司 | A kind of multilingual static page generation method, server and storage medium |
CN107203405A (en) * | 2017-06-23 | 2017-09-26 | 郑州云海信息技术有限公司 | A kind of method and apparatus for checking multilingual definition |
CN108037910A (en) * | 2017-11-20 | 2018-05-15 | 江苏网进科技股份有限公司 | A kind of Web browser software generation system and its method |
CN108334394A (en) * | 2018-01-31 | 2018-07-27 | 广州市全周至程软件技术有限公司 | The multilingual processing method and device of multilingual software systems basic data |
CN109284162A (en) * | 2018-09-14 | 2019-01-29 | 山东浪潮通软信息科技有限公司 | A kind of implementation method of the multi-lingual opinion on public affairs of enterprise software |
CN113157354A (en) * | 2020-01-07 | 2021-07-23 | 北京京东振世信息技术有限公司 | Method, device, equipment and computer readable medium for processing data |
CN114491359A (en) * | 2021-12-28 | 2022-05-13 | 北京航天智造科技发展有限公司 | Webpage internationalization processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103002149A (en) * | 2012-11-30 | 2013-03-27 | 中兴通讯股份有限公司 | Method and device for automatically switching terminal languages |
CN103544306A (en) * | 2013-11-01 | 2014-01-29 | 广东威创视讯科技股份有限公司 | Multi-language display supporting method and device of website |
CN105138555A (en) * | 2015-07-20 | 2015-12-09 | 新浪网技术(中国)有限公司 | Webpage multi-language internationalization loading method and apparatus |
-
2016
- 2016-09-21 CN CN201610838996.2A patent/CN106406887A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103002149A (en) * | 2012-11-30 | 2013-03-27 | 中兴通讯股份有限公司 | Method and device for automatically switching terminal languages |
CN103544306A (en) * | 2013-11-01 | 2014-01-29 | 广东威创视讯科技股份有限公司 | Multi-language display supporting method and device of website |
CN105138555A (en) * | 2015-07-20 | 2015-12-09 | 新浪网技术(中国)有限公司 | Webpage multi-language internationalization loading method and apparatus |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107122190A (en) * | 2017-04-27 | 2017-09-01 | 努比亚技术有限公司 | A kind of multilingual static page generation method, server and storage medium |
CN107203405A (en) * | 2017-06-23 | 2017-09-26 | 郑州云海信息技术有限公司 | A kind of method and apparatus for checking multilingual definition |
CN108037910A (en) * | 2017-11-20 | 2018-05-15 | 江苏网进科技股份有限公司 | A kind of Web browser software generation system and its method |
CN108037910B (en) * | 2017-11-20 | 2021-04-09 | 江苏网进科技股份有限公司 | Web browser software generation system and method thereof |
CN108334394A (en) * | 2018-01-31 | 2018-07-27 | 广州市全周至程软件技术有限公司 | The multilingual processing method and device of multilingual software systems basic data |
CN108334394B (en) * | 2018-01-31 | 2020-12-04 | 广东全程云科技有限公司 | Multi-language processing method and device for basic data of multi-language software system |
CN109284162A (en) * | 2018-09-14 | 2019-01-29 | 山东浪潮通软信息科技有限公司 | A kind of implementation method of the multi-lingual opinion on public affairs of enterprise software |
CN113157354A (en) * | 2020-01-07 | 2021-07-23 | 北京京东振世信息技术有限公司 | Method, device, equipment and computer readable medium for processing data |
CN113157354B (en) * | 2020-01-07 | 2023-11-03 | 北京京东振世信息技术有限公司 | Method, apparatus, device and computer readable medium for processing data |
CN114491359A (en) * | 2021-12-28 | 2022-05-13 | 北京航天智造科技发展有限公司 | Webpage internationalization processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106406887A (en) | A web software development method and system | |
CN104933041B (en) | A kind of file beneficial to translation is extracted and restoring method | |
CN110263351A (en) | A kind of multi-language translation method of webpage, device and equipment | |
KR102224759B1 (en) | Techniques for language translation localization for computer applications | |
US9152619B2 (en) | System and method for constructing markup language templates and input data structure specifications | |
WO2007092373A2 (en) | System and method for website configuration and management | |
CN109086114A (en) | A kind of method, apparatus and terminal generating web front-end interactive interface | |
CN104407863A (en) | Abstract control model programming device and method | |
CN103955345A (en) | Data printing method and system | |
CN109491708A (en) | Document structure tree method, system, equipment and medium | |
WO2020073497A1 (en) | Chinese language training image generation method and apparatus, computer device, and storage medium | |
CN111831384A (en) | Language switching method and device, equipment and storage medium | |
CN101377737B (en) | Resource management apparatus of application system | |
Sin-Wai | Approaching localization | |
Sin-wai | The development of translation technology 1967–2013 | |
JP2019091361A (en) | Translation support device, translation support program, and method for supporting translation with information processing apparatus | |
CN110377371A (en) | A kind of style sheet method for managing system based on Web label | |
CN109947711A (en) | A kind of multilingual file automating management method in pair of IOS project development process | |
JP5867540B2 (en) | PROGRAM GENERATION DEVICE, PROGRAM GENERATION DEVICE CONTROL METHOD, AND PROGRAM | |
CN102103494A (en) | Method and device for changing software resource | |
CN106469051A (en) | Object transmitting method and device | |
CN110286903A (en) | Construction method, device, equipment and the storage medium of user information list | |
JP2014219833A (en) | Document reading comprehension support device, document reading comprehension support system, and program | |
CN104850610A (en) | Network search engine system | |
CN106033348A (en) | Webpage making method, device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170215 |
|
RJ01 | Rejection of invention patent application after publication |