Auto-translating a web page

This has all gone away 😣😢 An article on my experiments with translating using auto-translator pages. I am going to re-purpose http://test.davelevy.info. At the moment it is set up for some experimentation with stylist.org and translation buttons. The stylist implementation just involved capturing some of the bullet item i.e. list item within a class name, so that the local stylist rules could be applied. I was looking at Stylist because the of the Neverwinter Vault but that’s gone now.

Here is code to implement a page translation to French by Google Translate

...
<A HREF="http://www.google.com/translate_c?hl=en&langpair=en%7Cfr&u=http://test.davelevy.info/index.html"
   TITLE="Français, la traduction par Google">
       <IMG SRC="images/fr.png" ALT="France:" 
        WIDTH="16" HEIGHT="11" BORDER="0">
</A>

And Babelfish does Italian, ….

<A HREF="http://66.163.168.225/babelfish/translate_url_content?.intl=us&lp=en_it&trurl=http%3A%2F%2Ftest.davelevy.info%2F"
     TITLE="Italiano, traduzione da babelfish">
     <IMG SRC="images/it.png"
          ALT="Italian" WIDTH="16" HEIGHT="11" BORDER="0">
</A>

Babelfish’s website, that I use has gone away and the web site interface is too hard to find, however here’s the implementation of the old test site code, the Italian one don’t work. However this code could be implemented in the footer of single.php.


Translate: English France: German Italian

 


NB I have not implemented the above code as a list, not applied any CSS to it. I am using default placement and the IMG properties.

Related Posts

  • Twitter API V1.1 (Deprecated) This post was written in 2013 and I discovered in May 2018 that most of the links […]
  • User Styles & Stylish I experimented with User Styles when I was using the old NWN Vault, because their look […]
  • Hadoop The Apache Hadoop project develops open-source software for reliable, scalable, […]
  • Web Site Testing with MaxQ MAXQ is a web proxy with recording and replay features. It is designed to capture and […]
  • Google’s Market Share I got distracted during a debate on Google and their regulatory need to delete out-dated […]

2 thoughts on “Auto-translating a web page

  1. Much of this has gone away which I discovered when tidying up my broken links. I have left the links in place in case I want to come back to it.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.