Translate Widget 2.0
I have just finished a major update to my Translate Widget. This widget plops into you sidebar, using the Wordpress Widgets plugin. To quote my younger self:
it adds little flags to your sidebar, which will take you to a translation of the current blog page. It uses Google Translate, but removes the frame, so it looks quite nice! Once you’re in one language, you can browse around the blog, and everything stays translated. You can just click on the English flag to get back to the original language. You should see it on my sidebar now, and you can give it a trial run.
Here’s the download: Translate Widget 2.0
The zip includes a /flags/ folder, and a translate.php file. Both need to be placed in the /wordpress/wp-content/plugins/widgets/ folder.
Donations
If you appreciate my plugins, and feel compelled to spread some love, I would certainly appreciate it. No obligation though, of course.
Improvements in Version 2.0:
- Multiple starting languages are now supported. So, if your blog is in a foreign language, this widget will now translate it to English and any other supported languages. This is a big deal, since it opens the widget up to the international community. One guy got this working for French, but now all supported (by Google) languages are available.
- Russian is added to the list of languages
- A control interface was added:

People using the Plugin
I’ve just started to compile a list of those who use this plugin on their websites. You can view the list here.

we are still waiting for the correction…
regards
Hello,
I have installed your widget into WP 2.0.4 — and it is activated in my plugins. But, I find no panel or interface to allow me to adjust the widget at all. Could you please help me?
Regards!
Nice one. thanks for the widget. It works flawlessly.
Hola,
I have updated the plugin. I fixed the double url bug, and it should work fine. Get it from the same download location. I’ll be writing a post announcing the new version soon.
Thanks a lot, Trev,
best regards
Hi Trevor-
Just found your Translate widget and I downloaded the zip, but your instructions state that a /flags folder is included. All I see in the unzipped package is the Translate PHP, a flags.png and a blank.gif.
When I activated your widget (in WP 2.0.2) I do get a sub-title of “Translate” in the sidebar, but the flags do not display as on your blog, all in a row, they display in a small square box and clicking on the box does not link to any language.
Put in the widget folder the 3 files ( without the translate folder) and it will works.
regards,
Thanks, Trevor, your new code works perfectly. A little PayPal love is on your way, use it wisely (like getting something to quench your thirst…)
A little Paypal too..;
Please i need translation all international´s laguages
Thank you sir
Hey Trev,
Exactly what I need for my travel blog.
I will give will give it a try.
Thanks
ive uploaded the latest translate (2.5) to my wordpress site (2.2.2) and i have the widget showing on the homepage with the Translate title but it’s blank underneath. I tried it in /plugins/translate and in /plugins/widgets/translate and i also tried just uploading the files into those two folders without the translate folder. ive also tried changing themes to see if that was the problem. any suggestions?
incidentally this was a new wordpress install and i didnt have a widgets folder.
looks like it may be a theme related issue. it doesn’t work with the Talian 1.0 theme or Ad Clerum 1.5 and it behaves strangely with Redie 3.0 but works fine with one of the default themes.
[…] 以前、一時期「Telmina」に「Translate Widget 2.0」なるウィジェットを適用していたのですが、それとよく似た挙動です。 […]
thanks i used it on http://www.supercom.org and it fit very well! very nice job!
Please help! i used it on and i can´t see the flags!
Hello Trevor -
Thanks for coming out with your plugin. We have installed it, but have a question/concern.
See it in use at: http://www.webhelpermagazine.com (on right sidebar of all post pages)
Here’s the problem with it at this point: On our site, after it finishes the translation (does show the intermediate step of “translating” at the Google site), it then looses all the flags at top right. This makes it difficult to either return to English (our original site language), or to go to another language. Is there a way to correct this? Thanks.
- Scott
Hi, Thank you for the excellent widget. One question. How would I add a label to each flag so that I don’t need to hover the mouse over the flag to see the language? I was wondering if it was possible, then I noticed http://kltransit.com/ has done it that way.
TIA.
-Denise
Hi! Same as Pat, no flag pics, and I haven’t found any /flags folder in the zip…
Brilliant plug in, works well for me. I just uploaded it to the plug ins directory and activated it and all was well.
The xhtml validates perfect.
I’ve just redesigned a theme to be widget ready and am testing a variety of plug ins, many of which I’ll not use, but each to their own.
This plug in is invaluable.
My only real wish is that we could configure it to include more languages.
Works great in WP 2.3.2. Thanks Trevor!
I’d like to second “Liverpool is Great”s wish for more languages to include, preferably a way to choose the set of destination languages.
[…] Notice the new widget I installed called Translate. […]
Dear Trevor,
I came to your site by chance and I am keen to find out more about your nifty tool to open wordpress to the translation capacities of Google.
At present, I am running 2.3.2 in a testing mode and checking another plugin - wp-members. If this plugin runs properly it should provide a way to block posts to members only (and undoing it for special posts) and block/unblock pages as well.
When testing your plugin I experienced the following:
Logged in as admin, I am “registered” so that I can read all posts and pages without this restriction of wp-members. For the original english settings this is the case.
If I switch - within a post - to one of the languages provided by your plugin translator, it seems, that wordpress does not “remember” that I am already registered. The registration form opens - translated - and requires registration.
I pass this on to you, as it might be of interest to you and others to know. Please do not bother yourself too much with it, as there may be other problems more urgent than this one.
Hi, I don’t have /flags/ folder in your zip file. I made one but I’ve no flags pics and only three languages. If I put the files directly in /widgets/ , only translate title appears… What’s wrong? I test old and new version.
If I want to place the translator outside of the sidebar, for example in my header.php, footer.php etc, is there a function i can call to get the output of this widget ?
[…] The zip file includes a ‘flags’ folder and a translate.php file. Place both [upload] in the /wordpress/wp-content/plugins/widgets/ folder. Homepage […]
This is HANDS DOWN the best translator I’ve ever used. Clear, concise, simple. Perfect. Thank you so much!
Thanks for the tool, tested on last WP version 2.3.3 and works fantastic.
Keep up the good work
(widget is installed on this website, i’ll use it now and in future blogs)
Update the url
well done,
I put it on a french website and it works wonderfully !
Congratulations.
Paul Saultier