I think I'm having the same problem too. I tried to do the same thing
as Abhi Handoo and i run my work on local server Apache. Before, it
works smoothly with no problem at all. But since yesterday, all my
pages that uses the transliteration does not work. So i tried running
the example given in the documentation. I copied the code below and
run it on the local server. And I get a blank page.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
    <title>Google AJAX Language API - Basic Transliteration</title>
    <script type="text/javascript" src="//www.google.com/jsapi"></
script>
    <script type="text/javascript">

    google.load("language", "1");

    function initialize() {
      google.language.transliterate(["Welcome"], "en", "ar",
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];
          }
        }
      });
    }
    google.setOnLoadCallback(initialize);

    </script>
  </head>

  <body>
    <div id="transliteration"></div>
  </body>
</html>

Was it because of some bug? I really need the transliteration to work
properly again since it is important for my school project. Please and
thank you.

-- 
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.

Reply via email to