Home > English, WordPress > Google AJAX Translation WordPress Plugin

Google AJAX Translation WordPress Plugin

August 4th, 2008

UPDATE:

Thanks Michael Klein for his great work on this plugin. We’ve updated to Version 0.3.1 now.

Some changes:

  • Encapsulate the plugin in a class. No global vars needed anymore, faster code! (Michael Klein)
  • Better support of capabilities-model (WP 2.6)
  • Fixed some html-bugs (missing alt-Tags, etc.)

And, please make sure go to your WordPress Settings->Google Translation admin page to reconfig all the preferences after the updating. Thanks!

Google AJAX Translation is my the first WordPress Plugin, it has been downloaded more than 1700 times until today. And because it is so simple, I haven’t done any major update after the first release.

Couple of days ago, I’ve got an email from Michael Klein from alquanto.de. In his email, he attached a updated version of my plugin and show me how it works on his blog: http://groovengine.de

Mr. Michael Klein has finished a big task on my todo list: Switch between flag icon and text for all these languages.

It’s amazing! This is the beauty of Open Source! We need a new update version now!

Say hello to Google AJAX Translation WordPress Plugin 0.2.0!

What’s new?

  • Switch between flag icon and text for all these languages. Thanks Mr. Michael Klein!
  • Admin configuration page

  • Enable/Disable Posts Translation
  • Select which languages you want to support
  • More Languages Support, it has 23 languages in total:

* Arabic
* Bulgarian New!
* Chinese (Simplified and Traditional)
* Croatian New!
* Czech New!
* Danish New!
* Dutch
* English
* Finnish New!
* French
* German
* Greek
* Hindi New!
* Italian
* Japanese
* Korean
* Norwegian New!
* Polish New!
* Portuguese
* Romanian New!
* Russian
* Spanish
* Swedish New!

How to update?

  1. Download the newest version from WordPress
  2. Unzip it and you will have everything in the “google-ajax-translation” folder
  3. Overwrite the exist “google-ajax-translation” folder on your server, it should be in “wp-content/plugins/” directory
  4. Active it from your admin page
  5. Do some changes on Google Ajax Translation admin page

Enjoy!

Please feel free to comment here if you have any questions, or you still can check if is was already answered on the old post.

And it is on GitHub too!

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Reddit
  • StumbleUpon
  • TwitThis

English, WordPress , , , , , , , ,

  1. December 20th, 2008 at 17:50 | #1

    Please add Lithuanian ;) Great job!

  2. January 22nd, 2009 at 09:17 | #2

    Sweden’s flag is? blue with a yellow cross!!!! Embarrassing bug!!!

  3. Amy
    January 25th, 2009 at 16:51 | #3

    I’ve installed the plugin and I love it!

    However, I don’t want to have the flags listed on each post on the homepage. Is there a way to include the flags on each post, but not on the posts that display on the Homepage?

  4. February 2nd, 2009 at 16:04 | #4

    Great module!

  5. March 5th, 2009 at 15:34 | #5

    What is a limit for a text (if is any?) that can translate this plugin?
    When I try to tanslate my post it’s only translate about 255 first characters. How I can translate rest?

  6. March 5th, 2009 at 17:05 | #6

    A new version is under developing now and will be released in the coming weeks. It will fix a lot of problems which listed here and include some other improvements too.

    You will get notified from your plugin page soon! :)

  7. Quinn
    March 6th, 2009 at 16:39 | #7

    Fantastic work Libin! I can’t believe my pages can even translate to Chinese… that’s just so awesome!

  8. March 27th, 2009 at 23:00 | #8

    Thanks! For your tutorials!

  9. March 31st, 2009 at 11:30 | #9

    hi,

    see translation post just plugged in my blog

  10. April 5th, 2009 at 11:53 | #10

    I want Turkish version. Please to care.

  11. April 6th, 2009 at 06:06 | #11

    Thanks, great job. Please add Turkish.

  12. April 7th, 2009 at 03:00 | #12

    any turkish translations? flag

  13. April 8th, 2009 at 10:03 | #13

    Please add Turkish. Because Turkey is a location which have 70 millions people.

  14. April 8th, 2009 at 10:56 | #14

    Sure! Your voices are heard! :)

  15. April 16th, 2009 at 06:19 | #15

    I’m still unclear who has browsers without Javascript. Cell phones now? Really?

    Anyway, this general pattern does have easy fallback, as the pattern is one where you refresh portions of the page via Javascript/XHR, but if you did a full refresh you’d get the same content.

  16. svs
    April 19th, 2009 at 12:54 | #16

    is there any option to include it into the header, so people can translate the whole page? without character limit.
    a reply is welcome.

  17. svs
    April 19th, 2009 at 12:56 | #17

    @Slots Regeln
    Slots Regein: Symbian phones are excluded, they allow javascript :)

  18. April 25th, 2009 at 05:41 | #18

    Hi, I just posted on wordpress.org about using a modified version of your plugin:
    http://wordpress.org/support/topic/264206
    If anyone is interested I’ll post all the code for download or post any questions.

  19. Isabel
    May 8th, 2009 at 15:19 | #19

    Hi there:

    My widget doesn’t show up in the widget listing. Any help?
    Thanks in advance!

  20. May 11th, 2009 at 10:28 | #20

    We waiting still for Turkish, please quick :)

  21. May 19th, 2009 at 14:31 | #21

    Love the plug in, but it’s not allowing for translation when pages are accessed through the sidebar categories. It shows the entire list of languages it could be translated as part of the blog entry. How do I fix this?

  22. June 6th, 2009 at 16:23 | #22

    Hello!

    I can’t get it working with some templates. with other templates it is working…
    what could be the reason for that?
    I am just using WP 2.8 BETA, but tested with 2.7.1 as well
    if I use WORDPRESS Classic theme, it is working, if I use
    Benevolence DE 2.1 by Theron Parlin for example, it is not working
    I checked different installations with different templates…

    what can it be that it works at ONE domain with some templates, with others not?

  23. June 9th, 2009 at 09:06 | #23

    .. added Turkish? :)

  24. jonathan
    June 9th, 2009 at 21:12 | #24

    You post is very helpful to me and I

  25. June 10th, 2009 at 12:54 | #25

    Would be great to have this sitting in a Widget!

  26. Akuna
    June 14th, 2009 at 05:00 | #26

    YAA Adding this to my bookmarks. Thank You

  27. June 19th, 2009 at 18:06 | #27

    Thanks. But it doesn’t add Turkish

  28. June 21st, 2009 at 10:56 | #28

    Unfortunately, all that appears on posts is the word “Translate.” Clicking on Translate is the only way to get the flags to appear. If someone is not an English speaker, he will not recognize that this is the way to translate!

  29. June 23rd, 2009 at 00:46 | #29

    Hi,
    And thank you for this amazing plugin -perfect with WP 2.8..!

    I just would like to move the “translate” link to another line of my posts, with the tags, number of wiews and so on… Is ther a piece of code that I could directly copy into my template(s), or something to modify into you’r plugin code ?

    Thanks again, in anu case !!!

  30. saiajin
    June 23rd, 2009 at 06:10 | #30

    Hi This plugin is great!!!…but due to my content I had to remove the horizontal ruleand I would prefer it in the top right of my page…how can I change the position?

  31. faiver
    June 24th, 2009 at 06:59 | #31

    It doesn’t work with wordpress 2.8, why?

  32. Facebook User
    June 24th, 2009 at 18:37 | #32

    i can get it working.. http://www.maldivesonlineguide.com can someone please help.. the plugin doesnt react to any language selections.

  33. Facebook User
    June 24th, 2009 at 18:38 | #33

    i have wp 2.8

  34. June 25th, 2009 at 09:59 | #34

    hi,

    I have a page where i add posts to a static page (see my homepage url, (built according to http://moshublog.com/2007/09/10/static-frontpage-combined-with-dynamic-content) and it now it seems css/js isn’t applied to the translate link at the blog posts. Any ideas?

    thanks!

  35. June 25th, 2009 at 10:17 | #35

    in fact, i made a temporal solution, but see the affected page now at http://www.ecotopiabiketour.net/test

  36. June 26th, 2009 at 08:56 | #36

    Im trying to hack into it, i guess there needs to be some tag at the bottom of the posts-list, but which? the Page template is here.

  37. June 26th, 2009 at 09:04 | #37

    Sorry for spamming :) I think its has to do with the use to the_excerpt, its not included in the filter hook selection list…

  38. Simon
    June 28th, 2009 at 19:41 | #38

    I get the same error with the person above who has http://www.maldivesonlineguide.com
    That is, when I click on a language from the list, nothing happens, and Firefox shows the following error in the Error Log:

    Error: jQuery(A).translate is not a function
    Source File: http://WEBSITE../blog/wp-content/plugins/google-ajax-translation/jquery.translate-1.3.7.min.js?ver=1.3.7
    Line: 10

    Is there something missing?

  39. Simon
    June 29th, 2009 at 04:22 | #39

    The “jQuery(A).translate is not a function” error is caused because of a name conflict with jQuery. My blog already has other plugins that make use of jQuery, and therefore since the Javascript naming is global, there is a conflict.

    For more, see
    http://devoracles.com/jquery-error-documentready-is-not-a-function-sure

  40. July 1st, 2009 at 01:34 | #40

    Please post in the WordPress forums if you have questions or problems.
    http://wordpress.org/extend/plugins/google-ajax-translation/

    It’s easier to answer questions there.

Comment pages
  1. August 4th, 2008 at 00:28 | #1
  2. August 28th, 2008 at 04:20 | #2
  3. September 6th, 2008 at 13:13 | #3
  4. September 7th, 2008 at 07:58 | #4
  5. November 29th, 2008 at 20:05 | #5
  6. January 22nd, 2009 at 05:43 | #6
  7. April 5th, 2009 at 15:42 | #7
  8. May 15th, 2009 at 10:37 | #8
  9. June 10th, 2009 at 22:31 | #9