CN104750719A - Method for implementing multi-language version of web page - Google Patents

Method for implementing multi-language version of web page Download PDF

Info

Publication number
CN104750719A
CN104750719A CN201310742120.4A CN201310742120A CN104750719A CN 104750719 A CN104750719 A CN 104750719A CN 201310742120 A CN201310742120 A CN 201310742120A CN 104750719 A CN104750719 A CN 104750719A
Authority
CN
China
Prior art keywords
language
version
page
string
html
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310742120.4A
Other languages
Chinese (zh)
Inventor
葛加苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sky Zhenjiang And Computing Machine Science And Technology Ltd
Original Assignee
Sky Zhenjiang And Computing Machine Science And Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sky Zhenjiang And Computing Machine Science And Technology Ltd filed Critical Sky Zhenjiang And Computing Machine Science And Technology Ltd
Priority to CN201310742120.4A priority Critical patent/CN104750719A/en
Publication of CN104750719A publication Critical patent/CN104750719A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a web page technology, in particular to a method for implementing a multi-language version of a web page. The method is realized on the basis of an asp.net.mvc3 frame and comprises a multi-language version html page making step: making html pages of different language versions by art designers according to needs of the multi-language version; a storing step: storing the made html pages of the different language versions in corresponding language website code development paths according to languages; a Builder page template writing method step: adding parameters of this Html Helper html Helper, string page, string Local Address and Language types in a Builder page template writing method; and a displaying step: displaying relevant pages in the corresponding languages by using the Builder page template method. By the method, the art designers and research workers work independently, and the work efficiency is improved.

Description

A kind of method of webpage multi-language version
Technical field
The present invention relates to web technologies, particularly relate to a kind of method of webpage multi-language version.
Background technology
Along with increasing business, government bodies, educational system and personal user become the network user, occur needing with the multilingual service providing web site contents, common for providing the method for multilingual content in fact to provide multiple website in a website, as Chinese website, English website, French website, German website etc., due to each content of pages must independent design to calculate each special language content and layout, the workload of art designing and research staff increases greatly, for realizing art designing and research staff separately works alone, increase work efficiency, the present invention has invented a kind of method of webpage multi-language version.
Summary of the invention
For overcoming above problem, the present invention has invented a kind of method of webpage multi-language version, and the method realizes based on asp.net.mvc3 framework, and it comprises the following steps:
Make multilingual version html page step: art designing needs to make the html page of different language version according to multilingual version;
Storing step: under html page language belonging to it of the different language version of above-mentioned making being stored in its corresponding language network site code exploitation path;
Write Builderpagetemplate method step: in the method, add parametric t hisHtmlHelper htmlHelper, string page, string LocalAddress, Language types;
Described thisHtmlHelper htmlHelper Parametric Representation extended attribute on htmlHelper object;
Described string page Parametric Representation needs full name and the suffix of the html page of the language called;
Described string LocalAddress Parametric Representation current code exploitation path;
Described Language types Parametric Representation site language type;
Step display: the related pages of required language is shown by calling Builderpagetemplate method.
Accompanying drawing explanation
Fig. 1 is the method step process flow diagram of a kind of webpage multi-language version that the present invention invents.
Embodiment
The method of a kind of webpage multi-language version of the present invention's invention, as shown in Figure 1, the method realizes based on asp.net.mvc3 framework its flow chart of steps, comprises the following steps:
Make multilingual version html page step: art designing needs to make the html page of different language version according to multilingual version;
Storing step: under html page language belonging to it of the different language version of above-mentioned making being stored in its corresponding language network site code exploitation path;
Write Builderpagetemplate method step: in the method, add parametric t hisHtmlHelper htmlHelper, string page, string LocalAddress, Language types;
Described thisHtmlHelper htmlHelper Parametric Representation extended attribute on htmlHelper object;
Described string page Parametric Representation needs full name and the suffix of the html page of the language called;
Described string LocalAddress Parametric Representation current code exploitation path;
Described Language types Parametric Representation site language type;
Step display: the related pages of required language is shown by calling Builderpagetemplate method.

Claims (1)

1. a method for webpage multi-language version, realizes based on asp.net.mvc3 framework, comprises the following steps:
Make multilingual version html page step: art designing needs to make the html page of different language version according to multilingual version;
Storing step: under html page language belonging to it of the different language version of above-mentioned making being stored in its corresponding language network site code exploitation path;
Write Builderpagetemplate method step: in the method, add parametric t hisHtmlHelper htmlHelper, string page, string LocalAddress, Language types;
Described thisHtmlHelper htmlHelper Parametric Representation extended attribute on htmlHelper object;
Described string page Parametric Representation needs full name and the suffix of the html page of the language called;
Described string LocalAddress Parametric Representation current code exploitation path;
Described Language types Parametric Representation site language type;
Step display: the related pages of required language is shown by calling Builderpagetemplate method.
CN201310742120.4A 2013-12-30 2013-12-30 Method for implementing multi-language version of web page Pending CN104750719A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310742120.4A CN104750719A (en) 2013-12-30 2013-12-30 Method for implementing multi-language version of web page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310742120.4A CN104750719A (en) 2013-12-30 2013-12-30 Method for implementing multi-language version of web page

Publications (1)

Publication Number Publication Date
CN104750719A true CN104750719A (en) 2015-07-01

Family

ID=53590420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310742120.4A Pending CN104750719A (en) 2013-12-30 2013-12-30 Method for implementing multi-language version of web page

Country Status (1)

Country Link
CN (1) CN104750719A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795931A (en) * 2018-07-17 2020-02-14 福建天泉教育科技有限公司 Method and terminal for detecting WEB website page language

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795931A (en) * 2018-07-17 2020-02-14 福建天泉教育科技有限公司 Method and terminal for detecting WEB website page language
CN110795931B (en) * 2018-07-17 2022-10-21 福建天泉教育科技有限公司 Method and terminal for detecting WEB website page language

Similar Documents

Publication Publication Date Title
CN104461484B (en) The implementation method and device of front-end template
CN102289376A (en) Embedded multi-language WEB page realization method and system
WO2017028611A1 (en) Form implementation method and apparatus
CN106202066A (en) The interpretation method of website and device
CN105069116A (en) Method and system for converting json string into array
CN105183450A (en) E-government form model configuration system with foreground and background separation function
CN104281589A (en) Mathematical formula searching method and device
CN106776800A (en) The page generation method of AngularJS frameworks, apparatus and system
CN104281711B (en) The multilingual treating method and apparatus of WEB application
CN102830974A (en) Visual auxiliary development tool for rapid generation of JAVA codes
CN104750719A (en) Method for implementing multi-language version of web page
Chadha et al. Html voice
CN101425087A (en) Method and system for constructing dictionary
CN104111823A (en) Online interactive block type editing method and editor
JP2015534171A5 (en)
Babaheidari et al. A systematic process for selecting a typical case in school setting
CN102591665A (en) Method and system for user-defined quick-generation pages
Eilu et al. Persuasion and Acceptance of Mobile Phones as a Voting Tool in Developing Countries
Gärtner et al. NLATool: An Application for Enhanced Deep Text Understanding
McKay Karl E. Ryavec, A Historical Atlas of Tibet
Srikanth et al. Socially Smart an Aggregation System for Social Media using Web Scraping
Anjeer Alshehhi et al. 6DVF: Data Visualisation Framework for mHealth Apps
Singh et al. Technical features of BIM-servers for collaboration on building and construction projects
Zou Beijing's Drum and Bell Towers area: a cultural landscape understood, interpreted and reinvigorated with compatible use
Bosch-Ramon et al. The termination region of high-mass microquasar jets (corrigendum)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150701

WD01 Invention patent application deemed withdrawn after publication