@hopla/claude-setup 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.js +1 -0
- package/package.json +1 -1
- package/files/commands/hopla-lang.md +0 -35
package/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Set the preferred response language for all Claude Code sessions
|
|
3
|
-
---
|
|
4
|
-
|
|
5
|
-
Set the language Claude should always respond in, regardless of the language the user writes in.
|
|
6
|
-
|
|
7
|
-
## Step 1: Ask for Language Preference
|
|
8
|
-
|
|
9
|
-
Ask the user:
|
|
10
|
-
> "What language should I always respond in? (e.g. Spanish, English, French, Portuguese)"
|
|
11
|
-
|
|
12
|
-
Wait for the answer.
|
|
13
|
-
|
|
14
|
-
## Step 2: Update CLAUDE.md
|
|
15
|
-
|
|
16
|
-
Read `~/.claude/CLAUDE.md` and find the communication language rule. Replace it with a fixed language preference.
|
|
17
|
-
|
|
18
|
-
Find the line that says something like:
|
|
19
|
-
```
|
|
20
|
-
Always respond in the same language the user writes in
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Replace it with:
|
|
24
|
-
```
|
|
25
|
-
Always respond in [chosen language], regardless of the language the user writes in.
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
Make sure to preserve all other rules in the file — only change the language line.
|
|
29
|
-
|
|
30
|
-
## Step 3: Confirm
|
|
31
|
-
|
|
32
|
-
Tell the user:
|
|
33
|
-
> "Done. I'll always respond in [chosen language] from now on, even if you write in a different language."
|
|
34
|
-
|
|
35
|
-
If the user ever wants to revert to auto-detection, they can run `/hopla-lang` again and choose "auto" or "match the user's language".
|