cd /news/large-language-models/when-the-model-answers-in-the-langua… · home › topics › large-language-models › article
[ARTICLE · art-148110] src=dev.to ↗ pub= topic=large-language-models verified=true sentiment=· neutral

When the model answers in the language of the pasted text

A developer measured Claude Sonnet's language-selection behavior on 24 mixed-language prompts where a short request in one language is paired with a longer pasted document in another, finding the model answered in the wrong language three times when no instruction specified which language should govern. Adding a short explicit rule about whose language counts eliminated the errors entirely, and the writeup offers a check to catch the failure.

by read1 min views7 publishedOct 9, 2026

A short request in one language, pasted material in another: Claude sometimes answers in the wrong one. What we measured, and a check that catches it.

Mostly because the pasted text outweighs the request. When someone writes one short line in Bulgarian and pastes a long English build log under it, the model reads far more English than Bulgarian, and when it sums up the paste, the summary often comes out in whatever language the paste was written in. A neighbouring language makes it worse: German next to Dutch, Portuguese next to Spanish, Russian next to Bulgarian. Across 24 such requests, Claude Sonnet answered in the wrong language three times when nobody told it whose language counts, and not once after a short rule said so.

Read the full report on AISkills402: https://aiskills402.com/blog/llm-replies-in-wrong-language

── more in #large-language-models 4 stories · sorted by recency
── more on @claude sonnet 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/when-the-model-answe…] indexed:0 read:1min 2026-10-09 · —