On ke, 2015-11-25 at 11:00 +0100, Matthias Fehring wrote: > Hello list, > > is there a way to query the locale of the currently used keyboard in > QML? > > Qt.inputMethod.locale.name returns only "C", whatever keyboard is > used.
Unfortunately no proper way at the moment. Should implement support for that interface at some point, though. Bad hacky way is checking sailfish/text_input/active_layout dconf value and inferring locale from qml file name. No guarantees on keeping it that way and doesn't work with hardware keyboards. _______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org