英语到印地语的Converson [英] English to Hindi Converson

查看:108
本文介绍了英语到印地语的Converson的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,



我想开发一个网络应用程序,我必须用英语和印地语来存储



i我正在使用google api



Dear All,

I want to develop a web application in which i have to store valued in English and Hindi

i am using google api

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <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:
                google.elements.transliteration.LanguageCode.ENGLISH,
            destinationLanguage:
                [google.elements.transliteration.LanguageCode.HINDI],
            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 textbox with id
        // 'transliterateTextarea'.
        control.makeTransliteratable(['transliterateTextarea']);
      }
      google.setOnLoadCallback(onLoad);
    </script>
  </head>
  <body>
    Type in Hindi (Press Ctrl+g to toggle between English and Hindi)<br>
    <textarea id="transliterateTextarea" style="width:600px;height:200px"></textarea>
    <textarea id="transliterateTextareaHindi" style="width:600px;height:200px"></textarea>
  </body>
</html>

--->i want the text of transliterateTextarea should remain same as i type
--->the text of transliterateTextareaHindi Should Converted into hindi

推荐答案





请查看以下链接,将您的文字从英语转换为印地语。对于印地语,语言代码为hi。



地图加急。 [ ^ ]



问候,

Manoj
Hi,

Take a look into the below link to convert your text from English to Hindi. For Hindi the language code is "hi".

Maps expedited.[^]

Regards,
Manoj


这篇关于英语到印地语的Converson的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆