0

hi friends , i found a code for tamil language comment box in blogger and also its executed successfully but one problem i cant post a comment . only box alone coming in this code . please check it and give me a proper code .

<script src="https://www.google.com/jsapi" type="text/javascript">
</script>
<script type="text/javascript">

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

      function onLoad() {
        var options = {
          sourceLanguage: 'en',
          destinationLanguage: ['ta',],
          shortcutKey: 'ctrl+g',
          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 = [ "transl1", "transl2" ];
        control.makeTransliteratable(ids);

        // Show the transliteration control which can be used to toggle between
        // English and Tamil and also choose other destination language.
        control.showControl('translControl');
      }
      google.setOnLoadCallback(onLoad);

    </script><script src="https://www.google.com/uds/?file=elements&amp;v=1&amp;packages=transliteration" type="text/javascript"></script><script src="https://www.google.com/uds/api/elements/1.0/2d89ac65281c5ee3c7e4d40778e41f97/transliteration.I.js" type="text/javascript"></script>

<div id="translcontrol"></div>
<textarea id="transl1" style="width: 350px; height: 100px; line-height: 1.5em; font-family: Arial,Helvetica,sans-serif; font-size: 14px;"></textarea>

Check the snapshot below . i can type in the comment box but i dont have option to post . pls help me

[IMG]http://i53.tinypic.com/r0o9jo.jpg[/IMG]

2
Contributors
5
Replies
7
Views
6 Years
Discussion Span
Last Post by AjithAnnadurai
0

Your textarea and your button must be inside form. you should also set action page for the form, where you will actually insert comment in your table.

0

@urtrivedi i got this code through google . its the code of box translator . . check that image . if i type in that box it will change automatically to tamil language but there is no option to post that comment in blog post . pls help me

0

Your textarea and your button must be inside form. you should also set action page for the form, where you will actually insert comment in your table.

i got this code through google . its the code of box translator . . check that image . if i type in that box it will change automatically to tamil language but there is no option to post that comment in blog post . pls help me

0

YOu have to develop it on your own. google will only give translater script. rest thing you have to develop.

0

YOu have to develop it on your own. google will only give translater script. rest thing you have to develop.

if u known the code means please share it here . . help me

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.