Ad Code

google.com, pub-4204490948334931, DIRECT, f08c47fec0942fa0

Ticker

6/recent/ticker-posts

How To Embedded Google Translate on Website


If you have your own website, you can use the Google Translate addon to have it automatically translated into over 90 languages. As a result, there is no need to develop numerous versions of your website.

Google Translate requires code to be posted on every page of your website, which demands some website knowledge. You may be able to apply the code to each page of a tiny website. However, if you have a huge site, you should utilize a template to set the code on every page, depending on the platform your website is built on.

Here's how to integrate Google Translate into your website:

  • Copy and paste the script below into your html site's editor area; if you want it above the main post, paste it before the main script; otherwise it may be adjusted to your desire.
  • <div id='google_translate_element'/> <script>  function googleTranslateElementInit() {   new google.translate.TranslateElement({     pageLanguage: &#39;en&#39;   }, &#39;google_translate_element&#39;); } </script> <script src='http://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit'/> 
  • save & cek your website
Embedded Blogspot

  • Layout
  • Edit html
  • Search name Blog1



















  • and you will see a script like below then insert the google translate script




















  • save & exit




- Thank you for taking the time to read this, I hope it has inspired you. -


Post a Comment

0 Comments