WordPress Without Borders Plugin
WordPress Without Borders (WWB) is a plugin that allows readers of your blog to automatically translate content on the fly. It is based on Google’s new AJAX language translation API, and intelligently provides translation capabilities to your blog based on each particular readers’ browser settings.
How Does It Work?
Most browsers allow the user to set the desired language he or she wishes to read websites in. When that browser requests a page from a web-server, it provides a list of acceptable languages and the particular order it wishes to receive them in. WordPress Without Borders uses this information to determine whether or not a page requires translation, offering the user the ability to translate the content on the fly should the source language of the blog not match any of the languages in the user’s list.
Is The Translation Any Good?
Translation has always been a chicken and egg type of problem — because the computer translations haven’t been very accurate, not many services have implemented translation, which has resulted in little to no motivation for companies to improve the algorithms. With WordPress Without Borders we hope to increase the readability of current WordPress websites, while providing a large, useful data set for Google to improve their algorithms.

Features
Here’s a list of some of the current features of the plugin:
- A menu bar will magically appear at the top of the browser when translation is required for either the content or comments of a particular entry
- If there is no direct conversion available between two languages (for example, chinese to french), english is used as a proxy language to assist with the translation
- All translation menus are presented in the requested language automatically

What Languages Are Supported?
WordPress Without Borders supports whatever languages the Google AJAX API supports. At this time of this entry, those languages are:
- Arabic
- Chinese (Simplified and Traditional)
- Dutch
- English
- French
- German
- Greek
- Italian
- Japanese
- Korean
- Portuguese
- Russian
- Spanish
Since the Google language API does not natively support translation between every language in the above list, Wordpress Without Borders will sometimes use an intermediate language (such as English) to assist in the translation.

Installation
To install WordPress Without Borders, uncompress the download into your plugins directory and activate the plugin via the WordPress dashboard. By default, WWB will only translate tags and categories automatically, and will require a few small theme changes to translate other content. The changes required are:
- replace
the_content()withbnc_the_content()to allow for translation of the content - replace
the_title()withbnc_the_title()to allow for translation of the titles - replace
comment_text()withbnc_comment_text()to allow for translation of comments - replace
the_excerpt()withbnc_the_excerpt()to allow for translation of excerpts
Usage
After installation, WordPress Without Borders will automatically float a bar at the top of the browser page if translation is required (either content, or comments). The user is then presented with a menu option to translate content.

Examples of use
Here are a few images detailing the usage of WordPress Without Borders.
An Example Wordpress Blog Written In Japanese

Comments That Were Automatically Translated From Other Languages

Revision History
1.1 - Changed branding
6 responses to “WordPress Without Borders Plugin”



4:32 am
Wow - I’m searching for the best translator plugin for wordpress. I may have found it ;)
But: It would be so cool, if these theme changes weren’t necessary.
Thanks for this plugin!
Scientist
3:14 pm
hi!
nice work! it’s compatible with wp2.5.1?
byez
10:26 am
@ Lanfree: I don’t see why it wouldn’t be- we’ll be doing some testing soon for various projects, and we’ll add that to the list, but I know that Duane was working on it with WordPress 2.5 already out.
8:53 pm
Hi!
I’ve found a bug in the dirname-generation in v.1.1:
On Windows-Servers there are backslashes instead of slashes, like for example ‘http://localhost/wp-content\plugins\noborders\noborders.php/js/prototype-1.5.0-packer.js’
Together with a semi-hard-coded URL (bloginfo + plugindir) the plugin worked in a nice manner.
Thanks.
10:43 am
Hi there, guys.
I really liked the idea of the plugin and I did install it on my blog. I’d like to know how you suggest we can test it and check how it works for other people visiting our blogs…
Thank you very much,
Bernardo
8:23 am
Hi Guys! I’m really looking to using this plug in! My wife is Japanese and it’ll be great for her friends and family that want to read my “English Only” blog.
I could use some help with the theme changes required though… I’m using the IAMWW theme created by Upstart Blogger. Not sure where these changes are to be made… sorry newbie here.
Thanks!