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.
You can buy online dvd rental but its good to read reviews before you purchase. Products like car cd mp3 players and laptop computers are very much in demand and you can easily find reviews related to these products as well as others i.e. desktop computer or LCD computers.
Sponsored
67 Comments
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
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.
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.
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.
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 ?
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
i try to setup similar widget. but it’s more general. you can use it anywhere including (but not limited to) wordpress.
please try and comment.
http://www.widgetbox.com/search?q=dennyhalim+translate&m=50
tia.
I’m have the same problem as gyam NO FLAG FOLDER and only a flag.png file. only translate title appears… What’s wrong?
Will Dutch be added to the list? Would be great if it can be
Very nice indeeed!!
Hi!
Thank you for the plugin. But how to set origin language without widget?
Thanks a ton for this cool plugin
Very nice widget, but i can see only 3 Flags, i use wp 2.5, is this an error?
Thanks a lot!
thank you for this amazing plug-in .. !
Is there a way to put the code into the sidebar without using a wiget? I have a special template.
Thanks
Jack:
You can call the main function, trc_translate() directly. So, just put < ?php trc_translate(); ?> somewhere in your template.
Trevor, since Google is offering more languages support, will you add them to your widget?
Hi “Me”,
I haven’t worked on this plugin for quite a while. It’s possible that I may give it an update, but no guarantees.
Does this work on WordPress 2.7 verson?
I just upgraded to WP 2.7 and had no problems with this great plugin. I’ve also had friends comment that the Google translations are surprisingly decent. I’d definitely recommend it.
Thanks for this great widget – free2step.com
Hi Im newbie in this wordpress an I appreciate your effort to share your knowledge with people like me without your level of systems education, by the way Im from Peru, I could download it but I dont know where to find /wordpress/wp-content/plugins/widgets/ folder.
How do I have to do, I only to know open the deck and go to widgets category where I have to paste the codes
Hi Im newbie in this wordpress an I appreciate your effort to share your knowledge with people like me without your level of systems education, by the way Im from Peru, I could download it but I dont know where to find /wordpress/wp-content/plugins/widgets/ folder.
How do I have to do, I only to know open the deck and go to widgets category where I have to paste the codes, please help!!!!
21 Trackbacks/Pingbacks
[...] Translate is a wordpress widget plugin written by 18 yr old Trevor Creech of Canada. Canada, eh? [...]
[...] Download: Translate Widget Version 2.0 [...]
[...] Translate Widget 2.0 @ Trev’s Travels [...]
[...] 以前、一時期「Telmina」に「Translate Widget 2.0」なるウィジェットを適用していたのですが、それとよく似た挙動です。 [...]
[...] Notice the new widget I installed called Translate. [...]
[...] The zip file includes a ‘flags’ folder and a translate.php file. Place both [upload] in the /wordpress/wp-content/plugins/widgets/ folder. Homepage [...]
[...] Update! Version 2.0 is here: Translate Widget 2.0 [...]
[...] Translate Widget [...]
[...] Translate Widget – Sencillo widget de traducción que ofrece tu blog en 12 idiomas [...]
[...] Translate Widget – Sencillo widget de traducción que ofrece tu blog en 12 idiomas [...]
[...] Translate Widget – Sencillo widget de traducción que ofrece tu blog en 12 idiomas [...]
[...] Translate Widget (Trev) Sencillo widget de traducción que ofrece tu blog en 12 idiomas [...]
[...] 第一个找到是WordPress Language Translator Plugin。上传、激活,在widget界面添加到侧边栏后,发现默认只提供翻译为英文的按钮,而作者的页面明明有多种语言支持。WordPress Language Translator Plugin直接添加widget的方式没能调试出演示的效果,不能满足我贪婪的要求,我也不想去研究插件代码,毕竟这是一个非IT人类的博客。后来发现,这是个修改版,原作者在trevorcreech.com。 [...]
[...] Translate – allow visitors to translate your blog [...]
[...] Translate – allow visitors to translate your blog [...]
[...] Translate 2.5 [...]
[...] Homepage [...]
[...] Translate – allow visitors to translate your blog [...]
[...] Translate – allow visitors to translate your blog [...]
[...] Translate WordPress Widget [...]
[...] Translate – allow visitors to translate your blog [...]
Post a Comment