Skip to content

Commit

Permalink
[Localization] Import translated resx files (#1018)
Browse files Browse the repository at this point in the history
The Java.Interop repo has been fully onboarded into the OneLoc system,
and the translations for Java.Interop.Localization are now complete.

XLF files and the XliffTasks NuGet will no longer be used.  They have
been replaced by the OneLocBuild translation process which produces
translated RESX files.

Future changes to `src/Java.Interop.Localization/Resources.resx` will
trigger a new OneLocBuild handoff for translation.  Shortly after that,
the LCL files in the Localize folder will be automatically updated with
newly translated strings.  This update will cause the OneLocBuild task
to open another PR which updates the RESX files used to produce
localized satellite assemblies.

-----

This is the pull request automatically created by the OneLocBuild task
in the build process to check-in localized files generated based upon
translation source files (.lcl files) handed-back from the downstream
localization pipeline. If there are issues in translations, visit
https://aka.ms/ceLocBug and log bugs for fixes. The OneLocBuild wiki is
https://aka.ms/onelocbuild and the localization process in general is
documented at https://aka.ms/AllAboutLoc.

Co-authored-by: Peter Collins <[email protected]>
  • Loading branch information
1 parent a5756ca commit 9b1d3ab
Show file tree
Hide file tree
Showing 30 changed files with 5,214 additions and 4,561 deletions.
5 changes: 0 additions & 5 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@
<PackageVersion>1.0.0.0</PackageVersion>
</PropertyGroup>

<PropertyGroup>
<XlfLanguages>cs;de;es;fr;it;ja;ko;pl;pt-BR;ru;tr;zh-Hans;zh-Hant</XlfLanguages>
<UpdateXlfOnBuild Condition="'$(RunningOnCI)' != 'true'">true</UpdateXlfOnBuild>
</PropertyGroup>

<Import
Project="$(MSBuildThisFileDirectory)Configuration.Override.props"
Condition="Exists('$(MSBuildThisFileDirectory)Configuration.Override.props')"
Expand Down
1 change: 0 additions & 1 deletion Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Update="protobuf-net" Version="2.4.4" />
<PackageReference Update="XliffTasks" Version="1.0.0-beta.20420.1" />
</ItemGroup>

<Import Project="build-tools\scripts\VersionInfo.targets" />
Expand Down
2 changes: 1 addition & 1 deletion NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<packageSources>
<clear />
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" protocolVersion="3" />
<!-- For XliffTasks -->
<!-- For Microsoft.DotNet.GenAPI -->
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" protocolVersion="3" />
</packageSources>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@

<Import Project="..\..\TargetFrameworkDependentValues.props" />

<ItemGroup>
<PackageReference Include="XliffTasks" />
</ItemGroup>

<ItemGroup>
<Compile Update="Resources.Designer.cs">
<DesignTime>True</DesignTime>
Expand Down
401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.cs.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.de.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.es.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.fr.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.it.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.ja.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.ko.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.pl.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.pt-BR.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.ru.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.tr.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.zh-Hans.resx

Large diffs are not rendered by default.

401 changes: 401 additions & 0 deletions src/Java.Interop.Localization/Resources.zh-Hant.resx

Large diffs are not rendered by default.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.cs.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.de.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.es.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.fr.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.it.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.ja.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.ko.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.pl.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.pt-BR.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.ru.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.tr.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.zh-Hans.xlf

This file was deleted.

350 changes: 0 additions & 350 deletions src/Java.Interop.Localization/xlf/Resources.zh-Hant.xlf

This file was deleted.

0 comments on commit 9b1d3ab

Please sign in to comment.