Google code: Insert after
<meta name="google-translate-customization" content="4bd8dffe75af5007-16fa37f088724895-g08c0457d35008bb8-47"></meta>
and insert the following code where you want the button to appear:
<div id= "google_translate_element" ></div><script type= "Text/javascript" >function Googletranslateelementinit () {new Google.translate.TranslateElement ({pagelanguage: ' en ', includedlanguages: ' ZH-CN ') , Layout:google.translate.TranslateElement.InlineLayout.SIMPLE}, ' google_translate_element ');} </script><script type= "Text/javascript" src= "//translate.google.com/translate_a/element.js?cb= Googletranslateelementinit "></script>
Bing Code:
<div id=' Microsofttranslatorwidget ' class=' light ' style =' color:white;background-color: #555555 '></div><script type=' Text/javascript '>SetTimeout ( function(){{vars=Document. createelement (' script '); s.type=' Text/javascript '; s.charset=' UTF-8 '; s.src= (location && location.href && location.href.indexOf (' https ') ==0)?' https://ssl.microsofttranslator.com ':' http://www.microsofttranslator.com ')+'/ajax/v3/widgetv3.ashx?sitedata=ueoigrskkd965feegm5jtq**&ctf=false&ui=true&settings=auto& From=en ';varp=Document. getElementsByTagName (' head ')[0]||Document. Documentelement;p.insertbefore (S,p.firstchild); }},0);</script>
Use Bing or Google to translate pages