I'm using the built-in ApplicationCommands
to create a menu:
<Menu DockPanel.Dock="Top">
<MenuItem Header="_Datei">
<MenuItem Command="ApplicationCommands.New" />
<MenuItem Command="ApplicationCommands.Open" />
<MenuItem Command="ApplicationCommands.Save" />
<MenuItem Command="ApplicationCommands.SaveAs" />
<Separator />
<MenuItem Header="Been_den" Command="{StaticResource SchliessenCommand}" />
</MenuItem>
</Menu>
The text displayed by the ApplicationCommands
differs depending on the system language: Running on an English Windows 7, ApplicationCommands.New
displays as "New", whereas it displays as "Neu" on a German Windows 7.
Since the rest of the application is not localized, I want the application commands to always display in German language. Is there a way to do that without manually setting the Header
of each MenuItem?