Le 06/05/2011 21:18, Guenter Milde a écrit :
I am sure Qt gives us this information. We should react to OS-level
language change. This is probably trivial.

There are some tricky points: the OS typically switches keyboard
layout, but the mapping of keyboard-layout to intended document
language is ambiguous.

My ideaq was to use QApplication::keyboardInputLocale and hook to the event sent when this changes.

For languages using different scripts, I like the idea to set up a
secondary (and maybe tertiary ...) language:

Each language setting can be connected to a script, using this script
would automatically switch the document language, if a letter from the
the specified script is used (using the default language for
non-specified characters like punktuation)

Isn't it very complicated? Do we need this? The primary users are english/hebrew people IMO.

JMarc

Reply via email to