Google AJAX Translation WordPress Plugin

Aug 04 2008

UPDATE:

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.

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!

202 responses so far

  1. [...] Please see this page for the new version: Google AJAX Translation 0.2.0 [...]

  2. looking cool, will test it soon.

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

  4. 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

  5. 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.

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

    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,
    Michael

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

  8. 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… :)

  9. 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.

  10. 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?

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

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

    Enjoy!

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

    cheers mads

  14. 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

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

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

  17. 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.

    Thanks

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

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

    Google Translate

  20. 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.

  21. Correction at the beginning of the script “”

  22. Thanks helmeloh!

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

    Libin

  23. 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, http://www.miel-da.com/wordpress.

    Thank you,
    F

  24. Hi Francisco,

    Your site looks really nice!

    Could you please do a simple change on your theme:
    wp-content/themes/wp-andreas01/style.css

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

    Thanks,
    Libin

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

  26. [...] صفحة صاحب الأضافة : هـنا [...]

  27. 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.

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

  29. 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.

  30. @Rohin:

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

    @Giikah:

    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.

    Thanks!

  31. ¡Thanks for your fast response!

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

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

  34. 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?

  35. [...] Author Homepage :: Download [...]

  36. 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!
    Francisco

    check the latest post
    http://www.miel-da.com/wordpress
    Thank you!!!

  37. 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! :)
    Libin

  38. [...] Google AJAX Translation [...]

  39. @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?
    thanks

  40. 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.

    Thanks,
    Libin

  41. @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

    sam

  42. Amazing Plugin. Thanks for Sharing.

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

  44. 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.

  45. 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.

  46. 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.

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

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

    ????

  49. on my site: ,The posts can’t be tanslated!

  50. Excellent plug-in. Thank you for share!

    Is it possible to disable translation on some posts?

  51. 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

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

  53. [...] Google AJAX Translation Plugin – Plugin que añade banderas a los comentarios de tu blog para que, haciendo clic en la deseada, traduzca de modo inmediato y en la misma caja, el comentario (24 idiomas) [...]

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

    http://davidfowlerads.com/uncategorized/test-post-3/

  55. nice plug in

  56. Please add Lithuanian ;) Great job!

  57. [...] Google AJAX Translation [...]

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

  59. 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?

  60. Great module!

  61. 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?

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

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

  64. Thanks! For your tutorials!

  65. hi,

    see translation post just plugged in my blog

  66. I want Turkish version. Please to care.

  67. [...] kurulumunu anlatan İngilizce içerikli sayfaya gitmek için tıklayınız. Bu bölüme bağış sistemi ekleyebilirsiniz. Kulak için tavuk tırnak için [...]

  68. Thanks, great job. Please add Turkish.

  69. any turkish translations? flag

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

  71. Sure! Your voices are heard! :)

  72. 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.

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

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

  75. 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.

  76. Hi there:

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

  77. We waiting still for Turkish, please quick :)

  78. [...] ちなみに左のキャプチャにもあるけど下部に「リンク」「リンク」「リンク」連発してるのはいったいなんだ?なんかスパムみたいじゃん。これはサイトを色んな国の言語に翻訳できるプラグイン「Google AJAX Translation」の仕業か?なんでケータイサイトだとこんなんなるのかなぁ?色々いじってみよう。 [...]

  79. 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?

  80. 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?

  81. .. added Turkish? :)

  82. You post is very helpful to me and I

  83. Would be great to have this sitting in a Widget!

  84. [...] Google AJAX Translation [...]

  85. YAA Adding this to my bookmarks. Thank You

  86. Thanks. But it doesn’t add Turkish

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

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

  89. 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?

  90. It doesn’t work with wordpress 2.8, why?

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

  92. i have wp 2.8

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

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

  95. 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.

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

  97. 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?

  98. 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

  99. 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.

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

    Bye
    Farid

  101. 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,
    Maryanne

  102. Posted issue at WordPress forums, at
    http://wordpress.org/support/topic/290940?replies=1

  103. 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.

  104. 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?

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

    http://wordpress.org/support/topic/284499

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

  106. [...] 17- Google AJAX Translation [...]

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

  108. 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. 15roseave.com 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.

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

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

    http://bespokes.com/blog

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

    Many thanks,

    Mark, Uproar Design.

  111. 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 http://www.borlos.info but when i open the “translator” button i got a strange javacript error. can you help me to resolve this?

  112. Great,
    Thank you.

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

  113. Hi, you have got bad flag of Czech. See it in wiki http://en.wikipedia.org/wiki/File:Flag_of_the_Czech_Republic.svg

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

  115. 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.

  116. [...] Google AJAX Translation Plugin (das war das in eckige Klammern gesetzte Übersetzung unter den Artikeln) hat ja doch einen [...]

  117. Why don´t have portuguese in translator?

  118. 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.

  119. 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:
    http://dfoolonthehill.com/post/ideal-language-translator-for-wordpress-blogs

  120. 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.

  121. 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

  122. 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 :)

  123. hi,
    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.

    Problems:
    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

  124. 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…

  125. 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

  126. 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.

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

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

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

  130. sorry wordpress didn’t allow it but something like

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

  132. But it can’t work in Eos(theme)

  133. 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 http://ancienthomelands.com 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.

  134. All about Bulgaria and Bulgarian Language

  135. @Tom
    Got it working.

  136. Hello,

    please add “Belarussian” to translations list

    thanks :)

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

  138. hi
    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

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

  140. [...] visualizzare pagine e articoli di EcletticaMente anche in lingua. Sviluppato originariamente da Libin Pan, è ora aiutato da Nick [...]

  141. It works great.

  142. Hi Libin, thank you for the amazing job!
    Now http://madmac.com.br can be viewed in many many languages!
    Thanks a lot!

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

    Coul you help it, please?

  144. 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?

  145. cool ext!!! respect Libin!

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

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

  148. 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

  149. @Ashok

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

  150. 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!
    greetings

  151. 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.

  152. 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.

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

    Thank you

  154. [...] 17- Google AJAX Translation [...]

  155. Great,
    Thank you.

  156. 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

  157. Hello,

    Here you can find proper icon for Czech language.

    http://www.stesticko.cz/casopis/wp-content/plugins/google-ajax-translation/flags/cs.png

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

    On page (for example)
    http://www.stesticko.cz/casopis/nazory-a-postrehy/par-slov-o-smyslu-zivota/489/

    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.

  158. Here is real Google translation

    http://translate.google.cz/translate?js=y&prev=_t&hl=cs&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fwww.stesticko.cz%2Fcasopis%2Fnazory-a-postrehy%2Fpar-slov-o-smyslu-zivota%2F489%2F&sl=sk&tl=cs

    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?

  159. 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.

  160. 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.

    Thanks.

  161. 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.

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

  163. 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.

  164. Very impressive. Good work. thx

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

    $content = ”

    *display:none

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

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

    sorry and thanks

  166. great news, but i am having problem with codes

  167. 在wp-content/plugins/google-ajax-translation/目录下,文件ajaxtranslation-zh_CN.mo 或者 zh_CN.mo等都不工作?
    希望得到支持,谢谢!

  168. 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.

  169. Hi,

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

  170. 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?

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

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

  173. Hi,
    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.

  174. 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?

  175. Could you please try at my website? http://www.CasamentoPatrocinado.com
    Please test the translator

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

    let me know

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

  178. 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

  179. Its really coool !!

  180. Hello,
    thanks for this plugin! it works fine but not in this home page: http://www.escalando.org/ciencia/
    what can I do?

    Cheers!

    Erick

  181. 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.

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

  183. thank you for good tools.

  184. thank you for this good tools.

  185. 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.

  186. Thanks. But it doesn’t add Turkish

  187. 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.

  188. Is this plugin still being supported?

  189. Hi,

    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.

    Alan

  190. I must use this on my personal blog. Thanks…

  191. 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.

  192. regardless of what i try, your prgramme is broken

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

  194. Excellent Plug -in , Thank You.

  195. 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 . .

  196. [...] Eklentinin kurulumunu anlatan İngilizce içerikli sayfaya gitmek için tıklayınız. [...]

  197. HELLO!

    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.

  198. 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.

  199. Hi!

    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 http://www.escapingsweden.com under http://www.escapingsweden.com/wordpress

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

    Best regards,
    Agata

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

  201. 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.

  202. 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 Reply