Add Google Translate

Add 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
CodeLanguage
idIndonesia
jsJawa
suSunda
enEnglish
viVietnam
zh-CNChina (Aks. Sederhana)
zh-TWChina (Aks. Tradisional)
thThailand
ruRusia
msMelayu
koKorea
jaJepang
itItalia
hiHindi
frPrancis
esSpanyol
deJerman
arArab
psPashto
ptPortugis
hmnHmong
hrKroat
htKreol Haiti
huMagyar
yiYiddi
hyArmenia
yoYoruba
igIgbo
afAfrikans
isIslan
amAmhara
iwIbrani
azAzerbaijan
zuZulu
roRumania
cebCebuano
beBelarussia
bgBulgaria
rwKinyarwanda
bnBengali
bsBosnia
sdSindhi
kaGeorgia
siSinhala
skSlovakia
slSlovenia
smSamoa
snShona
soSomali
sqAlbania
caKatala
srSerb
kkKazak
stSesotho
kmKhmer
svSwensk
swSwahili
kuKurdi
coKorsika
taTamil
kyKirghiz
csCeko
teTelugu
tgTajik
laLatin
lbLuksemburg
cyWales
tkTurkmen
tlTagalog
daDenmark
ttTatar
ltLituania
lvLatvia
ugUyghur
ukUkraina
mgMalagasi
miMaori
urUrdu
mkMakedonia
hawHawaii
mlMalayalam
mnMongol
mrMarathi
uzUzbek
mtMalta
elYunani
eoEsperanto
myBurma
etEstonia
euBasque
neNepal
faFarsi
nlBelanda
noNorsk
fiFinlandia
nyChichewa
fyFrisia
gaGaelig
gdGaelik Skotlandia
glGalisia
xhXhosa
paPunjabi
haHausa
plPolandia
psPashto
ptPortugis
htKreol Haiti
isIslan
loLaos
orOdia (Oriya)
guGujarati
trTurki

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.

Contacting Us

Feel free to contact us through Contact Page. if you are facing any problem while following the steps described above.

About the Author

0 Comments

    Your email address will not be published. Required fields are marked *