How to Add Google Translate to a Website

1 year ago, Updated
Back to Modules in this Section

The Google Translate Tool allows your website visitors to convert the content of your website from English to their preferred language. Here's how....

STEP 1
Copy the code in blue below in it's entirety...
<div id="google_translate_element"></div><script> function googleTranslateElementInit() {
new google.translate.TranslateElement({ pageLanguage: 'en' }, 'google_translate_element'); }
</script><script src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>

STEP 2
Go to the "Site Details" page of your website.
 
Awf 932

 

Awf 933

 

STEP 4
Paste the code to the Header HTML Code section. Be sure to click "Save" when you are done.
Awf 934

 

PLEASE NOTE: If you are looking for an alternative translate solution with more customization options,
check out Gtranslate.io

 
Awf 935

How to Add Google Translate to a Website

Let's see what you've learned. Take the Quiz.

Please complete the quiz below after reviewing the module. Your results will be displayed 30 seconds after submission. You may retake the quiz to improve your score.
Take Quiz