Feature Request: Add locale parameter to buddy_react API for companion language support
Summary
The Dross companion speech bubble messages are generated server-side via the /claude_code/buddy_react API endpoint, but there is no locale or language parameter in the request payload. As a result, companion messages are always returned in English regardless of the user's language preference.
Current Behavior
The buddy_react API request includes:
name,personality,species,rarity,statstranscript(recent conversation context)reason(event trigger: "turn", "error", "test-fail", etc.)recent(recent bubble history)addressed(whether user addressed the companion by name)
But no locale/language field.
Expected Behavior
Users who prefer non-English languages (e.g., Korean, Japanese, French) should be able to receive companion messages in their preferred language.
Proposed Solution
Add a locale parameter to the buddy_react API request, sourced from a companion.language setting in ~/.claude/settings.json.
Example settings.json:
{
"companion": {
"language": "ko"
}
}
Example API request change:
{
"name": "Dross",
"personality": "...",
"transcript": "...",
"reason": "turn",
"locale": "ko"
}
Why This Matters
Claude Code is used globally. Non-English speakers enjoy the companion feature but cannot fully appreciate the contextual humor and commentary when it's always in English. A simple locale parameter would make the companion experience accessible to a much wider audience.
Environment
- Claude Code version: 2.1.89
- Platform: macOS (darwin)
- Preferred locale: ko (Korean)
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗