[FEATURE] Add Chinese (zh-CN) localization for CLI UI strings

Resolved 💬 2 comments Opened May 23, 2026 by HuangLJ310015 Closed May 27, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

The Claude Code CLI currently displays all UI strings in English — including base command prompts, plan mode approval dialogs, permission prompts, and menu options like /memory selection. For
Chinese-speaking developers, this creates friction in an otherwise smooth workflow.

Request: Add a Chinese (zh-CN) locale option so that CLI UI strings render in Chinese after configuring it (e.g. via a locale setting in settings.json or an environment variable).

Examples of affected strings:

  • Plan mode: "User has approved your plan. You can now start coding."
  • Permission prompts: "Claude Code needs your permission to run..."
  • Memory editing: "Opened memory file at..."
  • /context output: "Context Usage", "Estimated usage by category", "Free space"
  • Task status indicators: "pending", "in_progress", "completed"

Proposed Solution

Suggested implementation:

  • Add a locale setting accepting "en" and "zh-CN" (defaulting to "en" for backward compatibility)
  • Extract UI-facing strings into locale resource files
  • Community contributions for translation can follow once the framework is in place

Alternative Solutions

_No response_

Priority

Medium - Would be very helpful

Feature Category

Configuration and settings

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗