Skip to content

Add Chinese UI localization and light theme support#68

Open
MoringstarsH wants to merge 3 commits into
bcurts:mainfrom
MoringstarsH:codex/chines
Open

Add Chinese UI localization and light theme support#68
MoringstarsH wants to merge 3 commits into
bcurts:mainfrom
MoringstarsH:codex/chines

Conversation

@MoringstarsH
Copy link
Copy Markdown

Hi! I made a set of UI improvements to make agentchattr friendlier for Chinese users and more comfortable to use in light environments.

What changed

  • Added a lightweight i18n layer for the static frontend.
  • Added a Language selector with Auto, English, and 简体中文.
  • Auto-detects Chinese browsers on first load, while preserving the user's choice in localStorage.
  • Localized core UI chrome into Simplified Chinese:
    • chat composer
    • settings
    • channel controls
    • Jobs
    • Rules
    • Sessions
    • scheduling UI
    • common buttons, tooltips, empty states, and prompts
  • Kept user-generated content unchanged:
    • chat messages
    • agent names
    • channel names
    • job/rule/session custom content
  • Added a light theme as the default, with a Theme selector for Light/Dark.
  • Fixed light-theme readability issues in Markdown-rendered messages, including headings, bold text, and table headers.
  • Localized built-in session templates in the launcher:
    • Code Review
    • Debate
    • Design Critique
    • Planning

Validation

  • Ran JS syntax checks on the updated frontend files.
  • Checked git diff --check.
  • Manually verified:
    • Chinese language switching
    • light/dark theme switching
    • persistence after refresh
    • built-in session launcher localization
    • Markdown readability in light mode

This keeps the existing static frontend structure and does not add a build step or external i18n dependency.

更新 Kimi Code 0.6+ 的 MCP 注入方式:Kimi 不再使用已废弃的 --mcp-config-file,而是写入项目级 .kimi-code/mcp.json。

为 Kimi 的 agentchattr MCP 配置改用 bearerTokenEnvVar,并把每个实例的 token 通过 AGENTCHATTR_MCP_TOKEN 注入到各自子进程,避免多个 Kimi 同时启动时共享 mcp.json 覆盖身份。

同步更新 start_kimi.bat 和 start_kimi_yolo.bat 的启动参数与异常退出处理,并补充测试覆盖 Kimi 多实例 token 隔离和旧参数不再出现。
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