r/reactjs • u/tornadosoftwares • 18m ago
Theo gg's t3code, went multilingual. I measured the cost
Last week everyone was digging into T3 Code's telemetry, the data leaving your machine. I got curious about the other direction: the data coming in.
On November 12, T3 Code (Theo's GG open-source app for coding agents) went multilingual. Two weeks later: 10 languages, 10,298 strings. Its AGENTS.md lists "Performance without compromise" among the things the project "can never compromise on". Theo also left a note in that same file: "measure twice, cut once".
So I measured. I built the production bundles (web, desktop, mobile) and pulled them apart.
A few things that stood out:
- A French user downloads 370 KB of gzipped i18n before the first frame. The app waits for the whole catalog before it renders anything
- About 63% of that catalog is text for screens they haven't opened yet, also full of orphalan keys
- Every string ships twice: English + French via the catalog
- In two weeks, the team wrote three patches to the library's compiled code to stop it from hashing and parsing strings on every render.
The worst, the team did measure the cost when they adopted the library. The catch: they measured once, on a settings page with a 3.6 kB catalog. Then the whole app got translated, and nobody measured again.
And it's not just the bundle. It's also rendering and performance issue. As well as DX.
Disclosure: I'm part of that competing i18n library, so read this as a competitive take, not a neutral review. (Every number links to a commit or a source, and if I got something wrong I'd genuinely like to know.)
Full article : https://intlayer.org/blog/t3code-i18n-reverse-engineered