If I add a shortcut SHIFT-F5 to a Ribbon Tool, it is translated into MAJ-F5. Apparently this is the name for a French keyboard... I'm working with a Belgian keyboard however... Is this a bug?
Settings on my computer:
Keyboard: Dutch (Belgium) - Belgian (Period)
Location: Belgium
Windows 7 English Version
Hello,
Could you please try to attach, if possible, a small sample project, reproducing the above mentioned issue, since I was not able to do so, I will be happy to take a look at it?
I am checking about the progress of this issue. Please let me know If you need any further assistance on this.
Well, I don't think so. Belgium is divided in two parts, a French speaking part and a Dutch speaking part. The Dutch speaking part doesn't use MAJ, but uses SHIFT.
I must say, I'm not an expert in keyboards, but I can tell you that everyone in Dutch speaking Belgium uses SHIFT.
On your wikipedia page I can read:
The other keys are identical, even though traditionally the names of special keys are printed on them in English. This is because Belgium is predominantly bilingual (French-Dutch) and officially trilingual (a third language, German, is spoken in the East Cantons).
Anyway, it seems like the Dutch speaking part of Belgium uses AZERTY keyboard for a historical reason. --> http://bensch.be/azerty-in-flanders (if you are interested ;-)).
So I think the keyboard is actually the same, but the translation of the shift key is only MAJ in the French speaking part of Belgium. That's why very often we can choose between Dutch(Netherlands) and Dutch(Belgium), where Dutch(Belgium) is an AZERTY keyboard (for instance on tablets). Very often, on Android tablets for instance, we can't choose Dutch as that will be a QWERTY keyboard. We then have to choose French to have the AZERTY keyboard (and take the French translations with it).
On Windows for instance, for the language we can choose:
Dutch (Belgium) - Belgian (Period)
Being: Dutch(Belgium) with Keyboard: Belgian (Period) --> AZERTY with SHIFT
For French (Belgium) it's Keyboard: Belgian (Comma) --> AZERTY with MAJ
For Dutch (Netherlands) it's Keyboard: Dutch --> QWERTY with SHIFT I think
I hope this helps. By the way, we are using Infragistics 11.2.20112.2050 which is provided by OpenEdge (don't ask). If it would be possible to have a small fix for this problem, that would be great... Otherwise, is there a way to hack into this until there's a fix? It's not really blocking, but it is kind off confusing for our customers. There aren't many Dutch speaking Belgians that know what MAJ stands for.
Thx, Lieven
Lieven,
Thank you for the detailed post and the information.
This could be achieved using a CreationFilter. Please take a look at the attached sample.
Thanks, this is working. Off course, when our application is installed in France of French speaking Belgium, I do not want MAJ to be replaced by SHIFT.
Is there an easy way to get the configured language on Windows? I guess asking the culture will suffice?
How can I intervene in the creation of a ButtonTool in a Tab? Appaerntly AfterCreateChildElements is not triggered for these. Only if the ButtonTool is part of a PopupMenuItemUIElement, then the method is triggered...
I think the element was created in a ToolbarsManager that was merged with another one. I'll check that first.
For reference, the similar topic on stackoverflow from 2014.
http://stackoverflow.com/questions/23008486/shift-shortcut-being-displayed-as-maj-for-culture-nl-be-when-it-should-be-shif
Was this case solved?
I came across the same topic of the same user from 2014 while this topic is from 2013... I couldn't find a solution yet.
Ok, thx!
Hello Lieven,
I created the following case for you: 'CAS-116363-G2K6C0' and will update you through it.
You could see it in your account in the 'Support Activity' page.