interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Polyglot Notebook: [NetTestingE2E][Loc] Strings of "s" and "ms" are not translated.

Open v-huanli1 opened this issue 7 months ago • 0 comments

Describe the bug The strings of “s" and "ms" are not translated when hovering the executing time.

Note:

  1. This issue is also repro for Chinese(Simple)
  2. Repro VM: 10.158.80.11.

Pre-steps: 1.On ENU OS, install VSCode and dotnet-interactive-vscode-1.0.6323011.vsix extension componet. 2. Install the language package of Japanese from VSCode -> Change the display language of VSCode to Japanese

Steps:

  1. Ctrl+Shift+P => "Polyglot Notebook: Create new blank notebook"
  2. Select "Create as .dib" ->Select "C#"
  3. Set the cell contents to "1 + 1" and execute cell
  4. Observe the executed time and hover on it

Build info: Detailed Repro Build info: VSCodeUserSetup-x64-1.101.2 +dotnet-interactive-vscode-1.0.6323011.vsix VSCode Link: https://code.visualstudio.com/insiders/# dotnet-interactive-vscode-1.0.6323011.vsix https://dev.azure.com/dnceng/internal/_build/results?buildId=2177104&view=artifacts&pathAsName=false&type=publishedArtifacts Sdk info: dotnet-sdk-9.0.300-win-x64.exe

Actual Results: Strings "s" and "ms" are not translated. Image Image Expected Results: All strings should be translated.

Please complete the following:

Which version of .NET Interactive are you using?** (In a notebook, run the #!about magic command. ):

  • OS
    • [√] Windows 11
    • [ ] Windows 10
    • [ ] macOS
    • [ ] Linux (Please specify distro)
    • [ ] iOS
    • [ ] Android
  • Browser
    • [ ] Chrome
    • [ ] Edge
    • [ ] Firefox
    • [ ] Safari
  • Frontend
    • [ ] Jupyter Notebook
    • [ ] Jupyter Lab
    • [ ] nteract
    • [√] Visual Studio Code
    • [ ] Visual Studio Code Insiders
    • [ ] Visual Studio
    • [ ] Other (please specify)

v-huanli1 avatar Jul 03 '25 06:07 v-huanli1