Libin Pan

One post at a time

Google just released a new API yesterday: Google AJAX Language API.

AJAX Language API is built on top of Google Translate, it current supports 13 languages and 29 translation pairs. It is new but it is already very powerful. If you want to know more about how to use it on your website, please see Google AJAX Language API Document for more details.

We in Savvica want to use this cool technology in our awesome website: LearnHub.com. In the middle of doing this today, I was thinking about to enable this feature on my blog too. :)

So, here we go, the Google AJAX Translation WordPress Plugin is arrived.

Please download from here:

http://wordpress.org/extend/plugins/google-ajax-translation/

Installation is very simple:

  1. Download the plugin archive and expand it
  2. Put the ‘ajaxtranslate.php’ file into your wp-content/plugins/ directory, or put the ‘ajaxtranslation’ folder into your wp-content/plugins/ directory.
  3. Go to the Plugins page in your WordPress Administration area and click ‘Activate’ for Google AJAX Translation.
  4. Have fun with your blog readers.
  5. Please see my blog as an example

Couple things still need to know:

  • Google Ajax Translate only allow 500 characters right now (March 2008)
  • So this plugin only supports translating the first 500 characters of your blog comments
  • In the current version(0.1), I only enable comment translation by default. There are two reasons for this:
    • Most of your posts are more than 500 characters, but most of your blog comments aren’t
    • Google will translate characters inside of html tags, which will mess your blog for sure
  • If you still want to use it with your post too, please comment out line 79 in ajatranslation.php
  • This is just an initial release, lots of feature will be added in. Please stay tuned.

If you want to do some changes and glad to share with all of us, please feel free to comment here or send me email @ libin.pan at gmail dot com.

I hope you will like it.

Want to know more?

  • 22 Comments
  • Filed under: English, WordPress
  • links for 2008-03-21

  • 0 Comments
  • Filed under: Links
  • links for 2008-03-20

  • 0 Comments
  • Filed under: Links
  • links for 2008-03-19

  • 2 Comments
  • Filed under: Links
  • links for 2008-03-18

  • 0 Comments
  • Filed under: Links
  • First day in LearnHub

    Today is the day!

    It’s my first day in LearnHub. Pretty exciting! Time to have fun with Ruby on Rails fulltime!

    Here is our development team at March 17, 2008:

    Want to know more?

  • 0 Comments
  • Filed under: English, Ruby
  • links for 2008-03-17

  • 0 Comments
  • Filed under: Links
  • links for 2008-03-16

  • 1 Comment
  • Filed under: Links
  • links for 2008-03-15

  • 0 Comments
  • Filed under: Links
  • links for 2008-03-14

  • 0 Comments
  • Filed under: Links
  • Search

    AideRss Status

    * Date Title Top conversations
    10 Jun 25 Firefox Keyboard Shortcuts on Mac 0 1 0 0
    9.3 Jun 27 links for 2008-06-27 1 0 0 0
    9 Jun 21 Introducing Chit - the only Cheat Sheet you’ve ever need 6 7 1 3
    5.4 Jun 25 Ruby on Rails 2.1 新特性之简体中文版 2 1 0 1
    2.6 Jun 16 Using Zoomii to find your books on Amazon 0 0 0 1
    2.6 Jun 08 links for 2008-06-08 1 0 0 0
    1 Jul 04 links for 2008-07-04 0 0 0 0
    1 Jul 04 iftop - Find out who is eating your bandwidth 0 0 0 0
    1 Jul 03 links for 2008-07-03 0 0 0 0
    1 Jul 03 FireFox did it! 0 0 0 0

    Upcoming Events

    Pages

    Recommend