Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Localization is broken in multiple places

未關閉
#7,518 1 則留言 0 個 reaction 已指派 1 人 在 GitHub 檢視

維護者通常 2 天內回覆

@code-asher 已經在處理了。

開始於 2025年10月9日。

評估

這個 Issue 還沒有評估資料。

描述

bug triage
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
  1. Set up code server using the compose stack above
  2. Open http://localhost:8080 in the browser
  3. f1 -> configure display language
  4. Select any language except English and install language pack. Tested with Russian, Japanese, Chinese, French.
  5. Reload vscode window to change display language
  6. Initialize an empty git repository in the workspace folder (git init)
  7. 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:

Image Image

Github codespaces behavior for comparison:

Image Image
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 天 17 小時
30 天內合併 PR
37

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

coder/code-server 的其他 Issue

查看 coder/code-server 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。