Skip to content

Commit 9b1d3ab

Browse files
[Localization] Import translated resx files (#1018)
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]>
1 parent a5756ca commit 9b1d3ab

30 files changed

+5214
-4561
lines changed

Directory.Build.props

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
2020
<PackageVersion>1.0.0.0</PackageVersion>
2121
</PropertyGroup>
2222

23-
<PropertyGroup>
24-
<XlfLanguages>cs;de;es;fr;it;ja;ko;pl;pt-BR;ru;tr;zh-Hans;zh-Hant</XlfLanguages>
25-
<UpdateXlfOnBuild Condition="'$(RunningOnCI)' != 'true'">true</UpdateXlfOnBuild>
26-
</PropertyGroup>
27-
2823
<Import
2924
Project="$(MSBuildThisFileDirectory)Configuration.Override.props"
3025
Condition="Exists('$(MSBuildThisFileDirectory)Configuration.Override.props')"

Directory.Build.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3333
</PackageReference>
3434
<PackageReference Update="protobuf-net" Version="2.4.4" />
35-
<PackageReference Update="XliffTasks" Version="1.0.0-beta.20420.1" />
3635
</ItemGroup>
3736

3837
<Import Project="build-tools\scripts\VersionInfo.targets" />

NuGet.Config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<packageSources>
99
<clear />
1010
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" protocolVersion="3" />
11-
<!-- For XliffTasks -->
11+
<!-- For Microsoft.DotNet.GenAPI -->
1212
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" protocolVersion="3" />
1313
</packageSources>
1414
</configuration>

src/Java.Interop.Localization/Java.Interop.Localization.csproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212

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

15-
<ItemGroup>
16-
<PackageReference Include="XliffTasks" />
17-
</ItemGroup>
18-
1915
<ItemGroup>
2016
<Compile Update="Resources.Designer.cs">
2117
<DesignTime>True</DesignTime>

src/Java.Interop.Localization/Resources.cs.resx

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.

src/Java.Interop.Localization/Resources.de.resx

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.

src/Java.Interop.Localization/Resources.es.resx

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.

src/Java.Interop.Localization/Resources.fr.resx

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.

src/Java.Interop.Localization/Resources.it.resx

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.

src/Java.Interop.Localization/Resources.ja.resx

Lines changed: 401 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)