网站多语言转换.利用Google 语言的js.贴到网站就能用.

<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en',
includedLanguages: 'es,pt,fr,en',
gaTrack: true,
gaId: 'UA-20003276-11',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

你可能感兴趣的:(Google)