Think the webpage that is us provides multilingual support occasionally, if a kind of language uses a piece of webpage to do honest too troublesome, fortunately Google provided language tool function, how does the introduction use it to realize a webpage below the changeover between a variety of languages.
Lan.htm
| It is quotative content below: <form> <select Name= "lan "> <option Value= "en | De" > English is translated into German </option> <option Value= "en | Es" > English is translated into spanish </option> <option Value= "en | Fr" > English is translated into French </option> <option Value= "en | It" > English is translated into Italian </option> <option Value= "en | Pt" > English is translated into Portuguese </option> <option Value= "en | Ja" > English translates BETA</option of language of the whole day> <option Value= "en | Ko" > English is translated into Korea language BETA</option> <option Value= "en | Zh-CN" > English is translated into Chinese (simplified) BETA</option> <option Value= "de | En" > Germanization becomes English </option> <option Value= "de | Fr" > Germanization becomes French </option> <option Value= "es | En" > spanish is translated into English </option> <option Value= "fr | En" > French is translated into English </option> <option Value= "fr | De" > French is translated into German </option> <option Value= "it | En" > Italian is translated into English </option> <option Value= "pt | En" > portuguese is translated into English </option> <option Value= "ja | En" > Japanese is translated into English BETA</option> <option Value= "ko | Language of En" > Korea is translated into English BETA</option> <option Value= "zh-CN | En" > Chinese (simplified) the interpreter becomes English BETA</option> <input Style= "FONT-SIZE: 12px" Type= "button" Value= "Go->" Name= "Button1" OnClick= "javascript:wIndow.open(’translate.asp? Urls=’ document.location ‘&lan=’ lan.value, ‘_self’ , ”) “> </select> </form> |
The language that the content in Lan.htm uses a choice to want an interpreter includes original language and the language that should translate. It is OK that we need to the content beat in Lan.htm the content beat in Lan.htm arrives in the page that offers multilingual translation only.
Translate.asp
| It is quotative content below:
<html> |
Translate.asp implementation translates a function, this is the language tool implementation that uses Google.
Attention, because provide multilingual support, the code that so Translate.asp file place uses is the “utf-8 that supports all character “
