/lang
View or change the language Claude converses with you in. The default is English; Hebrew is the option. This is the language twin of /role.
The hard rule: the conversation may be in your chosen language, but every written artifact โ code, comments, commit messages, PR titles/descriptions, docs, memory files, tickets โ stays in English regardless. When you explicitly ask for a Hebrew phrasing or translation, Claude gives it (that is chat you will copy elsewhere, not an artifact).
Usageโ
| Form | What it does |
|---|---|
/lang | Show the current conversation language, its source (session / config / default), and your role for context. |
/lang en | Set the conversation language to English (persistent). |
/lang he | Set the conversation language to Hebrew (persistent). |
/lang en --session | English for this session only (4-hour override). |
/lang he --session | Hebrew for this session only (4-hour override). |
A persistent change takes effect from the next session (the SessionStart hook reads the config at session start). Use --session to switch immediately for the current 4-hour window.
Steps Claude runsโ
- Resolve the helper path:
CFG="${CLAUDE_PLUGIN_ROOT:-}/scripts/bewith-config.sh"; [ -f "$CFG" ] || CFG="scripts/bewith-config.sh". /lang(no args) โ runbash "$CFG" resolve languageandbash "$CFG" source language; alsobash "$CFG" resolve role. Print:language: <value> (source: <โฆ>) ยท role: <value>and the change forms below./lang <en|he> [--session]โ runbash "$CFG" lang <value> [--session]and relay the result line. If it exits non-zero (invalid value), relay the error and valid values (en | he); do not guess.
Argumentsโ
$ARGUMENTS โ one of en, he, en --session, he --session, or empty.
Cross-referencesโ
- The full settings surface:
/settings. - The config core:
scripts/bewith-config.sh. - The hook that applies it each session:
.claude/hooks/conversation-language.sh. - The artifact-language rule it reinforces:
artifact-language-english.