<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="MultilingualAppToolkit">
    <MultilingualAppToolkitVersion>4.0</MultilingualAppToolkitVersion>
    <MultilingualFallbackLanguage>en-US</MultilingualFallbackLanguage>
  </PropertyGroup>
  <ItemGroup>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.de.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.es.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.fr.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.it.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.ja.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.ko.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.ru.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.zh-Hans.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
    <EmbeddedResource Include="$(MSBuildProjectDirectory)\Resources\Strings.zh-Hant.resx">
      <Visible>True</Visible>
    </EmbeddedResource>
  </ItemGroup>
  <ItemGroup>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).de.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).es.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).fr.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).it.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).ja.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).ko.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).ru.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).zh-Hans.xlf">
      <Visible>True</Visible>
    </XliffResource>
    <XliffResource Include="$(MSBuildProjectDirectory)\MultilingualResources\$(MSBuildProjectName).zh-Hant.xlf">
      <Visible>True</Visible>
    </XliffResource>
  </ItemGroup>
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets" Label="MultilingualAppToolkit" Condition="Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets')" />
  <Target Name="MATPrerequisite" BeforeTargets="PrepareForBuild" Condition="!Exists('$(MSBuildExtensionsPath)\Microsoft\Multilingual App Toolkit\Microsoft.Multilingual.ResxResources.targets')" Label="MultilingualAppToolkit">
    <Message Text="$(MSBuildProjectFile) is Multilingual build enabled, but the Multilingual App Toolkit is unavailable during the build. If building with Visual Studio and you wish to work with localization files, please ensure that the toolkit is properly installed." />
  </Target>
</Project>