javascript - Make an input field use a certain keyboard? Is it even possible? -


i wondering if possible have input field use input method, , if user using different keyboard on computer, think user using keyboard, or convert keystrokes. not sure how else explain it.

for example, if have english keyboard activated , press e-x-a-m-p-l-e, show "example". if have, let's say.., greek keyboard activated , typed same thing, show "εχαμπλε". so, how go making input field convert "εχαμπλε" "example"? though have greek keyboard activated still register in english?

i don't know if easy or hard, i'm pretty new html/css/javascript, have no idea how difficult this, or if it's possible. tried looking had no results.

you want help/force user type in specific language english. so, if he/she tries type in ie. greek shows in english, right?

if yes should lots of coding. mean if want convert 5 language english should have keys word "h" in keyboard words in other languages. , have different keyboard layouts in different keyboards. word "h" have different words in other languages.

but still have hope.

let's want convert greek english. should have map of words should converted what, , yes can like:

var keymap=[{"from":"a","to":"ε"},{"from":"b","to":"χ"},.....]; 

then can check input javascript try check , change words when needed, using 'onchange' event.


Comments

Popular posts from this blog

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -