Can anybody help me to find a code for english to gujarati translator that translates english to gujarati on some event
I have searched a lot but I didnt get it anywhere.Actually I want an accurate one..i.e it must give exact translation of the word entered.
Thanks a lot for your solution......
actually , we have already seen this and tried to implement but the problem is translitrated text comes in the same text area on pressing ENTER key. we want the translitrated text in a different text box, so that we can use both the original text as well as the translitrated text in a query fired just after this function call.
<script>
function OnLoad() {
var currValue = document.getElementById("firstName");
alert(document.getElementById("firstName").value);
var options = {
sourceLanguage:
google.elements.transliteration.LanguageCode.ENGLISH,
destinationLanguage:
[google.elements.transliteration.LanguageCode.GUJARATI],
shortcutKey: 'ctrl+g',
transliterationEnabled: true
};
var control = new google.elements.transliteration.TransliterationControl(options);
control.makeTransliteratable(["firstName"]);
var postValue = document.getElementById("firstName");
here, firstName is the name of the text box.
in this textbox only the code is getting converted.I want it to convert it in the other textbox.
Thanks a lot for your response.
OK, this is something out of my knowledge. You have to find out the working of Google transliteration code, consult the transliteration code home page.
And please PM any moderator to move this thread to "HTML-JavaScript" section, there we can get more input.