feat: UI localization (i18n) with Simplified Chinese — reviving the approach from #1993
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 8.7k
- Forks
- 649
- Merge medio
- 16 h 1 min
- PR fusionados (30 d)
- 756
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de backnotprop/plannotator
-
Inbox: numbered choices in a :::question become free text, and context bullets become the choicesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
backnotprop/plannotator#4132 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Claude Code: "classic.PermissionRequest hook was skipped" notice is back on Bash permission promptsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
backnotprop/plannotator#4051 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
backnotprop/plannotator#4000 ·
Los mantenedores suelen responder en 1 día
-
PR description is hidden when a PR review opens on a phonePosiblemente ocupada @flipcyde101 la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
backnotprop/plannotator#3667 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
backnotprop/plannotator#2643 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de backnotprop/plannotator
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
-
review-followup
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
griffinwork40/agent-afk#5387 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
CodeManufactoryLLC/Code60#358 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
android:plan ios:plan main:plan packages:learn
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día