Translate Your Website

After two weeks of trying to get the Translate Plugin for MT to work, I've given up and decided on a different solution that translates the entire page instead of just the entry. Language translation is important for you site to reach a larger audience since only around one quarter of the world population speaks English.

Download the script and follow the instructions for installation.

I edited the flags.shtml file to open the result in a new window:


<!-- google_ad_section_start(weight=ignore) -->
<table align="right"> 
<tr>
  <td> <a href="http://forums.digitalpoint.com/showthread.php?t=42057" title="Automatic translation via Google Translate - Click for details" target="_blank">Translate: </a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cde', 'English_to_German', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/de.gif" alt="German" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Ces', 'English_to_Spanish', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/es.gif" alt="Spanish" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cfr', 'English_to_French', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/fr.gif" alt="French" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cit', 'English_to_Italian', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/it.gif" alt="Italian" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cja', 'English_to_Japanese', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/ja.gif" alt="Japanese" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cru', 'English_to_Russian', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/ru.gif" alt="Russian" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cnl', 'English_to_Dutch', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/nl.gif" alt="Dutch" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cel', 'English_to_Greek', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/el.gif" alt="Greek" style="padding: 2px;" /></a></td>  
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cko', 'English_to_Korean', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/ko.gif" alt="Korean" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Cpt', 'English_to_Portuguese', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/pt.gif" alt="Portuguese" style="padding: 2px;" /></a></td>
  <td><a href="javascript: void(window.open('http://translate.google.com/translate?u='+escape(location.href)+'&amp;langpair=en%7Czh-CN', 'English_to_Chinese', 'resizable,scrollbars,status'))"><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/zh-CN.gif" alt="Chinese" style="padding: 2px;" /></a></td>
  <td><img src="http://mt4.juneeonline.com/babble-on/translate/graphics/blank.gif" alt="" style="padding: 2px;" /></a></td>
 </tr>
</table>
<!-- google_ad_section_end -->

And used the following php include in my <header>:


<?php include "/home/path/to/translate/includes/flags.shtml"; ?>

If you have any problems, try changing the permissions on report.sh to chmod 775.

The Digital Point forum has quite a lengthy discussion going that may help to solve any other problems.

Leave a comment



Recent Entries

  • Send Entries Using HTML Formatted Email

    There used to be a plugin for earlier versions of Movable Type called "MT-Mail-Entry":http://www.nonplus.net/software/mt/MT-Mail-Entry.htm that allowed you to send friends a HTML-formatted email that included...

  • All Comments Not Getting Published

    I had a problem viewing some of the comments on one of my posts. I thought it must be a comment limit somewhere in the...

  • MT 4.23 Update Released

    Movable Type has released a security upgrade that fixes XSS vulnerabilities, and recommends updating to 4.23 as a mandatory. The vulnerability hasn't been exploited yet,...

  • Updated Joost Action Streams Plugin

    The plugin for [Joost Action Streams](http://mt4.juneeonline.com/babble-on/archives/2008/10/joost-action-streams-plugin.php) has been updated to include favourites. If you've previously installed this plugin I recommend deleting Joost from "Other Profiles"...

  • Adding the ShareThis Button to Mid-Century

    There's a tutorial on Rob Kenny's The Composing Stick with instructions for adding AddThis or ShareThis buttons to your posts. After receiving a request today,...

OpenID accepted here Learn more about OpenID