microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.75k stars 28.17k forks source link

update the language pack and then click reload then the shown language is changed to English #154417

Open heartacker opened 2 years ago

heartacker commented 2 years ago
  1. config display language to chinese
  2. install new version vscode
  3. then we could find ther extensions update, update the language package
  4. click reload
  5. display language will be changed to english
heartacker commented 2 years ago

I can not change the display language to chinese beacuse the current is chinses(ofcause it's not) image

what i can do is change to another language and change back to chinese

TylerLeonhardt commented 1 year ago

@heartacker I've done a lot of work in this space in the past 5months can you try this again?

heartacker commented 1 year ago

I'm facing the issue with last update.

heartacker commented 1 year ago

can anybody help to fix this, we are suffering

TylerLeonhardt commented 1 year ago

So I gave this a try, and here is my experience:

https://user-images.githubusercontent.com/2644648/229200359-d6183a16-d958-4a09-b19b-5e11289ede64.mp4

Ignore the other VS Code window that has a different background color. That's VS Code Insiders and should have no affect on this

As you can see, the language does stay set after I apply the update. This is the ideal experience.

Based on your screenshots, are you using Windows? I'm wondering if we're doing something different on Windows...

After an update happens, can you tell me if, when you run the >Preferences: Configure Runtime Arguments command, that JSON file has a locale property and what is it set to?

If you need to downgrade and re-upgrade in order to repro the issue, you can grab the 1.76 version here: https://code.visualstudio.com/updates/v1_76

heartacker commented 1 year ago

I am using windows and all of my windows pc have the same Issue

  1. update to newer version of vscode
  2. Chinese package will be update automatically
  3. reload window now
  4. display language say we are still using Chinese but UI is english
heartacker commented 1 year ago

https://user-images.githubusercontent.com/1876302/229570963-3988de3e-17d5-4599-bbdc-9c7dacd782e9.mp4

TylerLeonhardt commented 1 year ago

@heartacker when you see this, can you tell me if, when you run the >Preferences: Configure Runtime Arguments command, that JSON file has a locale property and what is it set to?

Additionally, can you check if the Extensions pane says that the Chinese Language Pack is installed?

heartacker commented 1 year ago

image

image

TylerLeonhardt commented 1 year ago

Bizarre... ok can you try:

And are you able to workaround the problem by changing the language to English in the Configure Display Language and then restart... and then do it again setting it to Chinese?

VSCodeTriageBot commented 1 year ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

heartacker commented 1 year ago

And are you able to workaround the problem by changing the language to English in the Configure Display Language and then restart... and then do it again setting it to Chinese?

yes

happyme531 commented 8 months ago

The bug still exists after 15 months. Exactly same behavior after updating.

Version: 1.84.2 Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e Date: 2023-11-09T10:50:47.800Z Electron: 25.9.2 ElectronBuildId: 24603566 Chromium: 114.0.5735.289 Node.js: 18.15.0 V8: 11.4.183.29-electron.0 OS: Linux x64 6.6.1-1-MANJARO

DinoFive commented 7 months ago

我也遇到了这个问题。 我发现语言包更新后用Developer:Reload Window命令重启会出现这个问题,但是如果手动关闭vscode窗口,然后重新打开会正常显示中文。