Skip to content

Instantly share code, notes, and snippets.

@carolineschnapp
Created February 1, 2011 19:27
Show Gist options
  • Select an option

  • Save carolineschnapp/806456 to your computer and use it in GitHub Desktop.

Select an option

Save carolineschnapp/806456 to your computer and use it in GitHub Desktop.
Google Translate Embed Code
<div id="google_translate_element"></div>
<script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script>
<script src="http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
@mrvasani48
Copy link

I implemeted in reactjs, but I want show loading when api call. how i can implment or how i can get api loading state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment