![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Keyboard hotkey in a localized application I have an application with a menu This is the menu. <MenuItem Header="_New"> <MenuItem Header="_One" /> <MenuItem Header="_Two" /> </MenuItem> and i see an underscore under the letter near the underscore in execution. If i apply the localization rescuing the value from an XML file UTf-16 coded i see the text "_One" and not the hotkey. This is the call of the text for a generic menuItem <MenuItem Header="{Binding Source={StaticResource LanguagesList}, XPath=String[@id\=\'2\']}" /> Part of XML <?xml version="1.0" encoding="utf-16" ?> <Languages> <Language lang="Italiano" Culture="it-IT" FlowDirection="LeftToRight"> <String id="2">_Nuovo</String> </Language> <Language lang="English" Culture="en-UK" FlowDirection="LeftToRight"> <String id="2">_Nuovo</String> </Language> <Languages> someone can give me a suggestion? -- WPF Beginner |
My System Specs![]() |
| | #2 (permalink) |
| | RE: Keyboard hotkey in a localized application Did you get this figured out? I was hoping someone would reply as I'll be localizing our app soon and this worries me... "bottaxxgp" wrote: Quote: > > I have an application with a menu > This is the menu. > <MenuItem Header="_New"> > <MenuItem Header="_One" /> > <MenuItem Header="_Two" /> > </MenuItem> > > and i see an underscore under the letter near the underscore in execution. > > If i apply the localization rescuing the value from an XML file UTf-16 coded > i see the text "_One" and not the hotkey. > > This is the call of the text for a generic menuItem > <MenuItem Header="{Binding Source={StaticResource LanguagesList}, > XPath=String[@id\=\'2\']}" /> > > Part of XML > <?xml version="1.0" encoding="utf-16" ?> > <Languages> > <Language lang="Italiano" Culture="it-IT" FlowDirection="LeftToRight"> > <String id="2">_Nuovo</String> > </Language> > <Language lang="English" Culture="en-UK" FlowDirection="LeftToRight"> > <String id="2">_Nuovo</String> > </Language> > <Languages> > > someone can give me a suggestion? > -- > WPF Beginner |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| How do you change a keyboard hotkey | Vista General | |||
| MS Natural Keyboard 4000/Vista: Hotkey to open/close optical drive | Vista hardware & devices | |||
| MS Natural Keyboard 4000/Vista: Hotkey to open/close optical drive | Vista hardware & devices | |||
| DOS application not using local keyboard. | Vista General | |||
| Keyboard setup for DOS application under Vista | Vista installation & setup | |||