I'm using this line to set the data binding localization:
FrameworkElement.LanguageProperty.OverrideMetadata(
typeof(FrameworkElement),
new FrameworkPropertyMetadata(
XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));
but I noticed that if I customize the language format in the control panel, for example by specifying another decimal separator, that change is not considered: the culture created is always the default.
Is there a way to solve this problem?
Thank you.