Skip to content

Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2983786#8569

Merged
Evangelink merged 3 commits into
mainfrom
locfiles/ac151328-bc79-454b-a740-c408fd2580ae
May 25, 2026
Merged

Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2983786#8569
Evangelink merged 3 commits into
mainfrom
locfiles/ac151328-bc79-454b-a740-c408fd2580ae

Conversation

@dotnet-bot
Copy link
Copy Markdown
Collaborator

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/icxLocBug 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.

Copilot AI review requested due to automatic review settings May 25, 2026 14:39
@github-actions github-actions Bot enabled auto-merge (squash) May 25, 2026 14:39
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Automated OneLocBuild check-in of localized XLF files. The changes are confined to translation artifacts for the Microsoft.Testing.Platform and Microsoft.Testing.Extensions.HtmlReport resources across all supported languages.

Changes:

  • Remove the WaitDebuggerAttachNotSupportedInWasiErrorMessage trans-unit from every PlatformResources.*.xlf (it was an unlocalized state="new" entry being pruned by the loc pipeline).
  • Reset the HtmlReportFileNameOptionDescription target in every ExtensionResources.*.xlf to the English source with state="new", since the source string was expanded and the prior stale translations no longer matched.
  • No changes to .resx, code, or tests; source string WaitDebuggerAttachNotSupportedInWasiErrorMessage remains in PlatformResources.resx and is referenced by TestApplication.cs, so it should reappear in the XLFs on the next UpdateXlf run.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated no comments.

File Description
src/Platform/Microsoft.Testing.Platform/Resources/xlf/PlatformResources.{cs,de,es,fr,it,ja,ko,pl,pt-BR,ru,tr,zh-Hans,zh-Hant}.xlf Removes the WASI debugger-attach trans-unit from each language file.
src/Platform/Microsoft.Testing.Extensions.HtmlReport/Resources/xlf/ExtensionResources.{cs,de,es,fr,it,ja,ko,pl,pt-BR,ru,tr,zh-Hans,zh-Hant}.xlf Replaces stale HTML report filename description targets with the English source text marked state="new".

Copy link
Copy Markdown
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 21/21 dimensions clean — no findings.


Review Summary

This is an automated localization PR from the OneLocBuild pipeline. The changes are correct and expected:

Change 1: WaitDebuggerAttachNotSupportedInWasiErrorMessage removal (13 files)

Root cause: PR #8564 added [UnsupportedOSPlatform("wasi")] attributes to HangDump/Console/Process surface and introduced a new resource string WaitDebuggerAttachNotSupportedInWasiErrorMessage to PlatformResources.resx. The localization pipeline correctly removed this string from all language .xlf files because:

  • The string is marked state="new" (untranslated)
  • The feature targets a platform-specific constraint (wasi) that likely doesn't require localization at this stage
  • Removal from .xlf files is the expected behavior when a string is deemed not ready for or not requiring translation

Change 2: HtmlReportFileName description revert to English (13 files)

Root cause: PR #8523 significantly expanded the HtmlReportFileName description from a simple one-liner to a multi-line description with placeholder documentation and examples. The localization pipeline correctly reverted partial translations (state="needs-review-translation") back to English (state="new") because:

  • The source text changed substantially (from ~10 words to ~60 words with technical details)
  • The previous partial translations (e.g., "Der Name des generierten HTML-Berichts") are now incomplete and misleading
  • Falling back to English until full translations are available is the correct behavior

Localization Guidelines Compliance

Per .github/copilot-instructions.md lines 73-79:

You MUST: NEVER manually modify *.xlf files. Instead, regenerate them by running dotnet msbuild <project>.csproj /t:UpdateXlf

This PR follows the correct process: the .xlf files were generated by the downstream OneLocBuild automation pipeline, not manually edited.


Recommendation:Approve and merge. This is standard localization pipeline maintenance with no code changes, no functional impact, and no security concerns.

Generated by Expert Code Review (on open) for issue #8569 · ● 1.6M

@Evangelink
Copy link
Copy Markdown
Member

🔍 Build Failure Analysis

Summary — The build failed because the .xlf localization files for Microsoft.Testing.Platform are out-of-sync with the PlatformResources.resx source file. The .resx file contains a resource string that was removed from the .xlf files.

Root cause: Localization file sync issue

The automated localization PR removed the WaitDebuggerAttachNotSupportedInWasiErrorMessage translation entry from all .xlf files (lines 1082-1086 in each file), but this entry still exists in PlatformResources.resx (added by PR #8564, commit 8635764).

This creates a mismatch detected by the Microsoft.DotNet.XliffTasks build target, which validates that .xlf files contain translations for all strings in the corresponding .resx file.

Why this happened:

  1. PR Add [UnsupportedOSPlatform("wasi")] to HangDump / Console / Process surface #8564 added WaitDebuggerAttachNotSupportedInWasiErrorMessage to both .resx and .xlf files
  2. The automated OneLocBuild task generated this PR Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2983786 #8569, which removed the untranslated entries from .xlf files
  3. However, the source .resx file still contains the entry, causing a validation failure

Affected files / errors:

All three target frameworks for Microsoft.Testing.Platform failed with identical errors:

The same issue affects all 13 language-specific .xlf files:

  • PlatformResources.cs.xlf (Czech)
  • PlatformResources.de.xlf (German)
  • PlatformResources.es.xlf (Spanish)
  • PlatformResources.fr.xlf (French)
  • PlatformResources.it.xlf (Italian)
  • PlatformResources.ja.xlf (Japanese)
  • PlatformResources.ko.xlf (Korean)
  • PlatformResources.pl.xlf (Polish)
  • PlatformResources.pt-BR.xlf (Brazilian Portuguese)
  • PlatformResources.ru.xlf (Russian)
  • PlatformResources.tr.xlf (Turkish)
  • PlatformResources.zh-Hans.xlf (Simplified Chinese)
  • PlatformResources.zh-Hant.xlf (Traditional Chinese)

Proposed fix:

The .xlf files need to be regenerated to include the missing translation entry. This requires running:

dotnet build src/Platform/Microsoft.Testing.Platform/Microsoft.Testing.Platform.csproj /t:UpdateXlf

This will add back the WaitDebuggerAttachNotSupportedInWasiErrorMessage translation units to all .xlf files with state="new" (marking them as needing translation).

Alternative approach:

Since this is an automated localization PR and the entry was just added in PR #8564, the OneLocBuild configuration may need adjustment to preserve newly-added entries rather than removing them. The OneLocBuild team should investigate why entries added in the source commit (8635764) were removed in this PR.


Build overview
  • Configuration: Debug
  • Target frameworks: netstandard2.0, net8.0, net9.0, net462
  • Exit code: 1 (failure)
  • Failed target: Build (XliffTasks validation)
  • Error count: 3 (one per target framework for Microsoft.Testing.Platform)
  • Projects that built successfully: 35+ projects (all others)
  • Failed project: Microsoft.Testing.Platform.csproj
All MSBuild errors (3)
Code Project File Message
Custom Microsoft.Testing.Platform PlatformResources.cs.xlf 'Resources/xlf/PlatformResources.cs.xlf' is out-of-date with 'Resources/PlatformResources.resx'. Run msbuild /t:UpdateXlf to update .xlf files
Custom Microsoft.Testing.Platform PlatformResources.cs.xlf 'Resources/xlf/PlatformResources.cs.xlf' is out-of-date with 'Resources/PlatformResources.resx'. Run msbuild /t:UpdateXlf to update .xlf files
Custom Microsoft.Testing.Platform PlatformResources.cs.xlf 'Resources/xlf/PlatformResources.cs.xlf' is out-of-date with 'Resources/PlatformResources.resx'. Run msbuild /t:UpdateXlf to update .xlf files

Note: The same error occurs for each target framework (netstandard2.0, net8.0, net9.0) of the Microsoft.Testing.Platform project.


🤖 Generated by the Build Failure Analysis workflow · commit c2b2b63

Generated by Build Failure Analysis for issue #8569 · ● 1.5M ·

Copy link
Copy Markdown
Member

@Evangelink Evangelink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generated by Build Failure Analysis for issue #8569 · ● 1.5M

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">Čekání na připojení ladicího programu (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) se v prostředích prohlížeče nepodporuje.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 XliffTasks validation failure — The WaitDebuggerAttachNotSupportedInWasiErrorMessage translation entry is missing from this .xlf file but exists in PlatformResources.resx.

Add the missing translation entry after this </trans-unit>:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

This entry needs to be added to all 13 language-specific .xlf files.

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">La espera para que se adjunte el depurador (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) no es compatible con los entornos de explorador.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">Das Warten auf das Anfügen des Debuggers (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) wird in Browserumgebungen nicht unterstützt.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">L’attente de la connexion du débogueur (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) n’est pas prise en charge dans les environnements navigateur.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">디버거 연결 대기(TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1)는 브라우저 환경에서 지원되지 않습니다.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<trans-unit id="WaitDebuggerAttachNotSupportedInBrowserErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">デバッガーのアタッチの待機 (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) は、ブラウザー環境ではサポートされていません。</target>
<note />
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
<note />
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">L'attesa per il collegamento di (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) non è supportata negli ambienti browser.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">Não há suporte para aguardar a anexação do depurador (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) em ambientes de navegador.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">Oczekiwanie na dołączenie debugera (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) nie jest obsługiwane w środowiskach przeglądarki.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported in browser environments.</source>
<target state="translated">Ожидание подключения отладчика (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) не поддерживается в браузерных средах.</target>
<note />
</trans-unit>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Missing translation entry — Add the WaitDebuggerAttachNotSupportedInWasiErrorMessage entry:

Suggested change
</trans-unit>
</trans-unit>
<trans-unit id="WaitDebuggerAttachNotSupportedInWasiErrorMessage">
<source>Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</source>
<target state="new">Waiting for debugger to attach (TESTINGPLATFORM_WAIT_ATTACH_DEBUGGER=1) is not supported on wasi.</target>
<note />
</trans-unit>

@dotnet-bot dotnet-bot changed the title Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2983773 Localized file check-in by OneLocBuild Task: Build definition ID 1218: Build ID 2983786 May 25, 2026
@Evangelink Evangelink disabled auto-merge May 25, 2026 15:17
@Evangelink Evangelink merged commit d34f1f7 into main May 25, 2026
14 checks passed
@Evangelink Evangelink deleted the locfiles/ac151328-bc79-454b-a740-c408fd2580ae branch May 25, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants