Skip to content

Feature request: add Simplified Chinese (zh-CN) UI localization #64

Open

Description

@q438241zy

Request

Would the project consider adding a maintainable i18n foundation and Simplified Chinese (zh-CN) as an initial UI locale?

Chinese narration transcription is already available, but the UI, onboarding, settings, dialogs, privacy disclosures, error messages, and accessibility labels are English-only.

Suggested scope

  • Use the system locale by default, with a manual language selector in Settings.
  • Keep English as the fallback for missing translations.
  • Externalize UI strings into maintainable locale resources rather than applying one-off hard-coded replacements.
  • Cover the recorder, session library, analysis, skill/automation builders, dialogs, errors, tooltips, and ARIA labels.
  • Keep UI language separate from the generated Skill / Automation output language.
  • Preserve current recording, privacy, and analysis behavior.

Contribution

I can help review Simplified Chinese terminology, contribute translations, and test on Windows 11 zh-CN. Before starting a contribution, could maintainers please advise on the preferred i18n architecture and the desired scope for a first PR?

Thank you for considering this feature request.

Activity

  1. lizheng220 commented on Sep 2, 2026

    @lizheng220

    adilei Giorgio Ughini (@GiorgioUghini) — I've opened #72 as a draft implementing this, since the issue has been open a while without a settled architecture. It seemed more useful to put something concrete up than to ask in the abstract; happy to reshape, split or close it if you'd rather go a different way.

    YouLin (@q438241zy) — this is your issue and you offered to review Simplified Chinese terminology, contribute translations, and test on Windows 11 zh-CN. I'd genuinely welcome all three. I've deliberately scoped the draft to the plumbing plus one migrated surface (43 messages in RecordingControls.tsx), so the bulk of the translation work — Library.tsx alone is ~80 strings — is still open.

    Short version of the approach in #72:

    • No new runtime dependency. The app ships a reviewed third-party manifest (scripts/compliance.mjs, THIRD-PARTY-NOTICES.md, per-package license archival), so i18next/react-i18next would put a compliance review in the path of behaviour that fits in about 40 lines. The whole engine is catalogue lookup + per-message English fallback + {name} interpolation.
    • English is the source of truth, and its keys form the MessageKey type — t() with an unknown key fails the build. zh-CN is typed Partial<...> on purpose so a translation may lag English rather than blocking a change to the source language.
    • System locale by default, manual override in Settings. resolveUiLocale() handles the tags Electron actually emits, with script beating region so zh-Hant-CN isn't mistaken for Simplified; zh-TW/zh-HK fall back to English until a Traditional catalogue exists.
    • Broadcast from main, because the recorder, controls, library and terminal each mount their own React root in their own window.
    • UI language stays independent of the narration transcription language and of the generated Skill/Automation language, as requested.

    English output is unchanged, and remaining surfaces would follow one PR each so nothing lands as a giant diff.

    Two questions I'd like a maintainer call on, both noted in the PR: whether the existing Language label (narration) should be renamed now that an App language picker sits above it, and whether localizing the 99 Whisper language names is in scope at all.

    Based on release/0.6.0 per .github/copilot-instructions.md.

  2. peterwongai2026-beep commented on Sep 29, 2026

    @peterwongai2026-beep

    I've opened #94 implementing zh-CN UI localization against release/0.7.0 (dependency-free i18n layer, system-locale detection with a manual override in Settings, broadcast to all windows, and the renderer surfaces migrated). It overlaps with draft #72, so I'm happy to reconcile with whichever direction the maintainers prefer. adilei Giorgio Ughini (@GiorgioUghini) could you please review and merge if it looks good?

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

Metadata

Metadata

Assignees

No one assigned

    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