Libin's Blog Libin's Blog
Google AJAX Translation WordPress Plugin


Nick Marshall is the lead developer on this plugin now. He has done an awesome job to bring it to a new level! And he moderates the plugin forum actively! Please feel free to post your questions or comments there as well.


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 In his email, he attached a updated version of my plugin and show me how it works on his blog:

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


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!

arrow188 Responses

  1. hanjra
    80 mos ago

    looking cool, will test it soon.

  2. 80 mos ago

    Perhaps , turkish become turning service.
    Very impressive.
    Good work.

  3. 80 mos ago

    Looks really nice so I tried it, but the html validation shows 17 errors and when I click on a flag or text link nothing happend, so I had to dissable the plugin meanwhile.
    I would like to try next version again, so please let me know when it’s ready.
    Thks and have a nice day, Helmut

  4. Gareth
    79 mos, 4 wks ago

    Nice Plugin but I need to remove the Link Border from the flags. Please advise how, as this is not easily seen in the PHP file.

  5. 79 mos, 3 wks ago

    @helmeloh: Maybe you should take a look at the new version… it cleanly validates with

    Regarding the “clicked-and-nothing-happened”: well, maybe you should activate JavaScript for that, because we’re using the JavaScript-API of Google…. :-)

    so long,

  6. 79 mos, 3 wks ago

    Hello. Thanks for this nice plugin, first. Second, the post translation doesn’t work, and I did check the “Enable post translation” option. If I open the article, I can translate the comments, but not the post. Clicking on any flags doesn’t do anything. What could be wrong?
    Thank you.

  7. Ramon
    79 mos, 3 wks ago

    The plugin isn’t working for my browser either (on this page at least).

    And my Javascript is on, otherwise it would make my web development job much more interesting to say the least… :)

  8. 79 mos, 3 wks ago

    Hi Ramon,

    Could you please let me know what theme you are using, or you can just open :
    …/wp-content/themes/your current theme/footer.php
    Try to find if it has
    < ?php wp_footer(); ?>

    If not, please just add it in before < / body >
    Hope this will fix the problem. Let me know if it still doesn’t work.

  9. Ramon
    79 mos, 3 wks ago

    I’m not using it on my site. I was testing it on yours. It works fine from my home browser, not from work though. not sure why. Maybe the corporate firewall blocks something the api needs?

  10. 79 mos, 3 wks ago

    maybe there is a problem with your content-filtering firewall, because the main js-files come directly from google and not from this site.

  11. 79 mos, 3 wks ago

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

    Please be sure to check out the newest version!

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


  12. 79 mos, 3 wks ago

    Nice plugin!! Great work!
    is it possible to make it translate an entire page and not only comments?

    cheers mads

  13. 79 mos, 2 wks ago

    Thank you for your answer above and for cleaning the code. Now there is no HTML error anymore, but I’m sorry to say, it does not work. I just get the error message “google_translate is not defined”.
    Cheers Helmeloh

  14. 79 mos, 2 wks ago

    Here it seems to work fine, so maybe I did something wrong. Appreciate your hint.

  15. 79 mos, 2 wks ago

    It’s again me. In the admin panel the translation works fine, but not on my blog.

  16. 79 mos, 2 wks ago

    Hi Helmeloh,

    Please take a look on comment #9 or open :
    …/wp-content/themes/your current theme/footer.php
    Try to find if it has
    < ?php wp_footer(); ?>

    If not, please just add it in before < / body >
    Please give it a try and let me know how it goes.


  17. justin
    79 mos, 2 wks ago

    i like it, but would only use it if it could translate my entire site

  18. 79 mos, 2 wks ago

    Google Translate is the one which works better for entire site:

    Google Translate

  19. 79 mos, 2 wks ago

    Hi Libin Pan,
    Thank you for your help. After inserting it works, but there were still some HTML errors. Now I added in ajaxtranslation.php on
    line 232 because the HTML validator should just check the HTML source, but not the JS source and now I’m really happy with the nice translation tool.

  20. 79 mos, 2 wks ago

    Correction at the beginning of the script “”

  21. 79 mos, 2 wks ago

    Thanks helmeloh!

    Glad to hear it works for you now. Will fix the HTML validation problem when the next version come out.


  22. Francisco
    79 mos, 1 wk ago

    Hey Libin, I’ve installed your awesome plug in on my test blog and it does not stay at the bottom of each post, if i add an image it goes to the side of the post, but when it’s just a text post it stays at the bottom. check it,

    Thank you,

  23. 79 mos, 1 wk ago

    Hi Francisco,

    Your site looks really nice!

    Could you please do a simple change on your theme:

    On line 59, please remove ‘float:left;’. Then it should work again.


  24. Francisco
    79 mos, 1 wk ago

    Thanks my man! it worked. Keep up the good work my friend.

  25. 79 mos ago

    How do I place the translation in a custom spot like in the bottom of the footer , or in the sidebar.

    I tried looking for a tag. Could not find it.

  26. 79 mos ago

    How can you change where the plugin is placed within the template ?

  27. 79 mos ago

    Thanks for this tool!!

    I have a problem, when I click to translate a text, it translates it but if the post has images or videos, they dissapear. Maybe it is normal…but I don´t think so.

  28. 79 mos ago


    You can open ajaxtranslation.php and change some codes in processContent and processComment to change the position of the flags or text.


    Before the plugin sends the text to google, it will filter out all the html tags. The reason is google will translate the text inside the html tags for you. We are trying to find a better solution for this issue. So far, if you see images or videos disappear after the translation, it is normal, kind of.


  29. 79 mos ago

    ¡Thanks for your fast response!

  30. sam
    79 mos ago

    hi, i really want to use this on my site, is there a way to use it for Posts and Comments, but not Pages.

  31. 78 mos, 4 wks ago

    Thanks for sharing this Plugin. Your Blog already Bookmarked :)

  32. 78 mos, 4 wks ago

    Hey Sam,

    I think this is exact what you want, only translate posts or comments, but not pages. :)

    Have you tried to install on your site yet?

  33. Francisco
    78 mos, 4 wks ago

    Hey buddy, me again, another question, when i translate large amounts of text only half gets translated and the other stays in English. Is there something I’m missing out on?

    Thanks man!

    check the latest post
    Thank you!!!

  34. 78 mos, 4 wks ago

    Hey Francisco,

    You didn’t miss anything. There is a limitation in Google AJAX Translation API as it only accepts less than 500 characters. So we only pass the first 500 characters over to Google.

    This is a known issue and we are working on it to find a better solution. At the same time, Google says it will release a new version of AJAX Translation API very soon. Hope the coming verion will do better on this.

    Anyway, stay tuned! :)

  35. sam
    78 mos, 4 wks ago

    @Libin Pan:
    yes i installed it, but it the flags are showing up on both posts and pages! would it be something to do with my theme? how can i disable it on pages?

  36. 78 mos, 4 wks ago

    Hey Sam,

    Sorry I’ve misunderstood the ‘Pages’. :)

    Have sent you a updated version which has Enable/Disable Page Translation option, please give it a try.

    And I will update the WP svn to the new version with some other changes too. If any one else need this feature right now, please email me.


  37. sam
    78 mos, 3 wks ago

    @Libin Pan
    thanks for the updated version! i tried it out, the page vs post function feature works well, but there is a new problem now, as it seems to have disabled the flag buttons on my category archive list.

    on a category list of posts it still displays the text “View this comment in:” its just the flag buttons that are missing. once i click in to the individual post, the flags reappear, but they dont show on the category list.

    my WP install is split into 3 very different categories each with their own template. unfortunatley i cant use this plugin without the category feature working properly.

    is it a simple fix?

    thanks so much


  38. 78 mos, 3 wks ago

    Amazing Plugin. Thanks for Sharing.

  39. 78 mos, 2 wks ago

    I have two WP blogs for myself, and have installed some for our clients. Simple to use, easy enough to modify, definitely a great product. Good Plugins!

  40. 77 mos, 2 wks ago

    thx for the great plugin, it works fine on my website, but how can I change this that it is on the top of post or comment? I have look in the ajaxtranslation.php but I see nothing.

  41. 77 mos, 1 wk ago

    Thanks for this great plugin! I`ve played around with it a bit and found out that the Translation API now obviously allows more characters. After changing the variables the plugin works fine with up to 1355 characters on my blog. Btw – they`ve also announced support for 11 additional languages.

  42. 77 mos, 1 wk ago

    Hi,There has something incorrect in your plugin.
    zh_TW’s flag should be R.O.C(Taiwan)’s flag,
    Not P.R.C’s flag,
    because Traditional Chinese well used in R.O.C(Taiwan),
    Not Mainland China.

  43. 77 mos, 1 wk ago

    What can I expect from the plugin when this site shows 329 HTML errors and 29 warnings. Ever heard from a HTML validator?
    I spent again a night to find the errors – aahhhh!

  44. 77 mos, 1 wk ago

    Warning: Invalid argument supplied for foreach() in C:\AppServ\www\wordpress\wp-content\plugins\google-ajax-translation\ajaxtranslation.php on line 199


  45. 76 mos, 2 wks ago
  46. Daedal
    76 mos, 1 wk ago

    Excellent plug-in. Thank you for share!

    Is it possible to disable translation on some posts?

  47. 76 mos, 1 wk ago

    I am getting this error in console after clicking the Flag icon. What could be the reason…

    Error: google_translate is not defined
    Source File: javascript:google_translate(‘hi’,'post’,14);
    Line: 1

  48. tyler
    76 mos ago

    Problem help please: The flags won’t show on my website it just shows blank images, but aside from that it works perfectly.

  49. 75 mos, 2 wks ago

    Hey it is only translating the first paragraph ? View it here

  50. 75 mos, 2 wks ago

    nice plug in

  51. 75 mos, 2 wks ago

    Please add Lithuanian ;) Great job!

  52. 74 mos, 1 wk ago

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

  53. Amy
    74 mos, 1 wk ago

    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?

  54. 74 mos ago

    Great module!

  55. 72 mos, 4 wks ago

    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?

  56. 72 mos, 4 wks ago

    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! :)

  57. Quinn
    72 mos, 4 wks ago

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

  58. 72 mos, 1 wk ago

    Thanks! For your tutorials!

  59. 72 mos ago


    see translation post just plugged in my blog

  60. 71 mos, 4 wks ago

    I want Turkish version. Please to care.

  61. 71 mos, 4 wks ago

    Thanks, great job. Please add Turkish.

  62. 71 mos, 3 wks ago

    any turkish translations? flag

  63. 71 mos, 3 wks ago

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

  64. 71 mos, 3 wks ago

    Sure! Your voices are heard! :)

  65. 71 mos, 2 wks ago

    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.

  66. svs
    71 mos, 2 wks ago

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

  67. svs
    71 mos, 2 wks ago

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

  68. 71 mos, 1 wk ago

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

  69. Isabel
    70 mos, 3 wks ago

    Hi there:

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

  70. 70 mos, 3 wks ago

    We waiting still for Turkish, please quick :)

  71. 70 mos, 2 wks ago

    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?

  72. 69 mos, 3 wks ago


    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?

  73. 69 mos, 3 wks ago

    .. added Turkish? :)

  74. jonathan
    69 mos, 3 wks ago

    You post is very helpful to me and I

  75. 69 mos, 3 wks ago

    Would be great to have this sitting in a Widget!

  76. Akuna
    69 mos, 2 wks ago

    YAA Adding this to my bookmarks. Thank You

  77. 69 mos, 1 wk ago

    Thanks. But it doesn’t add Turkish

  78. 69 mos, 1 wk ago

    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!

  79. 69 mos, 1 wk ago

    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 !!!

  80. saiajin
    69 mos, 1 wk ago

    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?

  81. faiver
    69 mos, 1 wk ago

    It doesn’t work with wordpress 2.8, why?

  82. 69 mos, 1 wk ago

    i can get it working.. can someone please help.. the plugin doesnt react to any language selections.

  83. 69 mos, 1 wk ago

    i have wp 2.8

  84. 69 mos, 1 wk ago


    I have a page where i add posts to a static page (see my homepage url, (built according to and it now it seems css/js isn’t applied to the translate link at the blog posts. Any ideas?


  85. 69 mos, 1 wk ago

    in fact, i made a temporal solution, but see the affected page now at

  86. 69 mos ago

    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.

  87. 69 mos ago

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

  88. Simon
    69 mos ago

    I get the same error with the person above who has
    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?

  89. Simon
    69 mos ago

    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

  90. 69 mos ago

    Please post in the WordPress forums if you have questions or problems.

    It’s easier to answer questions there.

  91. 68 mos, 3 wks ago

    After installation (as you describe) there is no logo/sign of language. Is necessary to add any code in website? If yes then please write me.
    I suffer toooooooooo much with this!


  92. 68 mos, 3 wks ago

    I posted a question to the “Plugins and Hacks” forum a few hours ago about seeing multiple flags and flags of countries I did not choose when I hit “translate”.

    Hoping someone can help! Thx,

  93. Simon
    68 mos, 2 wks ago

    Posted issue at WordPress forums, at

  94. 68 mos, 1 wk ago

    Hi, sorry for dummy question, I’m quite a newbie in WP, but how can I get translate button next to the header of the post instead of its footer?

    And is there are any chance having global translate button which would translate all main page including sidebar?

    I set a page on my blog, which is ment to explain visitor how to use translator and tested it on my GF (she dos not read russian) and it did not work ( and she is about to complete phd in applied science! ) so more trivial solution would be great.

  95. 68 mos, 1 wk ago

    sladkovm :
    Hi, sorry for dummy question, I’m quite a newbie in WP, but how can I get translate button next to the header of the post instead of its footer?
    And is there are any chance having global translate button which would translate all main page including sidebar?
    I set a page on my blog, which is ment to explain visitor how to use translator and tested it on my GF (she dos not read russian) and it did not work ( and she is about to complete phd in applied science! ) so more trivial solution would be great.

    I’m actually wondering the same thing, does anyone have a work around for this. I just wanted to move the [translate] link, but I like your idea of moving the [translate] link to the sidebar, is that possible anyone?

  96. 68 mos, 1 wk ago

    Hi again, found here how to get translate button to the header of the post.

    Thanks, did not read comment #40 first time ;) .

  97. 68 mos, 1 wk ago

    Pls help. I alredy installed in my plugin wp, but cannot change to language that I choice. thx b4.

  98. 68 mos, 1 wk ago

    Thank you, this is perfect for our International Hostel, thanks you so much I really can’t say how perfect this plug in is for us. if you’d like to see how we’re using it(at the top, on the right) More options on where to place the [translate] button would be great in future releases.

    Thanks again though, seriously.

  99. Carlo
    68 mos ago

    Very Nice! And soooo lean. MUCH better tan the gadgets available nowadays, with their unnecessary fringes. One nice-to-have: a translate icon instead of a [Translate] linktext.

    Great stuff!

  100. 68 mos ago

    Hi guys – great work – any idea why this many not work on our blog

    The plugin is installed, activated and settings personalised, but simply does not appear on posts, pages or comments!

    Many thanks,

    Mark, Uproar Design.

  101. 67 mos, 4 wks ago

    hi all guys,
    I think this plugin is very cool and that you have made an eccellent work!
    But i have an issue i can’t resolve. I’ve installed the plugin on my web site but when i open the “translator” button i got a strange javacript error. can you help me to resolve this?

  102. Wendell
    67 mos, 4 wks ago

    Thank you.

    How can I make it translate automatically when it detects the source language without clicking anywhere?

  103. maoric
    67 mos, 3 wks ago

    Hi, you have got bad flag of Czech. See it in wiki

  104. 67 mos, 3 wks ago

    So can I just display the flags instead of the “[Translate]” text?

  105. 67 mos, 3 wks ago

    yes, it’s a nice plugin, but I feel it lacks one major feature as a translation plugin; and that is the horrible and useless text link “Translate”.

    This is an awful feature on it’s pwn and needs to be accompanied by a graphic of some kind, such as a small image of global flags, or something of that kind, because the “Translate” hyperlink is simply lost on the page amongst all the other text, and makes the assumption that everyone who visits a page a) notices the horrible little link, and b)knows what “Translate” means.

    If I knew anything about programming or coding i’d do something about it myself.

    However, since I don’t, then I recommend those who do to make this vital change.

    Thanks anyway for putting it together in the first place, but your work is simply lost on the page, and so goes un-noticed, and un-appreciated.

  106. Cleiton Souza
    67 mos, 2 wks ago

    Why don´t have portuguese in translator?

  107. 67 mos, 2 wks ago

    Since most comments on plugin pages are to tell the creator what is wrong with their work. I just want to say thank you for all of your hard work. Not everyone is criticizing your work, there are many who the plugin works great for, and they simply, are just not saying anything.

    Once again thank you for your hard work, and don’t let these comments bring you down.

  108. 67 mos ago

    Firstly, to the author(s) of this marvelous plugin – A BIG THANK YOU!

    Next, for whatever it is worth, I would like to share a small tweak that I did with the Google AJAX Translation WordPress Plugin at my Blog.

    After having installed the Plugin and having it configured to display the Translate link at the Post footer, Page footer and at Comments, I noticed that the word link, “Translate” was a tad too inconspicuous. Well, I could enlarge the font size or tweak the CSS to have it appear with a loud colour.

    However, I chose to give it a different oomph. I did a simple html inclusion at the template. It would display the Translation icon. I also changed the word from “Translate” to “Language Translation”. After having done that, it did give the word link a remarkable change. It is now more easily noticeable.

    As it is a standard feature at my Blog, I have an animated arrow displayed before a link. Hence I added an animated arrow before the Translation icon. And that wrapped it up.

    The Google AJAX Translation plugin hasn’t yet been developed with a sidebar widget. For my Blog, it would help to create a simple sidebar widget to explain where the Translation link is and how to use it in two simple sentences. Now it’s completely done just as how I would like to be navigated if I were a non English reader at a Blog.

    You may see all of the above at:

  109. 67 mos ago

    Firstly, I must appreciate the efforts of Google AJAX Translation plugin authors for doing a really nice job.

    With respect to the latest version 0.4.6 launched just recently (1-2 days before), I may add three small issues:

    (1) When you click on the link “Powered by Google” it goes to the Google translation with the error message that English to English translation cannot be done. So, it appears that on an English-language site, this particular command won’t perhaps work correctly. The reason is that you the moment you try to change target language, it actually translates into that language; and the moment you click on “Powered by Google” it tries to directly translate into English which results into error. If my observation is wrong, I may please be corrected.

    (2) In the earlier version, the flag and language name option resulted into a dialog box with left-aligned flags and language names. However, in the latest version (0.4.6), they are center-aligned which looks slightly rough and odd in view of the fact that they are in three columns making them appear to be not aligned at all. Perhaps the earlier left-aligned option was better. I don’t know whether other people have also got the same problem.

    (3) Third problem appears to be specific to my site itself (I doubt whether other sites would be facing similar problem). It relates to horizontal line appearing on top of [Translate] word when I select the option to show [Translate] at the top of the post, etc. As I already have one horizontal line at the top, it looks slightly odd. On the other hand, if I select the other option, i.e., to show [Translate] at the bottom of the post, the plugin correctly puts the horizontal line under it, which looks alright. I reiterate that this third problem appears to be specific to my site because I have a horizontal line in my theme. Perhaps, I’ll have to experiment a bit with the correct placement of horizontal line.

    Due to these reasons, I have shifted back to the old version 0.4.5 for the time being.

    My suggestion is to include a feature to allow placement of [Translate] word manually at the desired place by the site owner, so that he or she can place it at the appropriate place wherever it fits the best.

    Once again, congrats and thanks for a nice plugin.

  110. 66 mos, 4 wks ago

    hello, first of all I’ll like to say that I appreciate your work and google’s work, its a very good thing.
    I have this proble with the translation from romanian to english, some words are not correctly or not translated to english, i’ve try to cntribute to goolge, but still doesn’t work, and onother thing: i don’t have that flag plugin, do i have to downloaded or ? thank you. Best regardes

  111. 66 mos, 3 wks ago

    1. I just tried this plugin on a blog experiment. This plugin is not a problem when I use mozilla FF 2.+ or opera, but this plugin problems when I use mozilla FF 3.+ (especially with mozilla FF 3.5.2 or new version). popup window can’t opens when i click “Translate”. if there are problems when using that browser ??
    2. my themes used 2 file,
    ie: home.php and index.php, sentence “Translate” appears on the post at home file. how so it does not happen?? (for more details, please visit and look at my link)

    **sorry for my english, i from indonesia :)

  112. Petra
    66 mos, 2 wks ago

    the plug-in is a great idea but it doesn’t work on my blog. Could it be the Theme, Box set? I have the browsers Safari 1 and S 2, Firefox 3 and FF 2. Mac OS 10.5.8 and 10.3.9. WordPress 2.8.4. Since I have Mac Explorer doesn’t work.

    1. The Translate-button only translates the headings, no text below them.
    2. The option Flag does not work at all, only the text “Translate”
    3. A line appears below “Translate”, could that cause the text to remain untranslated?

    best regards

  113. Li-An
    66 mos, 2 wks ago

    I do agree a function to put in the template would be more easy to manage in a template. The [Translate] text is showing if I use the “more” tag and it’s not very pretty…

  114. 66 mos, 1 wk ago

    hi, very nice plugin. in the new version it doesn’t show anymore in static pages but only in the blog pages. the older version was doing both. could you send me an old version please. best regards from berlin

  115. wackonerd
    66 mos, 1 wk ago

    Great plugin but I want it to work on pages and blog posts, will this be a feature in the next version? Maenwhile I have to look for a translate plugin that works on pages and posts.

  116. 66 mos, 1 wk ago

    awesome plugin :D just what we were looking for :)

  117. wackonerd
    66 mos, 1 wk ago

    Hi, I worked out it is the theme I am using that is the issue, the plugin works great in other themes. Thanks

  118. Nora
    66 mos ago

    I loved it <3 thank u so so much
    my question is there any custome hooks for it ?!
    something like
    I badly need it :-)

  119. Nora
    66 mos ago

    sorry wordpress didn’t allow it but something like

  120. Nora
    66 mos ago

    oh my god lol this code can’t be wrote here !

  121. 65 mos, 3 wks ago

    But it can’t work in Eos(theme)

  122. 65 mos, 3 wks ago

    I would so sincerely appreciate it if someone with working knowledge of the Google Ajax Translation plug in would look at my WordPress site at and tell me why the Ajax control is not working and perhaps give suggestions as to what I could do to fix it. Thank you all.

  123. 65 mos, 3 wks ago

    All about Bulgaria and Bulgarian Language

  124. 65 mos, 2 wks ago

    Got it working.

  125. 65 mos, 2 wks ago


    please add “Belarussian” to translations list

    thanks :)

  126. 65 mos, 2 wks ago

    posting from facebook account – what about Belarus?
    This translation improved recently, please add it to the list of available languages.

  127. 64 mos, 3 wks ago

    thank for this plugin
    but i have a little problem
    my language is Persian (right to left) but when i use this plugin my “WordPress Administration Panel” change to left to right

  128. 64 mos, 3 wks ago

    how can i use it……………need code? 3Q(think you)…please tell me ..

  129. 64 mos, 1 wk ago

    It works great.

  130. 64 mos ago

    Hi Libin, thank you for the amazing job!
    Now can be viewed in many many languages!
    Thanks a lot!

  131. 64 mos ago

    The translator box (text or with flags) not shown on my site

    Coul you help it, please?

  132. 63 mos, 3 wks ago

    i hav tried this plugin….but i want it on the top of the main page and in horizontal shape…how can i do this?

  133. dr
    63 mos, 2 wks ago

    cool ext!!! respect Libin!

  134. 63 mos, 1 wk ago

    Hi, this plugin is very nice and usefull. Thank you. :)

  135. 62 mos, 2 wks ago

    I love the Google Translate plugin with only one issue. If showing exerpts on the homepage, it say “[TRANSLATE]” but is unclickable. other than that, it is GREAT!

  136. Lx
    62 mos, 2 wks ago

    I had installed new WordPress 2.9.1 site (cs_CZ language). I turn on logging and debug. In the log file I see this errors:

    “PHP Parse error: syntax error, unexpected T_SWITCH in /var/www/html/wordpress/wp-content/plugins/google-ajax-translation/ajaxtranslation.php on line 635″

    Google AJAX Translation version: 0.5.1

  137. 62 mos, 1 wk ago


    Did you ever solve the placement of the [Translate]? I am looking to change the placement for this as well.

  138. 61 mos, 3 wks ago

    amazing plug in! thanks for sharing! but…

    is it possible to show the ['Translate'] link only in the (single) post (single.php inmy theme)!?
    i don’t want the link on my article overview (frontpage/page.php in my theme).
    thanks for some tips!

  139. 61 mos, 1 wk ago

    Something like this did the trick for me, but you have to hardcode it into the plugin itself:

    $value = str_replace(‘[Translate]‘,”,$content);

    I forget which file and what the variables were, i haven’t used the plugin for a while because nobody used it on my site, mostly US traffic.

  140. Fredric
    61 mos ago

    Can some clever person please fix so this plugin can be placed on the top of the blog, resulting in a translation of the whole page? Would be great to have navigation links and left/right columns translated! Otherwise, GREAT plugin. Thanks.

  141. 60 mos, 3 wks ago

    me too i want it.
    Is it possible to have this Feature?

    Thank you

  142. wong
    60 mos, 1 wk ago

    Thank you.

  143. 59 mos, 4 wks ago

    This is a brilliant plugin, which makes the [translate] link even more annoying (as echoed above). I’ve found how to remove the brackets or change the words … but I want to be able to insert a custom icon.

    The real reason I’ve had to stop using this is because it places [translate] in my excerpts (but not as links). Can’t for the life of me find out how to stop this.

    Come on, folks, you’re almost there. Bit more flexibility, please

  144. 59 mos, 1 wk ago


    Here you can find proper icon for Czech language.

    I have problem with plug in either. It translate only several lines at beginning.

    On page (for example)

    In translation to Czech language (origin is in Slovak) at sixth line translation ends a original text continue. First word “nutněj” is probably one that translator do not know since it is translated in half or false. following words are in Slovak already.
    nutněj, záverečnej maturitnej skúšky.

    Second it does not retain formating. Is it ok?

    Third icons are displayed before text “View this Comment in: ”
    I have still WP 2.6.2 it maybe problem.

    And would it be possible to ad Slovak language, it is supported by Google.
    Thanks for any help.

  145. 59 mos, 1 wk ago

    Here is real Google translation

    And last question. When I translate article I can not to back to original. It jumps to two pages back or to previous page not original. how to change that?

  146. 59 mos ago

    Interesting pluging, but there is one Question.
    Let’s imagine a man that comes to my site from usa. What could he see [Translate],[перевести] or some message included in brackets with not native text.
    Thats why I’m really interesting in representations methods of translation as a box at the bottom of my page etc. Not text.

  147. 57 mos, 3 wks ago

    Hello, I’m using the amazing grace template, and I can’t seem to get this plug-in to work… it will not show the “translate” link above or below the posts and pages. Any help would be greatly appreciated.


  148. 57 mos, 2 wks ago

    Hi, in my WP template is no included. I work with many templates and all of them (from different developers) don’t use wp_footer today. Maybe you could improve this plugin that it can even work without wp_footer.

  149. Georgian
    57 mos, 1 wk ago

    Can you please add Georgian language, which is already supported by Google. The language code is ” ka “.

  150. 56 mos, 3 wks ago

    Really a first class plug in! My friend and brothers have been using it for ages and no single complaints about it. Keep it up and always stay on top. You’re on top of my lists.

  151. 56 mos, 2 wks ago

    Very impressive. Good work. thx

  152. 56 mos ago

    the Translation Button not display in my post or page coz u put

    $content = ”


    erm..but after i delete the ‘display:none’,

    the button ‘[Translate]‘ not work..helppls..

    sorry and thanks

  153. 55 mos, 2 wks ago

    great news, but i am having problem with codes

  154. 55 mos ago

    在wp-content/plugins/google-ajax-translation/目录下,文件 或者 zh_CN.mo等都不工作?

  155. 55 mos ago

    Nice plugin, although a clean install throws a php warning that on line 638 of ajaxtranslation.php, parameter 2 of in_array() expects to be an array – null given. Upon checking, this is the $this->options['excludedPages'] variable. To get rid of this, I have to enter a value in the ‘Exclude posts and pages’ input box, save, then remove the value and re save. I suspect that upon plugin initialization, a default value needs to be added to the database for this so that it is treated as an array from the beginning.

  156. 55 mos ago


    I’m using qtranslate to translate with “human translation my pages and posts, but tried to install your plugin to ONLY tranlate my commnets.

    My theme is the Arthemis Premium, and I’m using WordPress 3.0

    After installing your plugin, and selected “translate comments” without enabling any other function, nothing happand!!
    Am I doing something wrong? Could you please give me a hint to properly use your plugin to translate ONLY my comments”?

    Thanks in advance :-)

  157. 54 mos ago

    Amazing. It will connect you to all walks of life or everyone even to those who don’t speak English. Do you have the link where to get your plug in?

  158. 54 mos ago

    Thank you for this. How ever one feels about Google Domination… this advances everything into the Global world: Instant communication.

    The option to translate makes everything transparant. No way to hide, from anybody, by NOT blogging in English. Good thing, bad thing, or just different? Well, I install the translator button…

    SO, if I really want the transparancy, I would like the option to

    - translate the button text from my native language into English, OR
    - place an icon, indicating translation (how would that look)
    - have an option to translate the whole page, rather than the presentation snippets (I realise this division is a template decision, but still…)

    Both are easy to accomplish. Please. Pretty pleasy with marzipan on the top in form of something aestetically as well as alluringly pleasing!

  159. Great and useful plugin!
    Good job!
    All The Best!

  160. 53 mos, 2 wks ago

    A great plugin from you…
    Thank you for the plugin….

    I need your help on one language.
    I would like to add on Indian language (Malayalam) to the list.
    How can I add this? Google already included this language in the list.

    Please help.

  161. 53 mos, 1 wk ago

    Thank you for this wonderful plug in! Simple to use indeed!
    I have a question, does the “translate” word appears in other languages to people from other countries? Because in my cause it displays in my language, i assume depending on countries IP it will appear in English if they are from there?

  162. 52 mos, 3 wks ago

    Could you please try at my website?
    Please test the translator

  163. 51 mos, 1 wk ago

    I do not know how to add this translator to my pages via widget.. include sidebar

    let me know

  164. 51 mos ago

    open source is the best, never mind the rest! Thanks…

  165. loha
    50 mos, 2 wks ago

    I installed this fantastic plugin on my website,
    but i can’t see the translator button, even after footer.php tweaking…

    Please help, and good job

  166. 50 mos, 2 wks ago

    Its really coool !!

  167. 50 mos, 1 wk ago

    thanks for this plugin! it works fine but not in this home page:
    what can I do?



  168. peter m
    49 mos, 4 wks ago

    hi, apologies if this questions has been asked already, but instead of having the translate added to all pages or all posts or both, is there a short-code that can be put into a or post to add the translate only to that specific page or post. i know the settings options contains a field to enter page id’s and posts to exclude from the translate. but if you have hundreds or thousands of pages to exclude this can be inefficient. a short-code option would be great. thanks for a very nice plugin.

  169. 48 mos, 2 wks ago

    how to active it because no choise for enable or disable button? thanks

  170. 48 mos, 1 wk ago

    thank you for good tools.

  171. 48 mos, 1 wk ago

    thank you for this good tools.

  172. 47 mos, 3 wks ago

    It’s a lovely plugin :) But I really wish there was an option to make it look more aesthetically pleasing hehe. The [Translate] link doesn’t look too appealing or eye catching.

  173. 47 mos, 2 wks ago

    Thanks. But it doesn’t add Turkish

  174. 45 mos ago

    the plugin does not work on our home site. The translation of the six boxes was done a few days ago but yesterday we found that it did not want to translate box by box.

  175. 44 mos, 3 wks ago

    Is this plugin still being supported?

  176. 44 mos, 3 wks ago


    Nice plugin. But I have noticed that when you are not logged into the website translate button is not showing. If you will log in translate button is showing again.
    Could you help me with that.


  177. 44 mos, 2 wks ago

    I must use this on my personal blog. Thanks…

  178. 44 mos ago

    Simply great, BUT ANSOLOUTELY NOT if you use it in a shop 8-] My currencies is translated from “Pris: DDK 149,00″ to ”
    Price: $ 149.00″.
    Anyone know how to fix this?
    I just guess Google Translate is not wiser yet.

  179. 43 mos, 4 wks ago

    regardless of what i try, your prgramme is broken

  180. 43 mos, 3 wks ago

    Teşekkürler adamım sağolasın

  181. 43 mos, 3 wks ago

    Excellent Plug -in , Thank You.

  182. 43 mos ago

    hi ,
    I want to add one more language to this i.e ‘ kannada ‘ how do i make it . Google will support this language . I went through code and i added some piece of code in the file ‘ ajaxtranslation.php ‘ like i added ‘kn’ => ‘Kannada’ in $languages ,$display_name,$taget_language,$translate_message etc and made some changes in css so that it will show up in options . so when i click the language ‘kannad’ i am not able to see translated code . i don know whats the problem -> 1. it is not converting 2.converting but not displaying 3.both 1&2 . . help me out . .

    thank you . .

  183. 41 mos, 1 wk ago


    Thanks for this great plugin. I just have a few questions that I can’t find the answers to.

    Is it possible to add this plugin to the header? If so what is the code?

    Also, is it possible to display the flags on the page?

    And one more, is there a way all the pages can be translated once the viewer chooses their language as appose to clicking on their flag for a translation each time they click on a new page?

    Thanks so much for your time. If you could answer in laymans terms as much as possible that would be greatly appreciated.

  184. 39 mos, 2 wks ago

    I’ve used this plugin for a while now. It was working with WordPress 3.2.1 on all of my blogs. I noticed yesterday that it stopped functioning on all of my sites. This could have been going on for a few days for all I know. Has there been a change to Google Translate that has caused this?

    I did try the plugin through multiple browsers (Explorer, Chrome &FireFox) and operating systems (Winows 7 & Ubuntu) without luck.

  185. 38 mos, 2 wks ago


    This plugin has worked great for me in the past but now all of a sudden it is not working at all? Not translating the posts. My blog is on under

    Can this be due to recent updates to the wordpress tool?

    Best regards,

  186. 38 mos, 1 wk ago

    @suzie could you change the appearance of the button with CSS?

  187. 38 mos ago

    merhaba eklenti cok güzel ama bunu indexte istedigim yerde görünmesini istiyorum bunun için bir kod varmı acaba nedir nasıldır yazarsanız sevinirim.

  188. Jan
    36 mos ago

    Could it be that it does not work anymore? I’m using it on an altered twenty-eleven theme. I can activate the plugin, select language and see the translate button on the page but it does not change anything when I click another language :(

Leave A Comment