<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttp://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d-5147029996388199615', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks


Google Labs Script Converter Bookmarklet

Script Converter is a Google Labs product that allows the user to read a web page in a script of their choice (currently 11 Indian languages, English, Greek, Nepali, Persian, Russian, Serbian are supported). For example, if the user can understand spoken Tamil but cannot read the script, they will be able to view Tamil web pages in English (Roman) script or one of the other supported languages.

The online tool does not translate any content but transforms the words on the page to its phonetic equivalent in the desired script. It also supports the conversion from non-Unicode encodings to Unicode, so that users can view pages without installing the custom font otherwise needed.

Any web-based service that takes its required parameters as a querystring is a good candidate for a bookmarklet. Here's the code for my attempt at building a bookmarklet for Google Labs Script Converter -
javascript:(function()
{
window.location.href='http://scriptconv.googlelabs.com/frame?sln=xx&tln=en&url='
+encodeURI(window.location.href);
})()

The value "xx" for sln indicates Script Converter will auto-detect the language on the web page that it has to transform while tln=en means the content will be shown in English.

You can deploy this bookmarklet yourself (after removing the newline characters) or drag the link below to your Bookmarks toolbar (or whatever it is called in your favorite browser)  -
>> Transliterate with Script Converter <<

To test this bookmarklet, you can open the BBC Hindi home page & then click on the above bookmarklet that you've added to view Hindi content in English.

Also see:
The Joy of Bookmarklets
How to read an online PDF file without installing a PDF Reader
HOW to continuously refresh any web-page in IE & Firefox

Labels: , , ,

Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »

»

Post a Comment