public
Created

google translate dropdown

  • Download Gist
gistfile1.html
HTML
1 2 3 4 5 6 7
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', 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>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.