I\'m trying to detect current selected language of the keyboard. For that purpose I use following code:
/* Return t
No. There's a phone locale, but the keyboard may ignore it by design (many keyboards allow you to switch languages just within the keyboard for bilingual users). There's no API for the keyboard to report it has done so to the OS.