claude-code - 💡(How to fix) Fix Conversation title should respect user's language preference [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#47772Fetched 2026-04-15 06:42:48
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×2commented ×1cross-referenced ×1
RAW_BUFFERClick to expand / collapse

Problem

I write all my prompts in Chinese and have explicit language instructions in my CLAUDE.md (所有回复必须用中文), but Claude Code always generates English conversation titles. I have to manually rename every single conversation, which is tedious when you have many sessions.

Expected behavior

The auto-generated conversation title should match the language of the conversation (or respect the language setting in CLAUDE.md / project instructions).

Current behavior

Regardless of the conversation language, titles are always generated in English. For example:

  • User writes: "帮我检查这个 PR 的状态" → Title: "Check PR Status"
  • Expected title: "检查 PR 状态"

Suggestion

A few possible approaches:

  1. Detect the dominant language of the conversation and generate the title in that language
  2. Add a title_language or locale setting in settings.json
  3. Have the title generation prompt read CLAUDE.md language instructions

Option 1 would cover most cases without any configuration.

extent analysis

TL;DR

Implementing language detection for conversation titles or adding a title_language setting in settings.json could resolve the issue of English titles being generated for non-English conversations.

Guidance

  • Consider implementing a language detection mechanism to automatically generate titles in the dominant language of the conversation.
  • Adding a title_language or locale setting in settings.json could provide a configurable solution.
  • Reading language instructions from CLAUDE.md could help respect project-specific language settings.
  • Evaluate the feasibility of each suggested approach based on the current implementation and requirements.

Example

No code example is provided due to the lack of implementation details in the issue.

Notes

The best approach depends on the specific requirements and constraints of the project, including the complexity of implementing language detection and the need for configurability.

Recommendation

Apply workaround by adding a title_language setting in settings.json, as it provides a straightforward and configurable solution that can be implemented without significant changes to the existing title generation logic.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The auto-generated conversation title should match the language of the conversation (or respect the language setting in CLAUDE.md / project instructions).

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Conversation title should respect user's language preference [1 comments, 2 participants]