Skip to content

feat: complete Simplified Chinese localization#274

Merged
douglasmonsky merged 5 commits into
douglasmonsky:mainfrom
maopai:codex/simplified-chinese-localization
Jul 15, 2026
Merged

feat: complete Simplified Chinese localization#274
douglasmonsky merged 5 commits into
douglasmonsky:mainfrom
maopai:codex/simplified-chinese-localization

Conversation

@maopai

@maopai maopai commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • complete the Simplified Chinese React dashboard coverage across navigation, diagnostics, reports, calls, threads, limits, cache/context, tables, and visualization metadata
  • add a scoped translation layer for dashboard strings while marking user-provided values so thread names, project names, paths, and other source data remain unchanged
  • localize visualization specs before chart and synchronized-table rendering, including accessibility descriptions
  • localize CLI help plus dashboard lifecycle messages when --lang zh-Hans is selected
  • normalize Chinese terminology to use token consistently and rebuild the bundled dashboard assets
  • document the expanded Simplified Chinese behavior in README and CHANGELOG

Verification

  • TZ=UTC npm run test -- --run (437 passed)
  • npm run typecheck
  • npm run lint
  • npm run build
  • .venv/bin/python -m pytest -q tests/core/test_i18n.py tests/cli/test_cli_dashboard.py tests/cli/test_cli_help_i18n.py tests/server/test_server_dashboard_shell.py tests/server/test_server_api.py (144 passed)
  • .venv/bin/ruff check ... for all changed Python and Python test files
  • git diff --check
  • manually sampled codex-usage-tracker --lang zh-Hans --help and the live dashboard

Review note

This is opened as a draft because the React localization bridge is broader than the existing JSON catalog. Early feedback on that architecture is welcome before marking the PR ready.

maopai and others added 5 commits July 16, 2026 00:02
…ese-localization

# Conflicts:
#	CHANGELOG.md
#	frontend/dashboard/src/features/shared/tables.tsx
#	src/codex_usage_tracker/plugin_data/dashboard/react/assets/App.js
#	src/codex_usage_tracker/plugin_data/dashboard/react/assets/EvidenceGrid.js
#	src/codex_usage_tracker/plugin_data/dashboard/react/assets/OverviewPage.js
#	src/codex_usage_tracker/plugin_data/dashboard/react/assets/runtime.js
@douglasmonsky
douglasmonsky marked this pull request as ready for review July 15, 2026 18:50
@douglasmonsky
douglasmonsky merged commit 1b129c6 into douglasmonsky:main Jul 15, 2026
12 checks passed
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.

2 participants