Author Topic: Keyboard scheme preview - is not localized  (Read 447 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 774
  • Karma: +6/-0
    • View Profile
Keyboard scheme preview - is not localized
« on: October 06, 2009, 01:53:39 pm »
Tested with 723 + 726
I have english MUL windows, set to german.

Issue:
"Tools > Keyboard Settings... >  [View...]"  ==> the scheme preview is not localized, see picture.

I mean Strg/Ctrl and Shift/Umschalt should be no problem,
but the scan code for the trigger key, after they modifier keys, is not expanded to correct sign.



F.ex.
(pseudo) Scancode '123' is on english keyboard layout '[' , but on german layout 'ß'
For "Tools > Keyboard Settings... " the scancode is correct interpreted to german glyph 'ß'.
For "Tools > Keyboard Settings... >  [View...]" it is interpreted as english '['.

.
« Last Edit: October 06, 2009, 02:03:53 pm by Stefan »
Stefan, HippoEDIT beta tester  (HippoEDIT News On Twitter: http://twitter.com/hippoedit/)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1712
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: Keyboard scheme preview - is not localized
« Reply #1 on: October 06, 2009, 10:08:18 pm »
Hi Stefan,

this is an known bug (since HE beginning :) ).
Conversion from scan code to a sign and than to HTML done via xslt (data\syntax\syntax.xslt) to have it working as local as when uploaded to server.
And of course for xslt it is a hard task to take into account localization (let say current keyboard layout), and it is hardcoded to English layout (maybe with some German extensions, do not remember already).  And because normally users assign shortcuts in English, nobody noticed, because most of the symbols match.

I can only make it working for local: do conversion manually, generate html manually, create temp file, then some when delete this temp file, because schema is loaded in external browser, it would not be possible then to preview the schema standalone and so on.
Too much effort, I would leave this like it is now. If somebody need exact values, he can check them inside of the hippoedit in keyboard options.

Best regards,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
479 Views
Last post February 19, 2009, 10:02:59 pm
by alex
2 Replies
491 Views
Last post February 25, 2009, 10:50:40 pm
by Arthur
16 Replies
2059 Views
Last post April 15, 2009, 10:03:58 pm
by allen
1 Replies
729 Views
Last post June 18, 2009, 04:35:57 pm
by alex
4 Replies
409 Views
Last post August 10, 2010, 06:04:46 pm
by alex