Hi, I will try and let you know. There should be a way for this. Else , I will look for a way and tell you..
Regards, Jitesh Dundas On 8/25/09, ashish <[email protected]> wrote: > > > Hey i already tried that but thats not working. > > example1) function onLoad() { > var options = { > sourceLanguage: 'hi', // or > google.elements.transliteration.LanguageCode.ENGLISH, > destinationLanguage: ['en'], // or > [google.elements.transliteration.LanguageCode.HINDI], > shortcutKey: 'ctrl+g', > transliterationEnabled: true > }; > > 2)google.language.transliterate(["Some Hindi Content"], "hi", > "en", function(result) { > if (!result.error) { > var container = document.getElementById("transliteration"); > if (result.transliterations && result.transliterations.length > 0 > && > result.transliterations[0].transliteratedWords.length > 0) { > container.innerHTML = result.transliterations > [0].transliteratedWords[0]; > } > } > }); > > i tried with these 2 ways but no success. > > If you check in API class reference English is not in Supported > Destination Languages. > > Please tell me if you really have worked out the reverse > transliteration.. > > Thanks & Regards, > Ashish > > > On Aug 25, 6:28 pm, jitesh dundas <[email protected]> wrote: > > Hi, > > > > Yes it can be done. > > Just inter-change the source and destination language (in the ajax > script) > > > > In short, where you find HINDI , replace it with ENGLISH and vice-versa > too. > > > > Regards, > > JITESH DUNDAS > > > > On Tue, Aug 25, 2009 at 12:20 PM, ashish <[email protected]> wrote: > > > > > Hi, > > > > > I am new to AJAX API, so needs little help > > > I am working on some enterprise web application for Indian users. > > > i wonder if Google AJAX API provides reverse transliteration ie. > > > when i type in hindi and > > > it will transliterate to English. > > > It provides good indic transliteration from English to Indian > > > languages at > > >http://www.google.com/transliterate/indic > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en -~----------~----~----~----~------~----~------~--~---
