Here is the example code to convert the entered text to kannada while typing(transliteration):
Suppose you have a textbox "txtDetails" on your aspx page.
<script type="text/javascript" src="https://www.google.com/jsapi">
</script>
<script type="text/javascript">
google.load("elements", "1", {
packages: "transliteration"
});
function onLoad() {
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage:
google.elements.transliteration.LanguageCode.KANNADA,
shortcutKey: 'ctrl+g',
transliterationEnabled: true
};
var control =
new google.elements.transliteration.TransliterationControl(options);
control.makeTransliteratable(['txtDetails']);
}
google.setOnLoadCallback(onLoad);
</script>
For translation see:
http://weblogs.asp.net/jalpeshpvadgama/archive/2010/05/18/google-translation-api-integration-in-net.aspx[
^]