title: Xamarin.Forms: Localization of the UWP app
body: <p>If I run my app on an UWP device I get the following warning in the <code>Output</code> window:</p>
  
  <blockquote>
    <p>MakePRI : warning 0xdef00522: Resources found for language(s) 'en,de' but no resources found for default language(s): 'de-DE,en-US'. Change the default language or qualify resources with the default language. <a href="http://go.microsoft.com/fwlink/?LinkId=231899" rel="nofollow noreferrer">http://go.microsoft.com/fwlink/?LinkId=231899</a></p>
  </blockquote>
  
  <p>Don't know if this is related, but I also get</p>
  
  <blockquote>
    <p>1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(2459,5): warning : APPX4001: Build property AppxBundlePlatforms is not explicitly set and is calculated based on currently building architecture. Use 'Create App Package' wizard or edit project file to set it.</p>
  </blockquote>
  
  <p><a href="https://msdn.microsoft.com/en-us/Library/Windows/Apps/jj552947.aspx#makepriexe_warnings_and_error_messages" rel="nofollow noreferrer">This page</a> states, that I have language specific resources, which I haven't qualified with the language tag. How can I find out, which resources these are?</p>
  
  <p>I have images in the <code>Assets</code> folder, but they are language independent ones.  Furthermore, I've set the default language in the <code>Package.appxmanifest</code> to <code>de-DE</code>. If I search for the language abbrevation from the warning, I can only find a <code>priconfig.xml</code> and <code>AppxManifest.xml</code>, both in the <code>Debug</code> output folder.</p>
  
  <p>What should I do to remove this warning?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>The warning seems to disappear if I add a <code>AppResources.en-US.resx</code> file (currently I have <code>en-US</code> set as default language in <code>Package.appxmanifest</code>). Additionally, I have a file for <code>AppResources.de.resx</code> and <code>AppResources.resx</code> (should be <code>en</code>). But why does the <a href="https://github.com/xamarin/xamarin-forms-samples/tree/master/UsingResxLocalization/UWP" rel="nofollow noreferrer">sample project</a> doesn't need such a file, despite there should be the same settings? What I'm missing?</p>