We use strings in dictionnary and all elements are refreshed into the new strings when we change the dictionnary but not the datagrid headers (not mahapps) and the hamburger menu... Tabs are working with some other controls
Steps to reproduce
with the demo app, include the stringManager joined
and 2 dictionnaries in the folder \Resources\XAML\Languages
change as resource
localize is not working in our app
We use strings in dictionnary and all elements are refreshed into the new strings when we change the dictionnary but not the datagrid headers (not mahapps) and the hamburger menu... Tabs are working with some other controls
Steps to reproduce
with the demo app, include the stringManager joined
and 2 dictionnaries in the folder \Resources\XAML\Languages change as resource
include one of them by default in the app.xaml
<ResourceDictionary Source="/MahApps.Metro.Demo;Component/Resources/XAML/Languages/Strings.fr-FR.xaml" />
bind a menuitem to a string in HamburgerMenuDefault.xaml
and bind also the tabs in HamburgerMenuSample.xaml
in the app start call to change the culture from FR to US
bind a command in the menu to change back
this.ShowProgressDialogCommand = new SimpleCommand<object>(o => true, x => StringManager.Instance.SetCulture("fr-FR") ); //this.RunProgressFromVm()
work in the tabs but not in the hamburger
Environment