Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

docs: record the full-site translation coverage and the completeness rule

nirholas23c52328c722
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f7adad454..aef8e5871 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,7 @@ Public history for [three.ws](https://three.ws), newest first. New pages come fr
## 2026-07-20
- **Bonding curve progress reads correctly again in the MCP tools** — The agent tools that report a coin's bonding curve were showing every coin as 0% to graduation with zero reserves and a zero price. Pump renamed these on-chain fields when USDC became a possible trading pair, and the tools were still reading the old names, which quietly resolved to zero instead of failing. They now read the current fields, so graduation progress, reserves, and price reflect the real curve. Verified against live coins reading 2% through 70% to graduation. `[fix]`
+- **Every page on three.ws now reads in 48 languages** — Translation used to cover only part of the site, so following a link out of a translated page often dropped you back into English. Every page is now translatable, from the studios and docs down to the news archive, and the existing languages were backfilled so they cover all of it rather than the handful of pages they started on. Eight more languages join the switcher as well: Gujarati, Kannada, Malayalam, Assamese, Nepali, Kazakh, Uzbek and Azerbaijani. A language only appears in the switcher once its wording is complete, so you should never land on a page that is half translated. (`/docs/i18n`) `[improvement]`
- **Graduated-coin prices now match PumpSwap exactly** — PumpSwap changed how pool prices are calculated: a pool can now hold quote-side liquidity that is not sitting in its vault, and prices have to count it. Every place we price a graduated coin has been updated to match, so quotes, price impact, market caps, and agent trade fills line up with what actually executes on-chain. Coins that have not graduated are unaffected, and the change is exact rather than approximate: where a pool carries none of this liquidity, prices are identical to before. `[fix, infra]`
- **Swap quotes now show the reserves they were priced from** — The pump.fun MCP swap-quote tool used to hand back a price and nothing else, so there was no way to check it. It now also returns the pool reserves the quote was computed from, including the virtual quote reserves PumpSwap added last week, so an agent or a person can reproduce the number instead of trusting it. The tool descriptions were also rewritten to keep the bonding curve and the PumpSwap pool apart: both now have a field called virtual_quote_reserves, they mean different things, and conflating them was an easy way to read a coin's price as zero. (`/docs/mcp`) `[improvement, sdk]`
diff --git a/data/changelog.json b/data/changelog.json
index a3217d2c8..4f814762d 100644
--- a/data/changelog.json
+++ b/data/changelog.json
@@ -1,6 +1,15 @@
{
"$comment": "Curated changelog entries for three.ws, the editorial layer of the public changelog. New PAGE launches are tracked automatically via the `added` field in data/pages.json; this file is for everything else holders care about: improvements, fixes, SDK releases, trading/payments capabilities, security work. scripts/build-page-index.mjs merges both sources into CHANGELOG.md, public/changelog.json, and public/changelog.xml. Newest first. Allowed tags: feature, improvement, fix, sdk, infra, docs, security. `link` is optional and must be a live three.ws path.",
"entries": [
+ {
+ "date": "2026-07-20",
+ "title": "Every page on three.ws now reads in 48 languages",
+ "summary": "Translation used to cover only part of the site, so following a link out of a translated page often dropped you back into English. Every page is now translatable, from the studios and docs down to the news archive, and the existing languages were backfilled so they cover all of it rather than the handful of pages they started on. Eight more languages join the switcher as well: Gujarati, Kannada, Malayalam, Assamese, Nepali, Kazakh, Uzbek and Azerbaijani. A language only appears in the switcher once its wording is complete, so you should never land on a page that is half translated.",
+ "tags": [
+ "improvement"
+ ],
+ "link": "/docs/i18n"
+ },
{
"date": "2026-07-20",
"title": "Swap quotes now show the reserves they were priced from",
diff --git a/docs/i18n.md b/docs/i18n.md
index 6b179501c..3f34444e4 100644
--- a/docs/i18n.md
+++ b/docs/i18n.md
@@ -7,7 +7,7 @@ runtime** from those static files. There is no per-request translation call, no
runtime cost, and full SEO/caching of each locale's JSON.
The one difference from LobeHub: their copy was already keyed (greenfield
-i18next). Ours lives inline in 150+ static HTML pages, so we add an **extraction**
+i18next). Ours lives inline in 570+ static HTML pages, so we add an **extraction**
step that derives the catalog from annotated markup.
```
@@ -174,9 +174,32 @@ English.
## Adding a language
Add the code (and display name) to `outputLocales` / `localeNames` in
-`.i18nrc.json`, run `npm run i18n:translate -- --locale=<code>`, review the
-output, and commit `public/locales/<code>.json`. The manifest and switcher pick
-it up automatically.
+`.i18nrc.json` (plus `rtlLocales` for a right-to-left script), run
+`npm run i18n:translate -- --locale=<code>`, review the output, and commit
+`public/locales/<code>.json`. The manifest and switcher pick it up
+automatically.
+
+**Only ship a locale once its catalog is complete.** A run that dies partway
+(expired credentials, an exhausted provider) still leaves a catalog file with
+the full key skeleton and *empty string values* for everything it never reached.
+That file looks finished by key count, and because the runtime falls back to
+English per key, the page renders as a half-translated mix rather than failing
+loudly. Verify before committing:
+
+```bash
+npm run i18n:translate -- --lint --locale=<code> # flags empty values + glossary drops
+node -e "const f=require('./public/locales/<code>.json'),e=require('./public/locales/en.json');
+const n=o=>Object.values(o).reduce((a,s)=>a+Object.keys(s).length,0);
+let m=0;for(const s of Object.values(f))for(const v of Object.values(s))if(!String(v).trim())m++;
+console.log('keys',n(f),'of',n(e),'| empty',m)"
+```
+
+Re-running `i18n:translate` is the fix: `missingKeys()` treats an empty string as
+untranslated, so a resumed run tops up exactly the gaps and costs nothing for the
+keys already done. For a catalog that is complete but trips the glossary/placeholder
+lint, `npm run i18n:repair -- --locale=<code>` re-translates only the failing keys.
+A locale that cannot be completed should be left out of `outputLocales` entirely
+rather than committed partial, so the switcher never offers it.
## SEO: hreflang alternates
diff --git a/public/changelog.json b/public/changelog.json
index 103568d04..6a4116521 100644
--- a/public/changelog.json
+++ b/public/changelog.json
@@ -1,5 +1,5 @@
{
- "generated_at": "2026-07-20T20:03:53.603Z",
+ "generated_at": "2026-07-20T20:54:46.623Z",
"generated_by": "scripts/build-page-index.mjs from data/pages.json + data/changelog.json",
"site": {
"name": "three.ws",
@@ -16,6 +16,16 @@
"fix"
]
},
+ {
+ "date": "2026-07-20",
+ "type": "update",
+ "title": "Every page on three.ws now reads in 48 languages",
+ "summary": "Translation used to cover only part of the site, so following a link out of a translated page often dropped you back into English. Every page is now translatable, from the studios and docs down to the news archive, and the existing languages were backfilled so they cover all of it rather than the handful of pages they started on. Eight more languages join the switcher as well: Gujarati, Kannada, Malayalam, Assamese, Nepali, Kazakh, Uzbek and Azerbaijani. A language only appears in the switcher once its wording is complete, so you should never land on a page that is half translated.",
+ "link": "/docs/i18n",
+ "tags": [
+ "improvement"
+ ]
+ },
{
"date": "2026-07-20",
"type": "update",
diff --git a/public/changelog.xml b/public/changelog.xml
index 27ac545ca..07ce01f1a 100644
--- a/public/changelog.xml
+++ b/public/changelog.xml
@@ -14,6 +14,14 @@
<category>fix</category>
<description>The agent tools that report a coin's bonding curve were showing every coin as 0% to graduation with zero reserves and a zero price. Pump renamed these on-chain fields when USDC became a possible trading pair, and the tools were still reading the old names, which quietly resolved to zero instead of failing. They now read the current fields, so graduation progress, reserves, and price reflect the real curve. Verified against live coins reading 2% through 70% to graduation.</description>
</item>
+ <item>
+ <title>Every page on three.ws now reads in 48 languages</title>
+ <link>https://three.ws/docs/i18n</link>
+ <guid isPermaLink="false">2026-07-20:Every page on three.ws now reads in 48 languages</guid>
+ <pubDate>Mon, 20 Jul 2026 12:00:00 GMT</pubDate>
+ <category>improvement</category>
+ <description>Translation used to cover only part of the site, so following a link out of a translated page often dropped you back into English. Every page is now translatable, from the studios and docs down to the news archive, and the existing languages were backfilled so they cover all of it rather than the handful of pages they started on. Eight more languages join the switcher as well: Gujarati, Kannada, Malayalam, Assamese, Nepali, Kazakh, Uzbek and Azerbaijani. A language only appears in the switcher once its wording is complete, so you should never land on a page that is half translated.</description>
+ </item>
<item>
<title>Graduated-coin prices now match PumpSwap exactly</title>
<link>https://three.ws/changelog</link>