We Changed Our Model Tiers. The Old Copy Lived On in 32 Languages
I run Arui.AI, a creative tools site with 150+ tools in 32 languages. Two weeks ago I went looking for sentences about model tiers we had replaced. I expected the mess to be in the translations. It wasn't. The English was wrong, and 31 other languages had translated the mistake faithfully.
One table moved. 437 strings stayed.
Our tool pages used to describe three fixed tiers: Standard, Pro and Master. We replaced that with a table generated from our model catalog, so prices and resolutions follow the data.
The prose around it kept the old story by hand. Features, FAQs and how-to steps still named the tiers and repeated their resolutions and credit prices. Here is a real one:
The standard tier returns clean composition drafts at up to 1024px for 3 credits, pro renders at 1K or 2K for 12 credits, and master renders 2048px or native 3072px (3K) for 18 credits.
Nothing on the page said which one was current.
Why it multiplied by 32
Every English string is copied into 31 other JSON files. At the time that was 156 namespaces times 32 languages: 4,992 files. One wrong sentence meant 32 wrong files, all wrong in the same way.
That was the good news. The translations had not drifted, so I could audit one language and fix all of them. The fixes touched 107 tool pages, 32 of them under our AI image generator section alone.
Two confidence levels, one surprise
I wrote a small read-only script, audit-stale-copy.mjs, and split what it looked for.
High confidence meant the old tier names. A Pro that belongs to a current model's name doesn't count. The script found 437 of these, and I replaced all of them.
Medium confidence meant old numbers that might be stale or might be a legitimate fact: resolutions, credit prices, speeds. The script only listed those. There were 300. I read every one. 286 had to change. Of the 14 left, 13 were stale in context. Exactly one was legitimate: print advice that mentioned 300 DPI.
I expected the "maybe" pile to be half noise. It was one item in 300.
The fix was to stop repeating numbers in prose. The sentence quoted above now reads: "Compare the models above to balance detail, speed, and cost."
From audit to gate
The script had a --check flag that failed on high-confidence hits. After the triage I widened it: a medium-confidence hit fails too unless it matches a short allowlist, such as a 20 MB upload limit or 300 DPI for print. The command runs in our deploy workflow, right after the build. A failure blocks the deploy.
It reads English only, and it matches capitalized tier names. The other 31 languages are covered only because every fix replaces the whole value in all 32 files.
The dead keys next door
With the audit in place I looked at the opposite problem: keys nobody reads. A second script walked from each route to the components it mounts and collected every t() key written as a literal. Nothing dynamic was deleted.
We removed 97 sections across 29 namespaces: 3,104 localized subtrees and 977 English keys. The JSON shrank by 1.66 MB. The file count stayed at 4,992.
Three things worth copying
- Audit one language if you fix in all of them. Whole-value replacement in every locale is what makes an English-only check safe.
- Count how many of your "maybes" were real. Mine were 299 stale out of 300.
- Put the check where nobody has to remember it. In the deploy path.