claude-code - 💡(How to fix) Fix [MODEL] Mostly Opus 4.7: constant spelling deviations, mixing American and British spelling [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#53304Fetched 2026-04-26 05:19:10
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1

Code Example

It's not relevant, lots of code and Markdown files.

---
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues for similar behavior reports
  • This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Other unexpected behavior

What You Asked Claude to Do

I asked: "I want you to write a product specification (see "C:[...redacted...]") in prose. You may read code and plans, but don't run anything".

What Claude Actually Did

It happened not only with this prompt, it started, I feel, with Opus 4.7. So Claude carries out the command, but spelling in both code and Markdown is absolutely messy: it can be, for example, initialize() and, several lines below, initialise(), customization vs. customisation, localization vs. localisation, etc.
It never happened before, and not only does it make the text mixed, but sometimes it causes compile errors (again, take the example of initialize() vs. initialise()).

Expected Behavior

Please bring back consistency, I personally prefer American spelling, but it must be consistent.

Files Affected

It's not relevant, lots of code and Markdown files.

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

I don't guarantee 100% reproducibility, but:

  1. Ask the default model to write quite a lengthy piece of code or Markdown, based on a repo you already have (like implement a feature).
  2. Observe what it outputs.

Claude Model

Opus

Relevant Conversation

Impact

Medium - Extra work to undo changes

Claude Code Version

2.1.119 (Claude Code)

Platform

Anthropic API

Additional Context

As I've already told you, it is quite a sudden regression, started out of the blue, probably with introduction of Opus 4.7.
My host operating system is Windows, if it's important, no locale was changed. I tested in Windows per se and in WSL.

extent analysis

TL;DR

The issue can be mitigated by configuring Claude to use a consistent spelling convention, potentially through updating the model settings or prompt engineering.

Guidance

  • Verify that the inconsistency in spelling is indeed caused by the Opus 4.7 update by testing with previous versions, if possible.
  • Check the Anthropic API documentation for any settings or parameters that control spelling conventions, such as language or locale settings.
  • Consider adding a specific spelling convention to the prompt, e.g., "Please use American English spelling throughout the response."
  • Test the model with a controlled prompt that explicitly requests consistent spelling to see if the issue persists.

Notes

The root cause of the issue is unclear, but it seems to be related to the introduction of Opus 4.7. Without more information about the model's configuration or training data, it's difficult to provide a definitive solution.

Recommendation

Apply workaround: Configure the prompt to request a specific spelling convention, as this is a non-invasive and reversible change that may help mitigate the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [MODEL] Mostly Opus 4.7: constant spelling deviations, mixing American and British spelling [1 comments, 2 participants]