Skip to content

[BUG]: zh/zht locale dictionaries missing 93 keys present in en (pairing, provider connect, file viewer) #52039

Description

@imyu37

Description

The Simplified (zh.ts) and Traditional (zht.ts) app dictionaries have drifted behind en.ts: 93 keys exist in English but not in zh/zht, so those strings fall back to English at runtime and the Chinese UI shows mixed-language screens.

Breakdown of the missing keys by prefix:

Prefix Missing
provider.* (provider connect wizard: Console/OAuth/device-code/remote flows) 39
settings.* (pairing, projects, provider accounts, models) 18
file.* (file viewer preview/source/open-in-browser) 10
pair.* (pairing page body, screen-active toggle, QR/copy errors) 10
session.* 8
command.* 4
home.* 2
common.* 1
server.* 1

Most of these landed with recent features (#49291 device pairing, provider connect flows) that shipped en.ts entries without zh/zht translations. All 63 locales are affected; zh/zht are the ones I can PR for.

The fix adds the missing translations per language (placeholders/$OPENCODE_* vars preserved, terminology per packages/app/AGENTS.md §Localization).

Steps to reproduce

  1. Set the desktop app locale to 中文.
  2. Open Settings → Pairing.
  3. The whole page renders in English instead of Chinese.

Follow-up PR: #52040.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions