How to add google translate button on a Website/Blogger using javascript

How to use google translate button on a Website/Blogger 

 You must add Google Translate button in your website so that the viewers can easily read your article using their own language. 
 Benefit : It will increase the number of viewers and also revenues.

 Learn how to add google translate button on Your Website/Blogger 

Step 1 => At first you need to add a <div> element with the id "google_translate_element" such as [id="google_translate_element"].

Example
Step 2 => Next Add a reference to the translate API .

Example
Step 3 => Next add a javascript function.
Example

{pageLanguage: 'en'} here 'en' is your webpage Language. You can change it if your webpage language is different. Like :- Hindi = hi, Bengali = bn , German = de


 Finally, Google translate button is ready to translate the content of your page.
Example

Button Modes 

 There are currently three types of buttons for the Google Translate button.

Horizontally


Example
Vertically
Example
Dropdown Button
Example
how to google translate a website,how to add google translate button on a Website/Blogger,translate google,how to use google translate,how to translate a web page,how to google translate a page,how to translate a website to english,how to translate google page,how to google translate a website,how to translate language in google