[Bug]: The built-in language plug-in is invalid
Is there an existing issue for this?
- [X] 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
- Compile code-server v4.19.1 as an image;
- 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.
This seems strange, but when I installed other language packs in the plugin market, the zh-cn option appeared.
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.
Logs
No response
Screenshot/Video
No response
Does this issue happen in VS Code or GitHub Codespaces?
- [X] I tested this in native VS Code.
- [X] 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.
I think this is a duplicate of https://github.com/coder/code-server/issues/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.
Thank you very much for answering my question.