Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
HTML
<div id="google_translate_element"></div>
<script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

6connect API - Getting Started with the SDK

...

You must setup user API access before running the sample. See the previous section "Create Your API Credentials" for more information.

 

Need More Information?

If you need more general information on the API, try the API Overview.
The SDK also contains a README file with other useful information particular to php.