Feature request: Auto-generated session titles should respect language settings
Resolved 💬 2 comments Opened Apr 1, 2026 by nyanpow Closed May 30, 2026
Summary
Auto-generated session/tab titles are always in English kebab-case, regardless of the user's language setting or conversation language. For non-English users, titles should respect their language preference.
Current behavior
generateSessionName in cli.js hardcodes an English-only system prompt:
Generate a short kebab-case name (2-4 words) that captures the main topic...
Examples: "fix-login-bug", "add-auth-feature"...
This ignores:
- The
languagesetting insettings.json - The language of the conversation content
- The
fr9()language injection used in the main conversation system prompt
Expected behavior
Title generation should respect the user's language setting. If settings.language is set (e.g., "Japanese"), the generated title should be in that language.
Suggested fix
Pass the user's language setting into the systemPrompt of the generateSessionName → cf() call, similar to how fr9($.language) is already injected into the main conversation system prompt.
Environment
- Claude Code v2.1.89 (VSCode extension)
- Windows 10
- User language: Japanese
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗