Google Translate widget is one of the best way to increase your blog readers and explore your blog to wider audience around the world since there are many languages spoken and there are many country So it would be wise to provide some sort of language translation options for your readers which will drastically improve your traffic and pageviews. Moreover there are many instances where your visitor might like to read the article in other language in which he is comfortable with so here the importance of Google translate widget bar comes since your reader can simply select the language from the drop down menu or alternatively select the country which is shown as country flags and they can read in their language this will definitely improve the reach of your audience.
So in today's post I am going to share how you can translate your webpage to all the available languages spoken in different countries all around the world so your users can understand your articles properly and for this I am going to use very famous Google translate widget bar with flags as it's very simple to embed it on your blogger blog So without wasting much time lets see how to add this google translation widget to your blogger blog
So here I am going to show 2 ways by which you can show this Google translate widgets to your blogger blog one without flags which will only show different languages to select from and other which displays flags of different countries where users can select the country to which they belong So lets see one by one
So in today's post I am going to share how you can translate your webpage to all the available languages spoken in different countries all around the world so your users can understand your articles properly and for this I am going to use very famous Google translate widget bar with flags as it's very simple to embed it on your blogger blog So without wasting much time lets see how to add this google translation widget to your blogger blog
![]() |
| Show Google Translate Bar Widget Blogger |
So here I am going to show 2 ways by which you can show this Google translate widgets to your blogger blog one without flags which will only show different languages to select from and other which displays flags of different countries where users can select the country to which they belong So lets see one by one
Google Translate Widget For Blogger- Without Flags
1) First login to your blogger dashboard << layout
2) Next click on 'Add a Gadget' in sidebar because sidebar is best place to show this google translate widget to your readers then a new popup window will open
4) Next here you can configure your translate widget here you have 3 different styles to select from Vertical, Horizontal and Dropdown only then Click on Save.
5) Now go and check your blog your Google translate widget will show you can test by selecting the languages from dropdown box and your webpage will translate to the selected language
Google Translate Widget With Flags For Blogger
1) Now till step 2 do exactly the same and instead of selecting Translate widget select Html/Javascript gadget by clicking the + sign
2) Now give your widget the title and paste the below mentioned code in content area
<!--Google Translate Widget Starts-->
<style>
ul#translate-flag {padding:0;margin:0;}
#translate-flag li {list-style: none;float:left;_display:inline;padding:0;margin:1px;width:16px;height:11px;background-image:url(https://lh4.googleusercontent.com/-w4sW4pBjcR4/UT8xUL38fMI/AAAAAAAAE_8/qwdfGhmNxqA/s264/flags-sprite.png);background-repeat:no-repeat;}
#translate-flag li a{display:block;width:16px;height:11px;cursor: pointer;}
</style>
<ul id="translate-flag">
<li id="malay" style="background-position:0px 0px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ms&hl=ms'" title="Translate to Malay"></a></li>
<li id="arabic" style="background-position:0px -11px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ar&hl=ar'" title="Translate to Arabic" ></a></li>
<li id="chinese" style="background-position:0px -22px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|zh-CN&hl=zh-CN'" title="Translate to Chinese"></a></li>
<li id="estonia" style="background-position:0px -33px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|et&hl=et'" title="Translate to Estonian"></a></li>
<li id="finnish" style="background-position:0px -44px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|fi&hl=fi'" title="Translate to Finnish"></a></li>
<li id="french" style="background-position:0px -55px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|fr&hl=fr'" title="Translate to French"></a></li>
<li id="german" style="background-position:0px -66px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|de&hl=de'" title="Translate to German"></a></li>
<li id="greek" style="background-position:0px -77px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|el&hl=el'" title="Translate to Greek" id="greek" ></a></li>
<li id="hindi" style="background-position:0px -88px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|hi&hl=hi'" title="Translate to Hindi"></a></li>
<li id="indonesian" style="background-position:0px -99px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|id&hl=id'" title="Translate to Indonesian" ></a></li>
<li id="italian" style="background-position:0px -110px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|it&hl=it'" title="Translate to Italian"></a></li>
<li id="japanese" style="background-position:0px -121px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ja&hl=ja'" title="Translate to Japanese"></a></li>
<li id="persian" style="background-position:0px -132px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|fa&hl=fa'" title="Translate to Persian"></a></li>
<li id="norwegian" style="background-position:0px -143px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|no&hl=no'" title="Translate to Norwegian"></a></li>
<li id="portuguese" style="background-position:0px -154px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|pt&hl=pt'" title="Translate to Portuguese" ></a></li>
<li id="romanian" style="background-position:0px -165px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ro&hl=ro'" title="Translate to Romanian"></a></li>
<li id="russian" style="background-position:0px -176px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ru&hl=ru'" title="Translate to Russian" ></a></li>
<li id="slovak" style="background-position:0px -187px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|sk&hl=sk'" title="Translate to Slovak"></a></li>
<li id="spanish" style="background-position:0px -198px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|es&hl=es'" title="Translate to Spanish"></a></li>
<li id="swedish" style="background-position:0px -209px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|sv&hl=sv'" title="Translate to Swedish"></a></li>
<li id="thai" style="background-position:0px -231px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|th&hl=th'" title="Translate to Thai"></a></li>
<li id="turkish" style="background-position:0px -242px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|tr&hl=tr'" title="Translate to Turkish" ></a></li>
<li id="vietnamese" style="background-position:0px -253px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|vi&hl=vi'" title="Translate to Vietnamese" ></a></li>
<!-- <li id="dutch" style="background:url(https://lh5.googleusercontent.com/-ZCYKJNwpNiA/UT8w1_tGFOI/AAAAAAAAE_0/yKb-UxtVy_E/s16/nl.png) no-repeat;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|nl&hl=nl'" title="Translate to Dutch" ></a></li> -->
</ul>
<div style='clear: both;'></div>
<!--Google Translate Widget Ends-->
3) That's it now hit Save and you are done and this widget will show different country flags from which your readers can select the country he belongs to and you webpage will reflect on that country language So Friends this was how to show Google translate bar widget in blogger blog by adding this translate widget bar to your blog will surely give you few extra pageviews from different countries as there are many different languages spoken throughout the world So I may recommend that if you are using blogger blog then definitely you can't miss out this options for increasing your blog exposure, If you like this post please share and don't for get to subscribe to get more blogger tips and tricks! Keep Blogging
<!--Google Translate Widget Starts-->
<style>
ul#translate-flag {padding:0;margin:0;}
#translate-flag li {list-style: none;float:left;_display:inline;padding:0;margin:1px;width:16px;height:11px;background-image:url(https://lh4.googleusercontent.com/-w4sW4pBjcR4/UT8xUL38fMI/AAAAAAAAE_8/qwdfGhmNxqA/s264/flags-sprite.png);background-repeat:no-repeat;}
#translate-flag li a{display:block;width:16px;height:11px;cursor: pointer;}
</style>
<ul id="translate-flag">
<li id="malay" style="background-position:0px 0px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ms&hl=ms'" title="Translate to Malay"></a></li>
<li id="arabic" style="background-position:0px -11px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ar&hl=ar'" title="Translate to Arabic" ></a></li>
<li id="chinese" style="background-position:0px -22px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|zh-CN&hl=zh-CN'" title="Translate to Chinese"></a></li>
<li id="estonia" style="background-position:0px -33px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|et&hl=et'" title="Translate to Estonian"></a></li>
<li id="finnish" style="background-position:0px -44px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|fi&hl=fi'" title="Translate to Finnish"></a></li>
<li id="french" style="background-position:0px -55px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|fr&hl=fr'" title="Translate to French"></a></li>
<li id="german" style="background-position:0px -66px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|de&hl=de'" title="Translate to German"></a></li>
<li id="greek" style="background-position:0px -77px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|el&hl=el'" title="Translate to Greek" id="greek" ></a></li>
<li id="hindi" style="background-position:0px -88px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|hi&hl=hi'" title="Translate to Hindi"></a></li>
<li id="indonesian" style="background-position:0px -99px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|id&hl=id'" title="Translate to Indonesian" ></a></li>
<li id="italian" style="background-position:0px -110px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|it&hl=it'" title="Translate to Italian"></a></li>
<li id="japanese" style="background-position:0px -121px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ja&hl=ja'" title="Translate to Japanese"></a></li>
<li id="persian" style="background-position:0px -132px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|fa&hl=fa'" title="Translate to Persian"></a></li>
<li id="norwegian" style="background-position:0px -143px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|no&hl=no'" title="Translate to Norwegian"></a></li>
<li id="portuguese" style="background-position:0px -154px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|pt&hl=pt'" title="Translate to Portuguese" ></a></li>
<li id="romanian" style="background-position:0px -165px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ro&hl=ro'" title="Translate to Romanian"></a></li>
<li id="russian" style="background-position:0px -176px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|ru&hl=ru'" title="Translate to Russian" ></a></li>
<li id="slovak" style="background-position:0px -187px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|sk&hl=sk'" title="Translate to Slovak"></a></li>
<li id="spanish" style="background-position:0px -198px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|es&hl=es'" title="Translate to Spanish"></a></li>
<li id="swedish" style="background-position:0px -209px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|sv&hl=sv'" title="Translate to Swedish"></a></li>
<li id="thai" style="background-position:0px -231px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|th&hl=th'" title="Translate to Thai"></a></li>
<li id="turkish" style="background-position:0px -242px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|tr&hl=tr'" title="Translate to Turkish" ></a></li>
<li id="vietnamese" style="background-position:0px -253px;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|vi&hl=vi'" title="Translate to Vietnamese" ></a></li>
<!-- <li id="dutch" style="background:url(https://lh5.googleusercontent.com/-ZCYKJNwpNiA/UT8w1_tGFOI/AAAAAAAAE_0/yKb-UxtVy_E/s16/nl.png) no-repeat;"><a onclick="href='http://translate.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en|nl&hl=nl'" title="Translate to Dutch" ></a></li> -->
</ul>
<div style='clear: both;'></div>
<!--Google Translate Widget Ends-->
3) That's it now hit Save and you are done and this widget will show different country flags from which your readers can select the country he belongs to and you webpage will reflect on that country language So Friends this was how to show Google translate bar widget in blogger blog by adding this translate widget bar to your blog will surely give you few extra pageviews from different countries as there are many different languages spoken throughout the world So I may recommend that if you are using blogger blog then definitely you can't miss out this options for increasing your blog exposure, If you like this post please share and don't for get to subscribe to get more blogger tips and tricks! Keep Blogging


