Add a Google Translate Mini Flags widget to your blog. Powered by Google Translate, this widget lets your visitors view your pages translated in their own native languages with just a click.
Single Column
Code:
Single Row
Code:
Double Row
Code:
This widget is tested on Blogger, WordPress and Joomla. It might also work on other platforms.
How to add the Google Translate Mini-Flags Widget to your blog:
Blogger
1. Go to your Dashboard > Layout > Add a Page Element > HTML/JavaScript
2. Paste the code
3. Add a title. Ex: Translate, Translate this page, Google Translate (Optional)
4. Save (or Save Changes).
WordPress
1. Login to your Admin panel > Presentation tab > Widgets tab
2. Paste the code into the Text Widget. If there’s no Text Widget available, add one.
3. Add a title. Ex: Translate, Translate this page, Google Translate (Optional)
4. Save.
Joomla site
1. Login to your Admin panel > Modules – Site Modules > click New
2. Paste the code into the Custom Output content box
3. Adjust module details and menu item links if necessary
4. Click Apply or Save.
Google Translate is still on its beta phase. Much like with other web page translation services, your readers might find parts of the translation very funny. Google has yet to meet their standards on this.
This widget is distributed freely. Feel free to use it, change it to meet your needs. Just drop a comment below to let me know it helped out, or if you have questions or problems adding it your blog or site.
I like your name ‘madtomatoe’. It is very unique! Thanks for sharing the widget and now have one on my blog. Have a Healthy & Prosperous New Year 2008! Cheers^^
Viv,
My pleasure. A New happy and prosperous Year to you, too!…
Great widget this is. Grab one I will. Thank you.
WOW~
Google Translate Mini-Flags Widget.
Happy New years.
THX :)
Thass Fantastic!
I know I can never read ???? so hopefully this will Help Folks from around the World Read my Blog!
;))
Peace*
U may like http://www.Feedjit.com too which shows where yer Visitors are arriving from + how they got there!!
Added ur link..
add mine too..title is : My life as it is..
Thanks
Cool widget, I added this, as well as your site, to my blog. Thanks! :)
Aayush and Karlo,
Thanks!… Added your blogs to my blogroll, too.
Hi MadTom,
Cool and informative site! Thank you for the invitation. I added you in my blogroll. :-)
Hi, thanks for your visit. This is useful widget. Thanks for sharing :)
Billy’smom,
Thanks!… Added yours, too. :)
Whoa! I have a similar Google translator widget but it has Arabic too!
Nice work on making it as simple and stylish :-)
I’did link your blog!
This will be very helpful since our blogs are seen all around the world. Thanks
Joel,
Thanks! Added your blog to my blogroll, too.
Chris,
My pleasure.
Great stuff !!
I have added this to my blog. Thank you.
hi…. thank’s for visit…
have a nice day :)
thanks for sharing this :) i digg-ed it :)
halloooooo
i am Great widget this is. Grab one I will. Thank you.
dear mad, i feel so frustrated not finding any clue online where to get this cute google language flag widget based on german language translating into the other seven. please help me….thank you so much, sincerely veryheaven / febn 23rd 2008
Thanks for the digg, Gezelle. ;)
I’ve got the code and followed your simple steps, but can’t get it to translate my blog.
What did I miss?
SG,
When pasting the code, be sure the text/code editor is in Html mode (“edit Html”).
Dear veryheaven ,
At the moment, Google Translate has no support yet for translating German language to other languages other than French and English. But I will see if I can create a flag widget (German) with other web translators.
Thanks!
I really like this widget. Thank you!
Hi,
Thank you for the free google translator. I really appreciate it, I have put it on my blog. Have a great day! :-)
I copied this into a text widget and it doesn’t show the flags…only text from “border….FFFF;”
can u perhaps give the html code like i should add it to make it work… tks!
<div style=”border:1px solid #ccc;padding:10px 3px 3px 10px;text-align:center;background-color:#FFFFFF;”
Nikita,
Each code above is complete; and each should work when put into a text widget (WordPress). Be sure to copy and paste the complete code.
tks, i will try again today… that is what i actually did… but, let’s see again…
hello again…the flags show… but have a look at my site…colour changed to grey which i don’t like…and look at the code that’s visible…and… click on a flag..and nothing happens…and i promise…i copied everything as it is..i checked myself 3 times!
Nikita,
I’m not sure why it doesn’t work with your site. But when I viewed your page source, I noticed the javascripts were missing or removed from the widget’s code, that’s why the flags don’t work when clicked. It seems that something with your site that’s disabling the code.
You can try the following:
Go to your Dashboard > Options > Writing …
and under Formatting, uncheck the box before the “WordPress should correct invalidly nested XHTML automatically“. Click Update Options.
Get the code (again :) ) for the Google Translate Mini-Flags Widget and paste it into a text widget.
hi madtomatoe… I don’t have an “option”-link! I clicked on ALL links on my dashboard…there isn’t such a link…isn’t that with WordPress 2. (whatever) and higher? Thanks for your help…I’ve now deleted the code in my widget.
Nikita,
I’m sorry, it should have been like this:
::: Go to yourAdmin panel > Options > Writing …
and under Formatting, uncheck the box before the “WordPress should correct invalidly nested XHTML automatically”. Click Update Options:::
Hi MadTom
These are the links I have…I clicked on them all, there isn’t a link such as “options” nor “Formatting”.. and I really clicked and searched everywhere…
Log Out | Help | Forums
Dashboard
Write, Manage, Design, Comments, Upgrades,
Settings, Users,Dashboard, Blog Stats, Blog Surfer, My Comments, Tag Surfer
Oops! Sorry again.. I see you’re already using the new WordPress 2.5. Anyways, I’ve just tried the widget with WordPress 2.5 and it’s working well.
Hi Madtom…the text widgets won’t allow java… I’ve read it today on the forum too…many other people have problems with it…i have internet explorer 7, don’t know it that’s a problem… other people say they have problems with Firefox
I have place this on my website, but when I click on it nothing happens…. Help please!!!!
For some strange reason, Google Translations doesn’t seem to work for Blogger on IE, but works fine on Firefox.
Maybe it’s just my computer?
Can someone please test my website to see if works on IE?
Hello
I pasted the code for the Google Translate Beta (8 flags) In my site, but when I click any of the language flags I get an Error Message that says: Sorry, this is an Invalid URL.
Where did I go wrong?
Regards
Gerson
A note to all the “copy and pasters” the first div tag is missing a closing “>”. So the code won’t work unless you add it. I hope MadTomatoe has a chance to fix this.
Thanks, Michael, for pointing that out.
and I have two others
thedesertsky.blogspot.com
hamidatheherbalist.blogspot.com
I want to add more flags and more languages to the flag translate widget. How do I do that?
I love you widget. Is it possible for me to custumize the widget so I can translate a Dutch website into the languages listed plus English?
Hi. Thanks for the Google Flags code. I was working on a kludge myself and you saved me a couple handfuls of hair. I will add you to my ‘site credits’ page when I get some final details sorted out but for now you can see it here http://www.stormvisions.com/pages/home.php
The only thing that would be cool is perhaps to hide the div containing the flags onclick. Right now clicking one of them, then selecting another language from the translated page -instead of the original page- delivers you to a translate box at Google.
Great work and thanks.
Burt
Well appreciated
The translators are very good and I placed them in my blog.
Nice code. The only issue is using the flag image hosted at PhotoBucket.
PhotoBucket alway have bandwidth limitation.
Regards
quiero que me traduscan todo
thanks a lot, it will help the visitor in my site
thanks you
Hi Tom,
I wasn’t able to install the widget. For some reason I get the message:
“Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The content of elements must consist of well-formed character data or markup.
every time I try to install it. What should I do?
Thanks,
Greg.
nice info
Sorry man, i dont knowwhy but your widgets didnt work for my blog.
Anyway your widget is good.
Hi,
I follow the instruction and paste the code in my blog, translate appears, but when I click on the flags, no tanslation appears,
wondering…, did i do something wrong ( I am using classic template HTML)
Thanks to you advice
nice Widget
Hi madtomatoe..
nice widget and it will help my visitor to understand about the article in myblog.
thanks,
ardhie
THANKS
Hi madtomato, Have bee stuggling tying to get this to work. I,m thinking it must be something to do with my hosting company (microsoft oficelive) . IVE PUT IT ON A TEST PAGE. Ideally I just need a few individual flags – POLISH – LATVIAN – FRENCH & SPANISH. I would be greatfull for any help.
Thanks Patrick
thank you very much.i’m searching for the other nation to it make complete.nice work of sharing like this. GOD BLISS!
thank you very much.i’m searching for the other nation to it make complete.nice work of sharing like this. GOD BLISS!
I have installed this in my blog.. Thanks for sharing…
Hey.. MadTom! Cool widget!! I really like it…
I’ve made some changes to the codes so now the widget work for my language, Indonesian.
Thanks for sharing it.
Anyway, I plan to make the other languages translation. How could I find those cool flags of other countries?
~again, thanks. :)
Hello,
Thanks for sharing. Having a query. Hope you know the solution. Does google translate do not work for https page?
you can reply me on hellotaran@gmail.com. My work email address.
Thank you,
James
@ James,
Google Translate does not have support for secured/Https URLs, at least for now.
Many thanks, much better than googles own version!
Thanks for the widget, I modified it a little in order to do the translation into Spanish… I like it a lot!
Hi..
Curious to know on a few of my websites, they are not word press blogs..Can one of these be used for non Word Press blogs..
Thanks,
Mike
@ Michael Perry
yes they can be used for non WordPress blogs as well.
this tool is awesome. thanks for sharing.
yuhuuhuhu…..
makasih ya…….
good… nice info, thx
now i can let my visitor translate my pages to their own languages. so easy to do..
thanks for sharing this…
Want one
Need one
But…
they’re ugly
Why can’t we customize?
Sooo,…
und why again does this not work with IE???
ola
td bem
gostei
e
vc poderia me
ensinar o codigo de flags que ficam
se mexendo como o vento estivesse soprando…
rss
obrigada
aguardo retorno
It seems not to work for me… I think its because the “Content Warning” Box needs to be selected before the Google translator can take effect.
Anyone know how to add a translator to my page the will function with the “Content Warning” box?
Ariel XxX
Nice! I like the translation code!
I don’t offer this yet on my blog. Now I will no longer look for info on how to add it to my blog, good I bumped here. Thanks.
Hi,
Your google mini widget looks good. I have a site designed in NetObjects Fusion version 7.5 It is not a blog.
Any ideas about where to paste the code?
Hi Barbara,
Any URL I can look into?…
Thanks for sharing!
Can you help me to make gadget google translater Indonesian to English
Thanks
I use this a lot… but now the flag images are gone from the photobucket site they’re referenced to!
Please fix that…
Thanks :)
Same here. The flags are gone.
Thanks for making this widget btw. I wish I knew how to change the colors/width, so it would fit better with my blog’s color scheme. Any plans on adding a tutorial for that in the near future?
@Iggy
@ Patrick
Thanks for informing me.
The flags are up now. I’ve moved the flag images to a new host, so you have to get the code again and paste it into your site.
Thanks MadTom!
Thank You for the options of size, color and format of this google translation widget. I have been searching a few hours for this very thing.
I don’t know why blogger wouldn’t have it easily to access.
we have those flag images on our website but we have not use this google translate. Thanks for sharing it MadTom.
Perfect
Yo, mad tomato! Thanks for the translation tools, but the one I chose isn’t working for me. the only thing changed in the code was to narrow it down to fit my blog’s margin (I chose the double row widget, above).
I hit my site, click the flags, and nothing happens. Can you help me out?
Thanks again!
The flags seem to be working fine on your site now. =)
Btw, your site (http://www.unnatural20.com/) is cool! I love the theme/design.
how to add other countries or langauge?is it possible?
Nice post,thanks
Hi there, If you don’t like topics with many links, just delete this topic.
Thankyou.
Excellent YouTube post ! thanks for sharing. I’ll be adding your blog to my reader.
Juan
I tried a coule of times to paste this code into my blogger html section..checked it several times and keep getting the message:
Your template could not be parsed as it is not well-formed. Please make sure that all XML elements are closed properly.
XML error message: The reference to entity “langpair” must end with the ‘;’ delimiter.
Very nice widget,and I will put in my blog!,Thanks…
I installed the Google Translate Widget and it doesn’t work when you click on it. Thanks for your help.
Hi Mad Tomato
This is an excellent gadget.. how do i modify the plugin to display other languages?
Thanks
ZQ
PassportChop.com
beware of this as he is using click jacking.
google about click jacking for more info
Oh, i was searching for this widget everywhere. I got it here at last..
Cool, took the code and modified it a little bit and now it looks like a perfect fit:
Thanks a lot!
Just grabbed 2 row flags – perfect for my friends. Thxs.
The biggest problem here is that if Google starts to aggregate the data they might negate their most valuable offering, “Search Relevance”. Artificially inflating /deflating a site’s relevance can be done with the help of 50 students at 50cents an hour entering a company site as the preferred result.
Nice post pal. Thanks
HI, I use it in my site, Thank you very much
Hi. Thanks very much :). I now using this on my site.
Thanks one more time :)
super great thanks now forum completed thanks a bunch
Hi. Thanks very much . I now using this on my site.
super great thanks now forum completed thanks a bunch
Thank you very much for the translator, i really needed one! they’re useful. Big time!
I just installed this widget but it doesn’t appear to be working? It shows up in my sidebar but when I click on one of the flags nothing happens. Can you help?
needs fixing for IE, works fine when viewed in firefox…
Congratulations for your wonderful site , good night , Sandra
Tank you very much … Sandra
yes !!
Gostei muito deste site , agradeço a oportunidade de estar aqui , abraços , Sandra
his is great news. Best of luck for the future and keep up the good work.
Tank you very much
موقع زفات
Thank you for this widget. What if I want to change the background colour of the widget?
Regards,
David
Malaysia Asia
Nice widgets….thanks for sharing…
Edy,
Healing Scabs On Face
how can you add a certain language?
it doesn’t work!:(
thanks. this widget is cool!
how can we add more language
what code we change due to follow http://translate.google.com
'http://www.google.com/translate?u='+encodeURIComponent(location.href)+'&langpair=en%7Ces&hl=en&ie=UTF8'
please give me idea
i wana add more langs
Thaks in Advaced
thanked posted.
thank’s for your information
thanks for your tips !!!
nice plugin..
thanks
boa sorte rapaz
I am not sure if this site is still active but I just want to give my appreciation for the code here. I have been hunting the internet for days trying and failing using code I could find until this site. Thanks!
How does one go about to ad more languages ?
Those are really nice looking flags, do you have a link to a collection of them? :)
Can you publish the code for all languages please?
exellent widget, tanks for sharing
I have applied this code in my blog and it’s really working.Thanks for share with this code..
thanks for sharing,those are really nice
Hi. I got the flags to look good on my blogger site (which I view in IE8), but I can’t get the functionality to work. Any ideas?
hi, the script not work, you can visit my web and try the widget. thanks
maksih bro google translater nya ………mohon pasang beclink boleh gak bro….maklum bro blogger kacangan belom ngerti apa2 nih alias masih belajar…..kunjungan balik bro ditunggu……lumayan buat koleksi viitor…hehehehe…..TQ bro
ups…… sorry i don’t know that u’r not indonesian………thak’s 4 google translater…………..please visit my blog……
I was wondering for this widget now i got it,,,,,,,,,, Thank you so much to bring it to me.
I like this web with some of good plugin, thank you so much for sharing.
Obrigada, somente no seu site eu encontrei um tradutor que realmente funciona! Obrigada!
i’m from rio de janeiro and i’m live brazil, thank’s! =)
I hope you can offer the codes written out for many more languages (Hindi, Urdu, Swedish…) at some point. Thanks for this widget!
Where did you get your translation flags. I’m looking for a full set of 58 with a nice 3D effect like yours.
Thanks and bless,
Cliff.
nice, must try this one on my blog as fast as possible :D
Thanks much for the translator.
Thanks…
Its Really Nice .
Thanks again
thanks for sharing. How to add bangla translation ?
Thanks a lot. This will certainly help me get more visitors from other countries :)
Super easy for not-so-tech savvy people like myself. Thanks for the code.
All the flags have disappeared from my widget and have been replaced by question marks – help!
Well, it certainly was a great widget! :-(
D
Sorry about that. The flag images were hosted on Microsoft’s skydrive. Apparently, serving images from skydrive is not allowed anymore. That’s why the flags disappeared. So I moved the flag images to another location. The widget should be working fine now. Just copy the updated code above and install it again.
Hooray – it works! Thanks so much for your prompt attention! This widget is, in my opinion, the most valuable widget there is! :-)
Sorry about that. The flag images were hosted on Microsoft’s skydrive. Apparently, serving images from skydrive is not allowed anymore. That’s why the flags disappeared. So I moved the flag images to another location. The widget should be working fine now. Just copy the updated code above and install it again.
The google translation widget is very useful. Thanks a lot for those who worked on this project. They did a wonderful job.
Note – please make sure that the languages like tamil (alpha) the sentence is not properly framed. Kindly rectify the same.
with metta
zensangha
The flag widget is great but how can I add to it with other languages like Portegese, Farci, Tagalog, Eastern Europe languages, etc.
Ted
I will be adding other flags to the widget.
Thank you.
Best regards Ted Larson
I love this widget! However… my website is in traditional Chinese, and I’d love to translate it into English. How do I do that???
I will be making a Chinese version of the widget soon as I can. You will be notified when it’s done.
Hi brothers, I try to use the translate widget by translateth.is
but after several of the days my translate widget is not working.
also my widgets from alexa isn’t appear.
I see you understand much about the blog.Can you explain to me what causes it ? whether javascript can be influential?
thanx before
Hi,
The Widget is PERFECT, however, it doesn’t work!!!!
PLEASE HELP!!!!!
For Tommy: English to Haitian Creole ALPHA
great widget…i need also to allow arabic translation, tried to edit one of the language sections in the code, but didnt want to fiddle too much…any tricks you can share oooh master?
thanks . it’s very easy step to add google translator.. thanks a lot
plz. add arabic and hindi also in this code.
Please supprot me Code to Translate English to Vietnamese.
Thank you very much!
I had posted a question on 11/1 if you can either add languages like Portuguese or better yet if you could provide instructions how to edit the url string so anyone can add the language of their choice (which I think would be great as it would truly benefit everyone and not put the onus on you to keep adding languages). Can you please update us on this. Thank you.
how come when i try to click the flags, it won’t translate? the widget shows, but it won’t translate!
hi, this a great offer really. but can i make it to translate in the current page? i mean withourt opening a new window.
kind regards
Mantap gan, thanks
Google translator is very useful. i always use it when i want to have some instant translation of some of the stuffs that i have. *`*:*
Many thanks
Pingback: 30 Blogger Platform Standart | My Blog
Pingback: 30 Blogger Platform Standart | Mibats
Fantastic discussion . I learned a lot from the analysis . Does anyone know if my business could access a template NY DTF IT-280 example to type on ?