I'm use XmlProvider for localization of my app. All good but flyout's header not binding:

and result:

@Pekshev What version of MahApps do you use?
1.5.0.23
I found the solution - I set the header in the code when the window is loaded. But I would like to do this in the xaml
@Pekshev Can you create a short sample on GitHub? With one Flyout and such a XmlProvider?
@Pekshev Thank you for this sample! 馃憦 It helps me to find the bug :-D

This fix will be available in 1.6.0 (and next pre-release)
I will not create a new issue.
There is also a bug - when binding is not set the upper case for text in many controls. The simplest example is the groupBox.

I updated the demo project
@Pekshev the same happens at the Buttons (these captions should be also upper cased). The problem here is, that the ToUpper (and ToLower) converters gets a XmlNode and not a string through the binding (Header or Content).
You can create a simple converter to solve this
public class XmlNodeToTextConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var xmlNode = value as XmlNode;
if (xmlNode != null)
{
value = xmlNode.InnerText;
}
return value;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return Binding.DoNothing;
}
}
Usage
<GroupBox Header="{Binding Source={StaticResource Lang}, XPath=t6, Converter={StaticResource XmlNodeToTextConverter}}" />