You can compose text here, for transliteration type in textbox bellow.
Preview
Input text here, press enter to feed into main textbox
Source Code Description
When I was in college, I wrote a quick and dirty code to transliterate in Hindi (DevNagari Script). Much before Google's Implementation. Though my implementation is not very robust, but Its very simple and small. It does not require any internet connection and can work offline.Note: code was originally written in C#.net and converted to javascript latter. Here is C#.net Code(solution zipped) You need to call function
DoTransLitrate(str)Where str--> Phonetically typed (in English) Hindi .
This Function Returns, Hindi Text in Devnagari Script.
Using JavaScript Code
Get the JavaScript File from here include in your html page and call functionInclude this script in your page.
<script src="http://www.purplegene.com/static/trans.js" type="text/javascript" language="javascript">use this code to use its fuctionality.
</script>
var text=DoTransLitrate('yaha meree pustaka hai');
alert(text);