Is there a way to determine the keyboard layout?

I'm attempting to achieve an international Microstation (CE) configuration.

I would like to know whether I can somehow determine which keyboard layout the user is currently using in oder to give the user the right keyboard shortcuts.

Background:

I have to use MS_KEYBOARDSHORTCUTSSEED as we differ in some important points from the unsatisfying original. Without this variable you probably don't have these issues, so if you want to reproduce you'll have to set it and let it point to an appropiate xml. (MS handles this dynamically without this variable)

I've created the xml (there is no static template!) by changing some settings and then finding the personal.keyboard.. xml in the prefs. These have been localized to reflect the GUI language.

Now I have issues with non-german users for the keys y and z. The keyboard in germany swaps those, and now I found out that if you have the german keyboard layout active (windows setting) at the time of creation the resulting xml is different than if you'd set the language to ENG. In other words to have an international environment (and I can't simply solve this via an additonal workset) I'll have to create another xml and determine the keyboard layout (language) at runtime within MicroStation. Then I'll be able to set it to the right keyboard seed.  Understood?  :-)

This relates to:

https://communities.bentley.com/products/administration/f/product-administration-forum/185698/microstation-connect-ed-u13-_ustn_locale_language

...in which I set up the keyboard shortcuts to reflect the current GUI language (which might be different from the Keyboard language !!!).