There are two issues. For running the dictionary you need to know
For hebrew and arabic it's another issue, you need to know the
so that you know directionality. Hebrew is right to left. For
it may be easy to decide, for what about spaces and numbers? For
these we need
to know the system keyboard language and not guess it from the
Under windows I know it's possible since for example word does it.
whether this is possible to know under linux (I guess so since
there are panel
applets that show the language). Which again comes down to the
there is a technical issue why to work this way or not.
So you want to change language when the keyboard layout is changed at
system level, right?
I never thought of these layouts as indicators of the actual
language. If Qt gives us
this information, we should be able to do it.