title: Can I set input language of a textbox or textarea?
body: <p>I'm building an Urdu language website which, let's say, is similar to a blogging website. I want to enforce users to make posts in no language other than Urdu. </p>
  
  <p>One solution I have in my mind is to manually capture each key pressed in Javascript and display its alternate in Urdu in the textbox. Something like this:</p>
  
  <pre><code>'A'-&gt; 'ا' , 'B' -&gt; 'ب'
  </code></pre>
  
  <p>I dont find it an efficient solution at all and would like to know if there is some sort of plug-in that I could use that sets the input language of a textbox? Or even if I must write a code of my own, do you have a solution other than one above?</p>