Found in Translation
As you can now see by the three flags in the header, I have added translation services to my blog. The translation are being handled through magic I call "Google Translations" and Javascript. I got the idea from Shitamichi-san's blog, but the javascript code was adapted from Joe Maller's excellent page on Translation Bookmarklets. Basically, you just need find Google's language pair code (which are pretty easy since they are two letter codes following the international standard) and insert it into the javascript line that he gives you.
This probably should be typed all as one line (but I changed it to fit the blog formatting).
Unfortunately, Google's translation services are purely beta for the Asian doublebyte languages so please bear with both the service and the translations for a while. Maybe Google will expand to Thai or Hindi soon.
<a href="javascript: \
void(window.open('http://translate.google.com/translate?u='\
+escape(location.href)+'&langpair=en%7Cja', \
'English_to_Japanese', 'resizable,scrollbars,status'))">
English to Japanese (Google)</a>
This probably should be typed all as one line (but I changed it to fit the blog formatting).
Unfortunately, Google's translation services are purely beta for the Asian doublebyte languages so please bear with both the service and the translations for a while. Maybe Google will expand to Thai or Hindi soon.
Technorati Tags: javascript




Posted by Charles on May 06, 2007 at 06:43 PM PDT #