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.

fix(i18n): write the language manifest after a translate run, not only before it

nirholas5b0a2b38291d
diff --git a/scripts/i18n-translate.mjs b/scripts/i18n-translate.mjs
index 4bed64f63..1675c97e8 100644
--- a/scripts/i18n-translate.mjs
+++ b/scripts/i18n-translate.mjs
@@ -1160,6 +1160,10 @@ async function main() {
writeManifest();
const results = await pool(targets, 1, translateLocale); // locales sequential; chunks parallel within
+ // The manifest lists only complete locales, and the pass above is what
+ // completes them. Written only before it, the language menu always lagged one
+ // run behind: a run that finished 16 locales left all 16 out of the menu.
+ writeManifest();
const n = results.reduce((s, r) => s + (r?.translated || 0), 0);
console.log(`\ni18n-translate: ${n} key(s) translated across ${targets.length} locale(s).`);
}