Localization is broken in multiple places
@code-asher 已经在做这个了。
开始于 2025年10月9日。
评估
这个 Issue 还没有评估数据。
描述
Is there an existing issue for this?
- I have searched the existing issues
OS/Web Information
- Web Browser: Firefox 143.0.4
- Local OS: Windows 11
- Remote OS: Docker desktop (WSL) + code server container
- Remote Architecture: x64
code-server --version:1.104.2 b0992ddb3e3b398371da6bcfbe21a70b4d66eb8d x64
Steps to Reproduce
Docker compose:
services:
code-server:
image: ghcr.io/coder/code-server:4.104.2-39
ports:
- 8080:8080
volumes:
- ./.config:/home/coder/.config
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
- Set up code server using the compose stack above
- Open
http://localhost:8080in the browser f1->configure display language- Select any language except English and install language pack. Tested with Russian, Japanese, Chinese, French.
- Reload vscode window to change display language
- Initialize an empty git repository in the workspace folder (
git init) - Switch to VCS tab in vscode and observe "Commit" button at the top not being translated
Expected
The "Commit" button should be translated by the installed language pack. This is actual behavior in both native vscode and github codespaces.
Actual
The "Commit" button is untranslated.
This also happens in multiple other places, for example you can see the "Changes" label and commit message placeholder not being translated too on attached screenshots.
Logs
Screenshot/Video
Code server behavior:
Github codespaces behavior for comparison:
Does this bug reproduce in native VS Code?
No, this works as expected in native VS Code
Does this bug reproduce in GitHub Codespaces?
No, this works as expected in GitHub Codespaces
Are you accessing code-server over a secure context?
- I am using a secure context.
Notes
No response
- 主要语言
- TypeScript
- 星标
- 79.4k
- 派生
- 6.9k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 39
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
coder/code-server 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
coder/code-server#8017 · 2 条评论 ·
-
security
难度 2/5 1-3 小时 新手友好度 74/100
coder/code-server#8013 · 4 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
coder/code-server#7976 · 2 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 35/100
coder/code-server#7962 · 3 条评论 ·
-
bug needs-investigation
难度 4/5 3-5 天 新手友好度 55/100
coder/code-server#7955 · 1 条评论 ·
查看 coder/code-server 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
难度 2/5 1-3 小时 新手友好度 75/100
fil-donadoni/tolaria#4409 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
corsairdev/corsair#1764 ·