Skip to content

feat(i18n): add Chinese (zh-CN, zh-TW) translations for Kanban screen#425

Open
shaoliang123456 wants to merge 1 commit into
fathah:mainfrom
shaoliang123456:fix-kanban-i18n
Open

feat(i18n): add Chinese (zh-CN, zh-TW) translations for Kanban screen#425
shaoliang123456 wants to merge 1 commit into
fathah:mainfrom
shaoliang123456:fix-kanban-i18n

Conversation

@shaoliang123456

@shaoliang123456 shaoliang123456 commented May 28, 2026

Copy link
Copy Markdown

Summary

  • Add Chinese Simplified (zh-CN) and Chinese Traditional (zh-TW) translations for the Kanban screen
  • Register the kanban namespace for both locales in src/shared/i18n/index.ts
  • Add a rendering test (Kanban.test.tsx) verifying the Chinese locale renders correctly

This PR complements the existing English (en) and Portuguese (pt-PT) Kanban i18n already in main.

Test Plan

  • npm run lint passes (no new errors/warnings in changed files)
  • npm run typecheck passes (pre-existing posthog-js error in analytics.ts is unrelated)
  • New test Kanban.test.tsx passes

Notes

  • Translation keys follow the upstream flat-key structure (e.g. kanban.status.triage, kanban.dispatchTooltip, kanban.errLoadBoards).
  • priorityLabel() and ageLabel() in Kanban.tsx still use hardcoded strings (P0/P1/P2, s/m/h/d). These are technical identifiers with low i18n impact and can be addressed separately.

@shaoliang123456 shaoliang123456 changed the title fix: localize kanban screen strings feat(i18n): add Chinese (zh-CN, zh-TW) translations for Kanban screen May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant