Translate Widget

Update! Version 2.0 is here: Translate Widget 2.0

Translate WidgetSo, I’ve completed my first bona-fide Wordpress Plugin :)
It’s one of those newfandangled widgets, and 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. Then, if satisfied, download it here:
Translate Widget
The zip includes a /flags/ folder, and a translate.php file. Both need to be placed in the /wordpress/wp-content/plugins/widgets/ folder. If you want to change the English language flag from the default American to either the British or Canadian (as I have!) flags, they are included, just rename flag_ca.gif, or flag_uk.gif to flag_en.gif. Now you can just go to the widget’s options.

Donations

If you appreciate my plugins, and feel compelled to spread some love, I would certainly appreciate it. No obligation though, of course.


Comments, tips, or problems are welcome, just leave a comment here, or send me an email (Address is in the sidebar.)

Do enjoy!

Update on June 14, 2006: The plugin now supports Arabic, since Google has added that to their list of supported translations. This brings the total to 9 languages.
To those not familiar with Wordpress Widgets, you need to have the Widgets plugin installed before you can use my widget.

195 Comments

Pages: « 1 2 3 4 5 6 [7] Show All

  1. Miqu

    I have the same problem as clifton

  2. jg

    How/where can I force a newline after the Title? I’m sure it’s very basic, I was just hoping you could point me to the necessary line. On your site you have the Title, a horizontal dotted line then the flags. On mine it has the TitleFlagFlagFlag with no break or BR tag.

    Very nicely done, btw. Thank you for the updates. :)

  3. […] Visit […]

  4. […] night, I found the coolest widget and inserted in the right sidebar. It’s called “Translate this Site.” There are […]

  5. Dear Brother,

    I installed your translate plug-in and Flags are not displaying on the sidebar. Please let me know the solution if you have time. Thanks a lot.

    Union

  6. Tim

    I have the same Problem: No flags! (WP 2.2.1)
    I hope you have no big problem with that.
    I look back later.

  7. hi there my frnd has created a same kind of script for static webpages but the PLus point in mine is aftrer translating the url’s dont show you

    some thing like this http://www.google.com/translate?hl=en&ie=UTF8&langpair=en%7Cpt&u=http://trevorcreech.com/blog/2006/04/27/translate-widget/

    but http://www.yoursite.com/article/language name

    so would u like to try that or implement on your plugin ? :)

    juss mail me back at messiahDOTreloaded AT gmail DOT com

  8. […] Translate is a simple widget plugin … easy to install …. you have to take care of the code […]

  9. […]     http://trevorcreech.com/blog/2006/04/27/translate-widget/ […]

  10. fred

    the title is appearing on the same lines that the flags begin on - there is no seperation between the title and the flags. I would like the flags to start on the next line, now on the same line.

  11. Joe

    Doesnt work in 2.3…..any help?

    Gives a google error page.

  12. yeah seems like it has some problem with 2.3 any one else facing same problem ?

  13. […] Translate - Adds a sidebar widget to display languages into which you can translate your blog. […]

  14. You’v do a great job! I will use it in my website(English to Chinese translation)

  15. I cannot see any flags on my website. I downloaded the plug-in, activated it and when I view the site, it has the title “translate”, but no flags.

    Any help? I checked out how it works on your site and really like it.

    Good work.

  16. Hey Trev! Most cool. Up for a small graphics improvement? I’d like to add a linespace between the title and the flags, and another between the flags and the bottom margin — to match the format of all the other widgets I’m using. Can you give me a line or two to add to your .php script? Thanks!

  17. subdomain.example.com

    Please, how can the plugin be adjusted to render links for a WordPress URI which starts with a subdomain?

    As it is, the plugin uses only the domain, example.com, rather than subdomain.example.com …

    Thanks!

  18. seems to be a great plugin…but I cannot have flags pict. and no /flags folder in your zip… Where should I put the 3 files? Now, all are in wp-content/plugins/translate/

  19. Hey…
    I was searching for some translation widgets that can be used on blogs and I came across your site. I like the widget but Im not sure if it can be used with Blogger ? I also found another entry in your blog that says the time on the blog can be viewed by the user in their own timezones. Can that be used for Blogger ? Thanks.

  20. Hi, Trevor. Is it possible to make this translator work for “Sandvox” ? ( my web page software) I would really like to “get it from Canada” if possible! Lemmee know…. Bob.

  21. Ronald

    Hi Trevor!

    Very awesome plugin! Make any blog can go international…

    BTW, my wish-list is : add Indonesian language.
    There is thousand blogger from Indonesian, and just fyi Indonesia is a #4 of country population in the world.
    Indonesia’s language similar with Malysian, and Brunei Darussalam so they can also have the benefit.

    Ronald

  22. Una muy eficaz widget, gracias!

  23. I have word press. How can I add your translation widget? Help!

    http://www.rupeenews.com or actually http://www.moinansari.wordpress.com

    Can you make any other suggestions and any other cool widgets for the site?

  24. Bryan

    Trevor, I am very impressed with this widget! Make sure you add this to your resume an/or portfolio. It is a strong widget with your name all over it. I am honored to have come across your site in my WP ventures.
    Bryan from Boston, MA USA

  25. Thanks for the great Translator plug-in. I used it for my Bible blog, Fast Track to Victory, at http://www.songsfromtheword.com/Site/Blog/wordpress

    Hopefully, they will get exposed to the gospel, even if only because they want to practice their English…

    Blessings,
    Cheryl

  26. Trevor Hi!

    Can you please take a look at my site & tell me what could be wrong with the translation widget on there.
    I purchased this site from someone else. The translation widget was working fine until I had it transferred to Hostgator this week. They did the transferring of the files for me as I don’t have a clue how to do it myself. After several frustrating days of my site not coming up in the search bar I only saw a “moved permanently message & couldn’t view it at the temp. URL given by Hostgator. They said it was because of the type of script used is why I couldn’t view it at the temp. URL. Anyway then after the nameservers were pointing at Hostgator they took some of the plugins off & readded some & said they saved the general options to. When my site was able to be viewed I realized some plugins were left off one being yours so I reactivated these. Now I have a problem with yours but I want to keep it on my site.
    Hostgator is denying it is something they caused or can fix. They said to contact the person who built the script. Can you help? Or do I need to get in touch with the web designer who set it up? Any ideas? Will upgrading Wordpress(which I need to do) help with this?
    I notice now not only is the red button messed up but the languages are not translating now either? Help! Hostgator has really irritated me this week with this. This is my first site & they did not warn me that the files transferred may not work properly.

    Take Care,

    Cheryl Brownlee

  27. fra

    does this plugin support wordpress 2.5 is there anyone on this website? i love this plugin but it looks likt nobody is supportingit

    anyone here?????

  28. Hi,

    This widget seems pretty cool but I can’t get the codes! I’m far from being a computer expert. I don’t know if you could just email me with the codes. That would be nice.

    By the way, we are neighbours!! I live in Oakville :)

  29. Hi Trevor,

    This widget looks very nice but i know nothing about codes but would like to add it to my Blog.

    Marcio

  30. Very neat tool, I will consider using it on my site
    http://www.russisch-uebersetzung.ch
    Thanks again, O.

Pages: « 1 2 3 4 5 6 [7] Show All

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>