title: Translate English Text to Hindi in Android
body: <p>I want to convert a text in English to Hindi and display it in the TextView.I followed the following URL <a href="http://android-er.blogspot.com/2009/10/androidtranslate-using-google-translate.html" rel="nofollow">http://android-er.blogspot.com/2009/10/androidtranslate-using-google-translate.html</a> but it dosen't seems to work.
  Is there any other method to do it?Help me out.</p>
  
  <pre><code>public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.read_view);
      mTts = new TextToSpeech(this,this);
      try {
          setTranslate();
      } catch (Exception e) {
          e.printStackTrace();
      }
  
  }
  
  private void setTranslate() throws Exception {
   String OutputString = Translate.execute("hello",
           Language.ENGLISH, Language.HINDI);
   TextView tv = (TextView) findViewById(R.id.translate);
   tv.setText(OutputString);
  }
  </code></pre>
  
  <p>Here I am trying to display hindi text in the TextView id "translate"</p>