title: Multilanguage wpf application with resources in Visual Studio Designer
body: <p>This is my issue:
  I have multilanguage WPF application with resources in two different files. Now I choose the proper one in app.xaml.cs like this:</p>
  
  <pre><code>var dict = new ResourceDictionary();
  switch (Thread.CurrentThread.CurrentCulture.ToString())
  {
      case "de-DE":
          dict.Source = new Uri("pack://application:,,,/Resources;component/StringResources.de-DE.xaml", UriKind.Absolute);
          break;
      default:
          dict.Source = new Uri("pack://application:,,,/Resources;component/StringResources.xaml", UriKind.Absolute);
          break;
  }
  Resources.MergedDictionaries.Add(dict);
  </code></pre>
  
  <p>and everything works fine, but I can't see that resources in VisualStudio Designer.</p>
  
  <p>On the other hand when I define ResourceDictionary in App.xaml file like this:</p>
  
  <pre><code>&lt;Application x:Class="Ampe.UI.Views.App"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      Exit="App_OnExit" ShutdownMode="OnMainWindowClose"&gt;
      &lt;Application.Resources&gt;
          &lt;ResourceDictionary&gt;
              &lt;ResourceDictionary.MergedDictionaries&gt;
                  &lt;ResourceDictionary Source="pack://application:,,,/Resources;component/StringResources.de-DE.xaml"/&gt;
              &lt;/ResourceDictionary.MergedDictionaries&gt;
          &lt;/ResourceDictionary&gt;
      &lt;/Application.Resources&gt;
  &lt;/Application&gt;
  </code></pre>
  
  <p>then I have this resources in designer but I can't set multilanguage.</p>
  
  <p>Is there any possibility to visible resources in designer with multilanguage application? Maybe some kind of change app.xaml file while application is turn on?</p>