browse by category or date

Hi all. I have managed to patch the WP-Translate and tested it on WordPress 2.2.

Current Version: 2.2

Overview

WP-Translate is a simple drop in way for users to view your blog in their language. Its easy for any most users to add this functionality to their site.

WP-Translate utilizes the following Online translation services:

  1. Alta Vista’s Babel Fish (for translation from English to : French, German, Italian, Dutch, Spanish, Greek, Russian, Portuguese, Japanese, Korean, Simplified/Traditional Chinese)
  2. IBM’s Websphere Translation (for translation from English to: Brazilian Portuguese)
  3. Interpret (for translation from English to: Bahasa Indonesia, Swedish, Norwegian, Afrikaans)

WP-Translate 2.2 Release Notes

Added the following language for translation:

  1. Swedish
  2. Norwegian
  3. Bahasa Indonesia
  4. Afrikaans
  5. Chinese Traditional
  6. Brazilian Portuguese

Requirements

WP-Translate works with WordPress 1.5 up to WordPress 2.2 (Tested on WordPress 2.2)

Your web server should able to execute PHP.

Installation instructions

  1. Upload the wp-translate directory to your plugins folder, usually wp-content/plugins/
  2. Activate the plugin on the plugin screen.
  3. Add <?php wptranslate(n); ?> to your template where you want the list. n can be either 1 or 2. 1 is for a vertical display. 2 makes it horizontal.

Special Installation instructions for non-Wordpress users

As I mentioned before, as long as your Web server supports PHP you should be able to use this plugin. Please follow this steps:

  1. Extract the zip file
  2. Edit wp-translate.php which is located in wp-translate directory
  3. At line 103, replace $img_loc = get_settings(’siteurl’) . ‘/wp-content/plugins/wp-translate’; with $img_loc = ‘/wp-translate’;
  4. Save the file
  5. Upload the wp-translate directory to your root folder.
  6. In the page you want the flags to be displayed, put <?php include_once(realpath($_SERVER[‘DOCUMENT_ROOT’]).’/wp-translate/wp-translate.php’); ?> in the first line of the file.
  7. Add <?php wptranslate(n); ?> anywhere you want the flags to be displayed. n can be either 1 or 2. 1 is for a vertical display. 2 makes it horizontal.

Download Sodeve’s WP-Translate 2.2

The previous version can be found here:Sodeve’s WP-Translate 2.1

If you like this plugin, please link-back to this post, or add me to your blog-roll. Would be greatly appreciated. Thank you.

Having problem with installing the plugin? You have ideas for the plugin? Post a comment and I will try my best to help you.

Update: 5 June 2007

Users of this plugin:

  1. Myself (^_^)v
  2. Founders Cafe
  3. Your Blog?
GD Star Rating
a WordPress rating system

Possibly relevant:

About Hardono

Howdy! I'm Hardono. I am working as a Software Developer. I am working mostly in Windows, dealing with .NET, conversing in C#. But I know a bit of Linux, mainly because I need to keep this blog operational. I've been working in Logistics/Transport industry for more than 11 years.

Incoming Search

wp translate

1 Trackback

 

13 comments so far

Add Your Comment
  1. Hi Hardono, since you don’t have a contact form, I’ll leave message here.

    I’ve tagged you for this RSS subscription program. Please let me know if you’re interested in helping each other out. Regardless, I enjoy your blog and have already subscribed. Thanks!

    RSS Subscription program

  2. *Grin* You could leave comments/messages at the Link-Exchange or About page.

  3. Thanks so much for the translation post and the nice message that you left on my blog – you really do things well ! Fantastic, I will promote your blog, no doubt.
    Best from Paris !
    Dorota

  4. Great job, i’ll use in my blog.
    Thanks,

  5. @Dorota: You might want to use http://sodeve.net/sodeves-wp-translate-blogger-edition/ for your blogspot blog. Its specially made and tested in Blogspot.com

    @Koesna: You’re welcome.

  6. How would I add a text link after each flag? (So that there is the name of the language as well as the flag.) Before I upgraded to 2.2, I had tinkered with wp-translate to get a combination flag/text link, but the method doesn’t work with this patch because there isn’t an explicit anchor( ) element.

  7. mmm interesting…

    Can I make a suggestion though?
    Only for WordPress as a start…

    I’d rather try to handle the output from the translation services by screenscraping, and replace my content asynchronously…

    I say WordPress only because it would be easy to manage if you know how wordpress outputs your content, so grepping and returning the translated CONTENT area would be quite simple…

    As a proper WP plugin, I’d create a content viewing page, which I’d send to the translation service, so that no unnecessary stuff like sidebars and header etc are processed. The view would simply output the content and / or comments of the current page, be processed, and returned to the browser translated and ready to replace.

    I dunno, I think I’ll give it a try… would you mind if I tweaked your plugin?

    me likes a challenge 🙂

  8. Hello Hardono, I stumbled upon your site (as in the old fashioned stumble, not StumbleUpon.com though I’m sure you’re in there too).

    I was excited to find your WP Translate plugin. Didn’t find Singlish though. That’s too bad. Then again, maybe that’s a good thing, considering I didn’t talk very highly about my school years in Singapore http://www.joyofcamping.com/about/

    Anyway, so happy lah, I found your site. Keep it up.

  9. Plugin doesn’t work well in IE7 the sidebar moves to bottom of the page after translation.

    Works fine with firefox.

  10. Hello Hadono. So Cool Program. Do you have any for Blogger ^__^

  11. Interesting. I think it will be useful for Komang’s Blog.

  12. @Dominique: By all means please go ahead 🙂

    @meomee: There is a link to the blogger edition just below this article

  13. That’s a great plugin you have there, much better than Angsumu’s paid Translation. However, I have a suggestion which I believe may help you improve your plugin.

    Can I suggest that you include a cache mechanism in your plugin – in a way useful for creating static pages, instead of referring to URL belonging to BabelFish site.

    That way, it helps to improve page view.