This plugin initially developed by Scott Hough. The original translation service used was Google Translate. But I was disappointed by the frequent errors thrown by Google Translate. Another bug was, you cannot translate more than once. To translate into other language, you need to go back to the original page and click different flag.
- Your blog must be written in English. This is because only this language can be translated into many languages by Babel Fish.
- You are using WordPress 1.5 and above. It’s tested in WordPress 2.1 (this blog (^_^)v )
- You have access to install the plugin
Installation and Usage Guide:
- Extract the zip file, upload the wp-translate directory to your plugins folder, usually wp-content/plugins/
- Activate the plugin on the plugin screen.
- Add <?php translate(n); ?> to your template where you want the flags to be displayed. n can be either 1 or 2. 1 is for a vertical display. 2 makes it horizontal.
For non WordPress user, you can still use this plugin provided your Web Server supports PHP. To do so, please follow this steps:
- Extract the zip file
- Edit wp-translate.php which is located in wp-translate directory
- At line 103, replace $img_loc = get_settings(’siteurl’) . ‘/wp-content/plugins/wp-translate’; with $img_loc = ‘/wp-translate’;
- Save the file
- Upload the wp-translate directory to your root folder.
- 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.
- 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.
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.
Sodeve’s WP-Translate 2.1
Update: 19 May 2007
Users of this plugin:
- Myself (^_^)v
- Founders Cafe
- Your Blog?