Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Libraries and TheIDE: i18n, Unicode and Internationalization » Internationalizing Keyboard Accelerator Keys?
Internationalizing Keyboard Accelerator Keys? [message #7394] Tue, 26 December 2006 22:57 Go to next message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member

As far as I see

bar.Add("New", THISBACK(OnNew)).Key(K_CTRL_N);


always yields

Quote:

New <right-justified>Ctrl+N



But that is for an (American) English keyboard. In German for example, this should read

Quote:

New <right-justified>Strg+N



because "Strg" is an abbreviation for "Steuerung" as "Ctrl" is an abbreviation for "Ctrl".

Any chance to achieve that?

Werner

[Updated on: Tue, 26 December 2006 22:59]

Report message to a moderator

Re: Internationalizing Keyboard Accelerator Keys? [message #7398 is a reply to message #7394] Wed, 27 December 2006 01:40 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 12098
Registered: November 2005
Ultimate Member
Werner wrote on Tue, 26 December 2006 16:57


As far as I see

bar.Add("New", THISBACK(OnNew)).Key(K_CTRL_N);


always yields

Quote:

New <right-justified>Ctrl+N



But that is for an (American) English keyboard. In German for example, this should read

Quote:

New <right-justified>Strg+N



because "Strg" is an abbreviation for "Steuerung" as "Ctrl" is an abbreviation for "Ctrl".

Any chance to achieve that?

Werner



Yes, by fixing CtrlCore Smile It will need adding a couple of "t_" to CtrlKbd.cpp and .t file to CtrlCore. I will do it ASAP.

...20 minutes later - ready to be translated.

Mirek
Re: Internationalizing Keyboard Accelerator Keys? [message #7407 is a reply to message #7398] Wed, 27 December 2006 16:03 Go to previous messageGo to next message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
luzr wrote on Wed, 27 December 2006 01:40

Yes, by fixing CtrlCore Smile It will need adding a couple of "t_" to CtrlKbd.cpp and .t file to CtrlCore. I will do it ASAP.

...20 minutes later - ready to be translated.



Thank you very much! This was really an immediate response.

Unfortunately, for lack of time I won't be able to play around with this new feature for a couple of days. So I'm looking forward to learn whether this enables me to change menus not at compile-time but only at run-time.

Werner
Re: Internationalizing Keyboard Accelerator Keys? [message #7795 is a reply to message #7407] Tue, 23 January 2007 03:49 Go to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
Werner wrote on Wed, 27 December 2006 16:03

Unfortunately, for lack of time I won't be able to play around with this new feature for a couple of days. So I'm looking forward to learn whether this enables me to change menus not at compile-time but only at run-time.

Werner



I just reread my message. Sad Silly remark! Laughing Sure it does! Shocked

Werner
Previous Topic: IME window is not at correct position
Next Topic: Internationalization problem when using ctr as member of TopWindow
Goto Forum:
  


Current Time: Fri Nov 15 13:41:54 CET 2019

Total time taken to generate the page: 0.00999 seconds