How To Add Google Translate a Website
Today I will give you an example of How To Add Google Translate to On Website. In this tutorial, we will learn How To Add Google Translate to your Website. Google Translate is a free multilingual machine translation service developed by Google. Google translated into more than 90+ languages.
<div id="google_translate_ele"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement(
{pageLanguage: 'en'},
'google_translate_ele'
);
}
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
Example :