Hi,
Can you share me the code for the Hindi Transliteration. Need to
implement in our project.
Thanks,
Mahendra
On Wednesday, March 31, 2010 5:32:29 PM UTC+5:30, jitesh dundas wrote:
>
> Hello,
> Sometimes transliteration does not work for certail languages, e.g.
> pronouns.. or so..
>
> Did you ttry your code for other words also?
>
> Revert if so, I will look at that. I have a working code for English to
> Hindi..Change the language code and it should work fine..
>
> Regards,
> JD
>
>
> On 3/31/10, kid <[email protected] <javascript:>> wrote:
>>
>> Hi, I'm trying to do transliteration on English words to Telugu. Below
>> is how my coding looks like. The output that I am expecting is the
>> English word "Hello, how are you." and the transliterated word of it
>> in Telugu right below the English word. But what I got from my coding
>> below is only the English word. Is something wrong with my coding? Can
>> anyone suggest solutions for this? Please and thank you.
>>
>>
>>
>> <html xmlns="http://www.w3.org/1999/xhtml">
>> <head>
>> <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>> >
>> <title>Transliteration</title>
>> <script src="http://www.google.com/jsapi?
>>
>> key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"></
>> script>
>> <script type="text/javascript">
>>
>>
>> google.load("language", "1");
>>
>> function initialize() {
>> var content = document.getElementById('content');
>> // Setting the text in the div.
>> content.innerHTML = '<div id="text">Hello, how are you.<\/div><div
>> id="translation"/>';
>>
>> // Grabbing the text to translate
>> var text = document.getElementById("text").innerHTML;
>>
>>
>> google.language.transliterate(text, 'en', 'te', function(result) {
>> var translated = document.getElementById("translation");
>> if (result.transliterations) {
>> translated.innerHTML = result.transliterations;
>> }
>> });
>> }
>> google.setOnLoadCallback(initialize);
>>
>> </script>
>> </head>
>> <body style="font-family: Arial;border: 0 none;">
>> <div id="content">Loading...</div>
>> </body>
>> </html>
>>
>> --
>> 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]<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>.
>> For more options, visit this group at
>> http://groups.google.com/group/google-ajax-search-api?hl=en.
>>
>>
>
--
--
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]
To view this message on the web, visit
https://groups.google.com/d/msgid/google-ajax-search-api/f759c48d-d7c4-4852-8e36-6fd43c2cd5b4%40googlegroups.com
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.