dotnet/interactive

Polyglot Notebook: [NetTestingE2E][Loc][ZH-CN]The strings "Restart" and "Variables" are not translated in *.dib file - top menus.

Opened this issue · 0 comments

REGRESSION: No regression info since it's our first time to try Loc test on this.

Describe the bug:
The strings "Restart" and "Variables" are not translated for ZH-CN language.

Note:

  1. Repro VM: 172.16.194.187
  2. This issue not only repro on ENU OS + VSCode language pack, also repro on Loc OS.

Pre-steps:
1.On Chinese OS, install VSCode and dotnet-interactive-vscode-1.0.6323011.vsix extension component.
2. Install the language package of Chinese (Simplified) from VSCode -> Change the display language of VSCode to Chinese (Simplified)

Steps:

  1. Open the notebook from interactive/NotebookTestScript.dib at main · dotnet/interactive (github.com)
  2. Check the buttons in this *.dib file

Actual Results:
The strings "Restart" and "Variables" are not translated for ZH-CN language.
Image

Expected Results:
All strings should be localized, like below screenshot for JA language.
Image

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)