I have a small exercise where I need to control the language of the keyboard before typing in a textfield, if the language is other than english the program must change automatically the keyboard to english in JS. If this is not possible, is there a way to be able to detect the language of the keyboard before typing.