Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1085
Localization not working properly
posted

I'm having trouble localizing XamDockManager in my WPF Application:

On Application Start, following code is executed:

var Culture = System.Globalization.CultureInfo.CreateSpecificCulture("de-DE");
Current.Dispatcher.Thread.CurrentCulture = germanCulture;
Current.Dispatcher.Thread.CurrentUICulture = germanCulture;
// Set the globalization
System.Windows.FrameworkElement.LanguageProperty.OverrideMetadata(
typeof(FrameworkElement),
new FrameworkPropertyMetadata(System.Windows.Markup.XmlLanguage.GetLanguage(germanCulture.IetfLanguageTag)));

Additionally, i'm setting the Language on the Dockmanager itself:

<igDock:XamDockManager x:Name="dockManager" Grid.Row="0" Grid.Column="1" Width="Auto" Language="DE">

On my PC this works as intended, the right click menu etc. are german. But when I open the application on another PC (that has the same locale/region) it all defaults to english.

Am I missing something here?