title: WPF localization problem
body: <p>I'm using this line to set the data binding localization:</p>
  
  <pre><code>FrameworkElement.LanguageProperty.OverrideMetadata(
      typeof(FrameworkElement),
      new FrameworkPropertyMetadata(
              XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));
  </code></pre>
  
  <p>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.<br />
  Is there a way to solve this problem?<br />
  Thank you.</p>