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

[Bug]: The built-in language plug-in is invalid #6688

Open
3 of 6 tasks
dingzhouL opened this issue Feb 26, 2024 · 2 comments
Open
3 of 6 tasks

[Bug]: The built-in language plug-in is invalid #6688

dingzhouL opened this issue Feb 26, 2024 · 2 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@dingzhouL
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: firefox
  • Local OS: Ubuntu20.04
  • Remote OS: Ubuntu20.04
  • Remote Architecture: amd64
  • code-server --version: V4.19.1

Steps to Reproduce

  1. Compile code-server v4.19.1 as an image;
  2. run the docker run -d name code-server -e PASSWORD=111111 [image-id] command;
    3.Access the browser.

Expected

I packed the plugin Language pack extension for Chinese (Simplified) into it, but did not get the zh-cn option throughConfigure Display Language.
1708929150941

This seems strange, but when I installed other language packs in the plugin market, the zh-cn option appeared.
1708929250502

Actual

How do I change the default language option to zh-cn with the built-in plugin?

In addition, when I switch the language to zh-cn, the current language in the configuration is still en, which is just a display problem and does not affect the user's use.

1708930467096

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I tested this in native VS Code.
  • This does not happen in native VS Code.
  • I tested this in GitHub Codespaces.
  • This does not happen in GitHub Codespaces.

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

This problem does not occur by manually installing the language pack.

@dingzhouL dingzhouL added bug Something isn't working triage This issue needs to be triaged by a maintainer labels Feb 26, 2024
@code-asher
Copy link
Member

I think this is a duplicate of #4735

Basically, when a language pack is installed, VS Code generates a language bundle, but unfortunately there is a bug and this only happens when you install from the UI.

We do patch language stuff here in code-server, so I am not sure if this is our bug or something upstream. More investigation will be required.

@dingzhouL
Copy link
Author

Thank you very much for answering my question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants