Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot change the display language by installing the language pack extension via cli #4735

Open
hwdef opened this issue Jan 13, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@hwdef
Copy link

hwdef commented Jan 13, 2022

OS/Web Information

  • Web Browser: firefox/edge
  • Local OS: windows10
  • Remote OS: centos7
  • Remote Architecture: amd64
  • code-server --version: 4.0.1 735c6da

Steps to Reproduce

  1. download language extension (https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-zh-hans)
  2. install it code-server --install-extension MS-CEINTL.vscode-language-pack-zh-hans-1.63.3.vsix
  3. start code-server

Expected

Display language changed to Chinese

Actual

nothing happens, even if I enter Configure Display Language through the command panel, there is no Chinese option

image

If I install this language extension online, a prompt will pop up in the lower right corner of the browser, asking if I want to change the display language, but there is no prompt after installing the extension offline

image

Logs

Screenshot

image

image

Notes

This issue can be reproduced in VS Code: Yes/No

@jsjoeio
Copy link
Contributor

jsjoeio commented Jan 14, 2022

Hmmm..when I download from OpenVSX, it says not compatible. I think you need to install this version: https://open-vsx.org/extension/MS-CEINTL/vscode-language-pack-zh-hans/1.63.3

However, if I search for it within code-server and click install, it installs and restarts in Chinese.

Video

Screen.Recording.2022-01-14.at.2.24.18.PM.mov

With CLI

I tried again with 1.63.3 and see the same issue that you're describing. It seems like there could be an issue with the way extensions are installed via the CLI vs the UI 🤔

Possibly related to #4749

cc @code-asher

Workaround

For now, the workaround is to install it while online via the UI

@jsjoeio jsjoeio added the bug Something isn't working label Jan 14, 2022
@jsjoeio jsjoeio added this to the 4.1.0 - improve iPad UX milestone Jan 14, 2022
@code-asher
Copy link
Member

Ah yeah I think it is the same issue here: #3372 (comment)

@code-asher code-asher changed the title Cannot change the display language by installing the language pack extension offline Cannot change the display language by installing the language pack extension via cli Sep 19, 2024
@code-asher code-asher marked this as a duplicate of #7141 Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants