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.

[…] Translate is a wordpress widget plugin written by 18 yr old Trevor Creech of Canada. Canada, eh? […]
[…] Download: Translate Widget Version 2.0 […]
I just found your great Translate Widget version. I would like for this to be able to show a brazilian flag instead of the portugal flag if possible. How do I make that change. I love the idea. It is a great addition. Thanks.
Thank you so much for this widget, my simple small site now translates into more languages
I was happy to find your simple tool and liked to install it on my German WordPress 2.1.2.
Unfortunately, Iditn’t found the controll interface and the layout of your Widget was not simular your example. I would like the same layout. (The flags in a line order.) After my integration of the widget all flags was in a table with two flags in one line with a lot space.
Please contact me, if you have a solution.
Thanks
Thomas
Very nice! It works great!
Great work! Even though Google’s translation is not perfect, it goes a long way in making the world a little smaller. Thanks for making my blog international!
Is there a way to make the flags horizontal instead of vertical? Thanks in advance. This is a great tool.
I have installed on my blog. It works fine. But the translation is not so good, it is not about the widget, but google. Hope google will improve the translation soon. Thanks again, Trev
[…] Translate Widget 2.0 @ Trev’s Travels […]
Simple, effective. Love it. Many thanks, Trevor!
Matt Jeppsen
http://www.freshdv.com
Hi Thomas.
I had the same problems you had, from a french website.
My workaround:
Line 74 of plugin file translate: I force the call.
// translate($options[’orig-lang’],$options[’en-flag’]);
translate (’fr’,'uk’);
Otherwise, I confirm that I can’t see any control interface
Again: I don’ know what happened, after previous operation, something just unblocked. The control interface appeared. I selected the radio buttons and then put back the call to translate($options[’orig-lang’],$options[’en-flag’]);
works fine now (My wordpress is 2.1.3)
Trev,
I just want to say what a fantastic feature you designed. You are obviously a very talented and unique individual and it shows!
Many thanks for your wonderful translation widget!
hi trev,
i installed your files in wp-content/plugins/widgets/ and have activated the plugin in my Plugin Management screen but i don’t see the flags in my posts. maybe you can help?
thanks!
“Whether the weather be hot, or wheather the whether be cold, we will wheather the wheather, whatever the wheather, whether we like it or not.” Try that one, and see whether anything interesting crops up? Enjoy. & Thanks a Bundle.
FYI Trevor, the widget is broken in wordpress 2.2
Thanks Mike,
The widget should now work in Wordpress 2.2. Just download it again from the same place.
Hi Trev,
I’ve just completed an upgrade to wordpress 2.2 as well. I was able to get the translator plugin up and running, but for some odd reason, it’s adding an extra unknown url path as it goes through google. I’m looking at my end to see what I can do to alleviate this problem, but if you have any suggestions, I will gladly implement them and disseminate the information to fix it.
Thanks again!
Trev,
I just went to w3c’s validator service and I believe I know what’s causing the problem. I think it has something to do with the php code in my theme template that’s causing it. I’ll keep you posted.
The address for the translation go wrong because it writes two times wordpress.
its for a french site and as you see my blog adress is http://catastrophy.b.free.fr/wordpress/
and not http://catastrophy.b.free.fr/wordpress/wordpress...
what i must change ?
regards
I’m having the same problem as MysterHK and catastrophy…any suggestions? Tks and nice work, Trev.
To everyone experiencing problems with the plugin:
I am currently working on the next version of the plugin, which will fix that issue.
Give me about 3 days, and it should be done.
Yes, Trevor…
I think there is some bug with your widget. Although I installed on my WP 2.1.3, it seems that the widget add another /blog/ on the translation link. So, the translated page end up on 404.
Hope it can be fix soon.
Thanks, bro!
Trev is workin on we have to wait…
not easy to do I gess…
this wonderful plugin has to become SEO optimized! you should do something to let the spider read the translated pages too!
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.