GetSimple Support Forum
HOW TO: Set different keyboard shortcuts for different languages? - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Developer Discussions (http://get-simple.info/forums/forumdisplay.php?fid=8)
+--- Thread: HOW TO: Set different keyboard shortcuts for different languages? (/showthread.php?tid=2363)



HOW TO: Set different keyboard shortcuts for different languages? - mrmut - 2011-11-10

Hello all! :-)

Can someone jump in and help with keyboard shortcuts?
Is there a way to change them? - I tried styling them differently, but than they stopped working.

Any help appreciated (I am not much of a PHP coder, but I manage.)

Thanks!


HOW TO: Set different keyboard shortcuts for different languages? - Connie - 2011-11-11

mrmut,

this is very easy!

it is done in the language file. The letter which you want to set as keyboard-shortcut is defined by <em>

see here from the german language file:

Code:
"VIEW"                    =>    "<em>V</em>orschau",

"V" will be the keyboard-shortcut in the german version, for turkish it coud be:

Code:
"VIEW"                    =>    "<em>Ö</em>nizleme",

so you can define for all languages you need

cheers, Connie


HOW TO: Set different keyboard shortcuts for different languages? - mrmut - 2011-11-11

Thanks! :-)

I thought it was something like that, but it didn't work for me at first, as my browser didn't react to key presses!