feat: UI localization (i18n) with Simplified Chinese — reviving the approach from #1993
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend, internationalization, localization
Direzione di ricerca
This is a scope question before it is a patch: read the closed PR #1993 and issue #3333 first, and wait for a maintainer to say whether localization is in scope before writing code. If it is, the surface is the ~229 hardcoded English strings across packages/review-editor and packages/ui, plus a new packages/ui/i18n provider and a uiLanguage entry registered through SettingDef/ConfigStore. Done means a language selector in Settings → General, navigator.language detection with English fallback, and no bundle-size or dependency regressions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
The Plannotator UI is English-only, which is a hard barrier for non-English-speaking users. Before proposing anything
new I searched existing work and found PR #1993 ("feat(ui): add lightweight zero-dependency i18n and Simplified
Chinese localization"). It appears to have implemented exactly this, but was closed without merge on 2026-10-28 with
no review comments or discussion.
The first question is therefore: was #1993 closed because the approach was wrong, because localization is planned
differently, or because localized UI is out of scope?
Why this matters
Plannotator sits directly in the review loop — plan approval, code review, annotation. Users click Approve / Reject /
Comment / Submit Feedback every session. Non-English speakers either misread the decision they are making or guess,
which is risky in a tool that gates plan execution.
There is also open issue #3333 (Simplified Chinese README), so community interest in zh-CN already exists at the
documentation level.
Suggested approach (only if localization is welcome)
Reuse the architecture from #1993 rather than designing from scratch:
- Zero-dependency
I18nProvider+useTranslationunderpackages/ui/i18n, with plain typed dictionaries — keeps
the single-file HTML bundle small. uiLanguage: 'auto' | 'en' | 'zh-CN'registered through the existingSettingDef/ ConfigStore, inheriting the
same port-independent cookie scoping and server sync as other preferences.- Auto-detect via
navigator.language, fall back to English on missing keys. - Language selector in Settings → General.
This stays additive: English remains the source of truth, translations are pure data files, and adding a locale later
means adding one dictionary.
What I can contribute
If this direction is acceptable, I am willing to:
- Rebase/revive the #1993 implementation against current
main, or submit a fresh PR in the shape above. - Provide a reviewed zh-CN dictionary covering all UI strings (currently ~229 hardcoded English UI strings across
packages/review-editorandpackages/ui).
If localization is out of scope for the project, please say so and close this — I will not push a PR you do not want.
Notes
- No runtime machine translation; dictionaries are static and reviewed.
- No new runtime dependencies proposed.
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 649
- Merge medio
- 16h 1m
- PR unite (30g)
- 756
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
backnotprop/plannotator#4132 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
backnotprop/plannotator#4051 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
backnotprop/plannotator#4000 ·
I maintainer di solito rispondono entro 1 giorno
-
PR description is hidden when a PR review opens on a phoneForse già presa @flipcyde101 l’ha presa 8 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
backnotprop/plannotator#3667 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
backnotprop/plannotator#2643 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di backnotprop/plannotator
Issue simili
-
enhancement status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
dongdongbh/Mindwtr#1625 ·
I maintainer di solito rispondono entro 1 giorno
-
area/ui-schema good first issue type/bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
duckdb/duckdb-wasm#2335 ·
I maintainer di solito rispondono entro 1 giorno