How to determine the language of keyboard input using Jquery

Posted by  Goti Bandu
 1449  View(s)
Rate this:

I have an application that accepts input in two languages (English and Arabic) I'm validating the input textbox , the validation logic is not the same for English and Arabic, so I need to know what is the language the user is typing

all the solutions I came across determined the default language for the system and browser but nothing I found helped me determining the current input language