Search code examples
phpjavascriptjquerymultilingual

Change keyboard language on runtime


I am writing an application for health which have multiple languages like English, Russian and Arabic etc. Displaying the the different languages is not an issue but when i start typing in input box it types the default english language, I want to do it this way if my session is set for Arabic then the keyboard should auto write Arabic instead of english and same for rest of the languages.

The application is supposed to be developed in php + mysql.


Solution

  • As far as i know language settings are much of the OS issue rather than to be handled in the web application, if the user wants to type in some other language say Dutch, he/she can change the keyboard language and type in it.

    The language can be changed by

    Run > intl.cpl > keyboard and languages > change keyboard