Making a blog bilingual: it can be done easily in WordPress

I finally figured out how to make our website largely bi-lingual (English and Chinese). The pages, sidebars and footers have all been done. I’m now able to drive traffic to the different segments. And all within WordPress.

I have separated the pages into Chinese and English groups, but the bloggings themselves are still the same. However, the changes should help both audiences feel a little more comfortable with the format. The English side located at http://www.nozkidz.com/en/. We’ll be able to drive a lot more traffic that way! Be prepared if you do check it out: use Firefox (for easy language switching) or install East Asian languages in your PC (it’s on your XP disk – you do still have that, right?).

english nozkidz

I wonder if you can figure out how I did it! Clue: Theme Switcher and Sidebar editing!… Do you want to know how? The posts are still mixed so you will encounter Chinese in the blog. But that’s not a problem is it?

WosServer: Tweaking Your Blog for your Stick Part 2

After yesterday’s little experiment, I began playing with the WosServer and found some little tricks for bloggers, would-be marketers or developers.

If you already have a blog or site that you are working with that is live, you can create a full version on Wos. It’s a little fussy but you can do the following things…

For parts 1-5, see WosServer: A Useful Tool in your Armoury.

  • Step 6: Download a copy of the database from your website (via the PHPMYSQL interface or wizard).
  • Step 7: Get and install the WP PHP Admin plugin. Activate it as usual. Head over to the new tab.
  • Step 8: Activate the plugin. Then carry out an import operation to import your downloaded file into the WosServer MYSQL database.

phpadmin plugin used

Image shows: plugin activated and accessing my database.

  • Step 9: (optional) If you encounter a problem with the size of your file, you will need to go into the PHP files in Wos Server, and edit the php.ini file to increase the permitted size from 2M to something more reasonable if you have a BIG blog, like mine.
  • Step 10: Download the complete wp-content/ folder with ALL the pictures, too.
  • Step 11: Move the wp-content/ folder to its rightful location, images, plugins, themes, etc.
  • Step 12: You will also need to change the database name in wp-config.php to your imported database name.
  • Step 13: You will need to edit the ‘options table’ in your database from http://www.yourblog.com to http://127.0.0.0/wordpress twice or you won’t be able to access your blog. It will keep taking you to the live site. You will see the first of the two entries in the wp-options table in the first row named ‘siteurl’, the second entry is on page 4 of the list, entitled ‘home’. Change both of these to your new URL. It’s difficult to change them within WordPress like this, because you will end up on your live blog.

Oh, and when you login for the first, do remember to use your original blog password, not admin/password for the WosServer. Oh, and there’s no email reminder! So don’t forget! The good news is that the plugins/wordpress core updates all seem to work fine as they do in version 2.7. Good luck.

 

Blogging Tools: Wos Server – a useful tool in your armoury

Ages ago, I wrote about how you could put your applications on a stick. For the inveterate blogger, tinkerer, and under-the-hood kind of guy/girl, you can also put a blog on a stick with WordPress, and (almost) everything you need. The only caveat: the blog is not (nor should be) live for security reasons.

investorblogger - in a box

Look closely at the browser bar. This is InvestorBlogger on my stick! I’ve managed to import all the posts, plugins and themes. Now I can carry my blog, and work anywhere my computer and cruzer can take me!

Wos server is an installable application that you can put on your stick or anywhere. It includes a full version of apache for serving pages, PHP for parsing code, and MYSQL for your database. You can download and configure your own version of the server yourself at the website. There are a wide variety of apps that you can install, of course, bloggers can choose WordPress! But here’s a selection of other packages you could try!

  1. DBHcms
  2. Drupal
  3. Joomla
  4. MediaWiki
  5. Moodle
  6. OpenDB
  7. Textpattern
  8. WordPress

You can visit their site, or download my own customized version with themes, and plugins to get you started. The WordPress user is admin and the password is password.

Additional steps to setting up your blog on a stick or desktop.

  • Step 0: Copy your files/themes/plugins to your desktop and anything else you want to use in your install in the wp-content folder at your site…
  • Step 1: Download the file and unzip it on your desktop.
  • Step 2: Open the folder and find the file mowes.exe. Hit that and open it. Wait a few seconds.
  • Step 3: Your browser window will open. Look for the entry ‘wordpress’ and click on that link. (or type http://127.0.0.0/wordpress/ or http://localhost/wordpress/)
  • Step 4: You will see a mini-version of a blog… with themes and plugins.
  • Step 5: Customize your blog by copying the files/themes/plugins you use from your site to the same location in the wosserver (ie. wos server/www/wordpress directory).

Login details are on the folder in step 2. This is not a real blog, just a mini-blog. You can play with it all you want. Break it, too. Your real blog will be safe and carry on regardless. Some plugins may not work because they require additional features, or are not necessary at all (spam plugins, for example). If you want to import your database, you could do that, too. But you will need a plugin that allows you to import your db into the wosserver: wp-phpadmin plugin might work.

Have fun blogging, but don’t worry about borking your blog!

Update: I’ve had a weird issue with this software. If you download and expand the files to your desktop area, and run from there. It seems to work. Otherwise it won’t run properly if you put the files elsewhere. Apache seems to be  hurdle but I’m not sure about this. This is a pity: if you are like me, and you use your stick on a number of machines, the server may not run properly. Another possible workaround would be to set the drive for your USB stick to the same drive on all your machines. That might work. I’ll let you know.  The obvious solution: download the entire original file from the kind people at Wos.