Posts RSS Comments RSS 137 Posts and 271 Comments till now

Archive for the 'Blogging' Category

Sodeve’s WP-Translate 2.2 Released

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?

8 Random Facts

I was tagged by Pieter Marbun yesterday.

The Rules:

* Players start with 8 random facts about themselves.
* Those who are tagged should post these rules and their 8 random facts.
* Players should tag eight other people and notify them that they have been tagged.

Eight random facts about me:

  1. Born in a village called Mojowarno. Mojowarno is a combination of two words, Mojo = is a kind of unedible fruit. Warno=Colour. The naming might be related to Mojopahit, a historical kingdom which was located relatively near to my village.
  2. Frequently mistaken as Filipino (^_^) In reality, I am a pure breed Indonesian Javanese (Well I can’t really say I’m pure breed since I never test my DNSA. Although I know exactly my lineage up to my great grandparents. All of them are Java programmer nese. (^_^)/ )
  3. Loves spicy foods
  4. Wanted to become a pirate. But turned off by Pirates of Malacca Straits. These pirates are neither cool nor savvy. They are just purely violent criminals.
  5. Lamb Chop with Black pepper sauce is probably the most frequent food I ordered in any food court
  6. The eldest of 4 brothers. That movie very unlikely to be inspired by me and my brothers :D
  7. Believes in afterlife. Although I am in constant fight between good and evil (T_T)
  8. Procrastinates frequently =P

I shall continue to pass the tags to:

  1. Made Adi
  2. Gede Artha
  3. Adhi Wibowo
  4. Haqi
  5. Brett Mckay
  6. Culture Shiok!
  7. Lisa
  8. Karen

Keep it going …..

SODEVE’s WP-Translate, Blogger Edition

Larry Keiler asked me whether the Sodeve’s WP-Translate works on Blogger. The answer is no. This is because Blogger doesn’t use PHP (frankly, I’m don’t know. My hunch tells me it’s running on Python.)

I actually have written the JavaScript version of the plugin. You could see it running here.

Basically it consists of two parts, the JavaScript, and HTML. You could host the images in your own blogs, but it would be tedious to add the flags one by one. So I put them up at PhotoBucket. This way you can just copy and paste into your Blogger layout.

Javascript Part:


HTML Part:

Back to English English to German English to Spanish English to French English to Italian English to Portuguese
English to Dutch English to Greek English to Nippon English to Korean English to Russian English to Simplified Chinese

So now how to add it to Blogger? Please follow this steps:

  1. Login to Blogger
  2. Go to Dashboard, then click Layout
    Blogger's Dashboard
  3. At the sidebar location. Click “Add a Page Element”
     Blogger - Add a Page Element
  4. A new window will pop-up. Select ‘HTML/Javascript’, click ‘Add to Blog’
  5. You now will have a text box and a text area. Leave the title blank. Copy the code described in the ‘Javascript Part’, then paste it in the text area. Then copy the code from ‘HTML Part’, and paste it also in the text area. Inside the text area, separate the Javascript and the HTML with one line.

You are good to go. If you like this tips, I would be grateful if you link-back to this blog. Thanks.

Good luck with your Blogger (^_^)/

List of Bloggers that use Sodeve’s WP-Translate, Blogger Edition:

  1. My Demo Site
  2. Your Blog?

How To Translate Your Blog Into Multiple Languages

A few days back, Dorota asked me to share the trick of those flags under this blog title. So here you are the Wordpress plugin.

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.

Requirements:

  1. Your blog must be written in English. This is because only this language can be translated into many languages by Babel Fish.
  2. You are using Wordpress 1.5 and above. It’s tested in Wordpress 2.1 (this blog (^_^)v )
  3. You have access to install the plugin

Installation and Usage Guide:

  1. Extract the zip file, upload the wp-translate directory to your plugins folder, usually wp-content/plugins/
  2. Activate the plugin on the plugin screen.
  3. 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:

  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.

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.

Download:
Sodeve’s WP-Translate 2.1

Update: 19 May 2007

Users of this plugin:

  1. Myself (^_^)v
  2. Founders Cafe
  3. Your Blog?

This is Why Blog Should Not Be Used As Diary Replacement

A girl wrote on her blog about a deceased schoolmate. She said that the death was well deserved. When she realised the insensitivity of her blog post, she decided to attend the wake to apologize to the family of the deceased, but angry teenage mutant ninja mobs attacked her outside the deceased house. Here are the Newspaper scanlations. And this is her blog.

Lesson to be learned:

  1. Blogger, in a way is similar to journalist . Although bloggers are not regulated by the journalism code of conduct, but a common sense might need to be used. Unless you are living in United States, where your freedom of speech is protected by the 2nd Amendment. But a defamation/libel lawsuit is still possible to be made against you.
  2. Blog entries are accessible to public. Whatever said in public might be used as evidence in the court of law. So please help yourself by not having any blog postings with any potential liability
  3. I really need to control my mouth (T_T) and re-checking my previous entries for any potential liability. Any comments?

Pages (4): « 1 [2] 3 4 »

Close
E-mail It
Socialized through Gregarious 42