Lorem ipsum dolor sit amet, consectetur adipiscing elit. Test link
المشاركات

How to Setup Google Translate

 

Google Translate
Google Translate

Google Translate Widget is an Webpage Translator by Google, through which users can translate the webpages in their native languages.

Add Google Translate

Here are some steps to add Google Translate to your Blog.

Don't forget to take a Theme Backup before making any changes.

Step 1: Login to Blogger.

Step 2: Go to Layout Menu.

Step 3: In Header Icon Widget, add a Text Item Translate.

Now, Google Translate icon will appear on your Blog Header.

Replace Languages

The next step is to replace Page Language and Included Languages.

Change Page Language

Step 4: Now go to Theme HTML Editor.

Step 5: Find the following codes:

gTranslate: {
  pageLang: "en",
  includedLangs: "en,hi,gu,bn,ta,te,mr,ne",
  autoDisplay: "true",
  multiLangPage: "false"
}

Step 6: Replace the marked language code with your Page Language Code, i.e. if your page language is Hindi, replace it with hi.

List of language codes is provided below:

Language Codes

If your page contains more than one language, for i.e. your article consists of both Hindi and English languages, replace the marked false with true in above code.

Change Included Languages

To change the included languages in the widget, i.e. suppose you want to include languages like Hindi, Indonesian, etc. The widget will show only these languages in language list.

gTranslate: {
  pageLang: "en",
  includedLangs: "en,hi,gu,bn,ta,te,mr,ne",
  autoDisplay: "true",
  multiLangPage: "true"
}

Step 7: Replace the marked part with your desired language codes and separate them with commas , i.e. to include languages like Hindi, Indonesian, Bengali, Tamil, replace it with hi,id,bn,ta.

That's done. Save Changes and refresh your Blog Page.

I Am A Web Designer And Web Developer. I Love To Write Coding.

إرسال تعليق

© ‧ BengalTechZone. All rights reserved. Developed By Nayeem Hossain