How to use transliterate api in chat box of forum ?

86 views
Skip to first unread message

hosy li

unread,
May 23, 2012, 5:03:27 AM5/23/12
to Google AJAX APIs
Is there any way to use transliterate api in chat box of forum which
is using ajax and javascript ? Thanks...

Jeremy Geerdes

unread,
May 23, 2012, 10:01:01 AM5/23/12
to google-ajax...@googlegroups.com
There is a transliterate control that you can use, but be advised that the Transliterate API has been deprecated and is slated for discontinuation in a few months.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
jrge...@gmail.com

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On May 23, 2012, at 4:03 AM, hosy li wrote:

> Is there any way to use transliterate api in chat box of forum which
> is using ajax and javascript ? Thanks...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google AJAX APIs" group.
> To post to this group, send email to
> google-ajax...@googlegroups.com
> To unsubscribe from this group, send email to
> google-ajax-searc...@googlegroups.com
> To view this message on the web, visit
> http://groups.google.com/group/google-ajax-search-api?hl=en_US
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

hosy li

unread,
Jun 1, 2012, 2:14:18 AM6/1/12
to google-ajax...@googlegroups.com
Sorry I am not good at English, You mean google will discontinue transliterate feature. If yes, is there any alternative ? Thanks.

Jeremy Geerdes

unread,
Jun 1, 2012, 8:58:58 AM6/1/12
to google-ajax...@googlegroups.com
Yes, the Transliteration service will be discontinued no later than May 2014. By that, I mean that Google's deprecation policy states that they will use "commercially reasonable efforts" to maintain the service until that date. If, however, it is deemed in Google's unilateral discretion unreasonable to continue the service, it can be killed at any time, with or without warning.

There has been no announced alternative.


Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

hosy li

unread,
Jun 19, 2012, 2:02:47 AM6/19/12
to google-ajax...@googlegroups.com
Is it possible to get server content of transliteration API, so that we can use in future if google discontinue service. Thanks for the help.

Jeremy Geerdes

unread,
Jun 19, 2012, 9:02:23 AM6/19/12
to google-ajax...@googlegroups.com

No.

hosy li

unread,
Jun 23, 2012, 3:09:20 AM6/23/12
to google-ajax...@googlegroups.com
Okey, Can I install Google transliteration input method in a forum running on linux VPS ? Thank you.

Jeremy Geerdes

unread,
Jun 23, 2012, 8:44:49 AM6/23/12
to google-ajax...@googlegroups.com

The Transliterate API is ultimately a JSONP service which depends on communication with Google's servers. As long as you are following the TOS and your page can contact Google's servers, there is nothing really to install, and the backend platform is entirely irrelevant. You cannot install any part of the API on your server.

hosy li

unread,
Jan 7, 2013, 5:30:51 AM1/7/13
to google-ajax...@googlegroups.com


On Wednesday, May 23, 2012 2:33:27 PM UTC+5:30, hosy li wrote:
Is there any way to use transliterate api in chat box of forum which
is using ajax and javascript ? Thanks...


I mean it is working in textarea fields, but not working input fields have ajax, like search fields and chat box.
Can you point me to right direction?
I am using below code,
<script type="text/javascript" src="https://www.google.com/jsapi">
    </script>
    <script type="text/javascript">

      // Load the Google Transliterate API
      google.load("elements", "1", {
            packages: "transliteration"
          });

      function onLoad() {
        var options = {
          sourceLanguage: 'en', // or google.elements.transliteration.LanguageCode.ENGLISH,
          destinationLanguage: ['ml'], // or [google.elements.transliteration.LanguageCode.MALAYALAM],
          shortcutKey: 'ctrl+m',
          transliterationEnabled: true
        };
        // Create an instance on TransliterationControl with the required
        // options.
        var control =
            new google.elements.transliteration.TransliterationControl(options);

        // Enable transliteration in the textfields with the given ids.
        var ids = [ "subject", "message", "transl1", "transl2" ];
        control.makeTransliteratable(ids);

        // Show the transliteration control which can be used to toggle between
        // English and Hindi.
        control.showControl('translControl');
      }
      google.setOnLoadCallback(onLoad);
    </script>


Do you have a script like this below code?
http://bhashaindia.com/ilit/WebEmbed.aspx?language=Malayalam

Thanks.
Reply all
Reply to author
Forward
0 new messages