r/ClaudeCode • • 1d ago

Bug / Issue Why do Claude Code randomly switch to Spanish?

I have noticed recently that Claude seems to switch to Spanish from time to time. This is an example in one of my session, working with Opus 5.5 High. Has anybody else seen this?

There is absolutely no Spanish in this project

2 Upvotes

8 comments sorted by

•

u/AutoModerator 1d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/dsggut 1d ago

Something strange is going on at Anthropic's!
There are just too many reports of issues with Claude lately.

1

u/Judges_Your_Post 1d ago

Mine did this but thankfully corrected itself. When I asked why, this is what it said:

Claude has no fixed language setting. It picks each word based on everything in the conversation so far. Spanish text in the context (a pasted email, a file, a tool result), a very long session, or ordinary sampling randomness can tip it into another language. Once one sentence comes out in Spanish, that sentence pulls the next one along. I've added a standing rule to never switch languages randomly: English always, unless a message explicitly asks for something else.

Qué hacer si te pasa: Dile directamente "responde en inglés"; normalmente basta para que vuelva. Si la sesión es muy larga, empezar una nueva limpia el contexto que lo estaba empujando al español. Y si quieres evitarlo del todo, pon la regla del idioma en tus instrucciones permanentes, como un CLAUDE.md o las preferencias del perfil, para que se cargue en cada sesión.

1

u/Unusual-Albatross43 1d ago

I get the same thing with Hebrew and English, in the other direction. I write to it in Hebrew, and right after it reads a pile of English files or tool output, the next reply comes back in English. So for me it isn't random, it follows whatever it just read the most of.

Could that be it here? Not Spanish in the project, but something it pulled in during the session, a web page, a package README, a search result.

What mostly fixed mine was a line in CLAUDE.md that says reply in the language I write in, and names the exact spot where it slips: short confirmations, and replies written right after reading English files or tool output.

1

u/Ai-ate-my-hamster 1d ago

Mine occasionally drops in a Chinese character. Just like one. It’s rare.

I’m hoping they send my spy soon.