Created
February 1, 2011 19:27
-
-
Save carolineschnapp/806456 to your computer and use it in GitHub Desktop.
Google Translate Embed Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
Hello Guys,
i really want a translator that i can customize with the country flag. i have seen some used this google code
<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> and it was customized.Now i want to use this same code for translation in this my fellow websites Get Backlinks, Plus Naija and Heartlandngr. please who can assist to use country flag in this translator.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I implemeted in reactjs, but I want show loading when api call. how i can implment or how i can get api loading state.