mirror of
https://github.com/Heretek-AI/Strata.git
synced 2026-11-07 10:05:58 -10:00
Strata app source
Start with the complete developer handoff and the runbook.
npm ci
npm run preview:ui
The built UI is included. To rebuild after source edits, run npm run build. preview:ui uses isolated simulated data; npm run dev connects the normal host.
The previous project README is retained in docs/README-historical.md. It contains older implementation status and is historical reference.
Languages
The app speaks English, Chinese, Japanese, German, French, Spanish, Russian, Portuguese and Korean. The English text is the key: src/locales/en.json
(with fix-en.json, tune-en.json and tools-en.json) holds every string, and each language has the same four files (fr.json, fix-fr.json, ...).
- A new string. Write it with
tr("..."), then add it to the English catalog (node scripts/append-localization.mjs, or the nextfxnumber inscripts/make-fix-locales.py). The language tests fail until every language has it. - French.
python scripts/fr_sync.py missing todo.tsvlists the English strings that have no French yet, one per line (id, a tab, the text). Translate the second column ("vous", short plain words, one next step; a lone=keeps the English), thenpython scripts/fr_sync.py apply todo.tsvmerges it (it also sets the French spacing before: ; ? !and the typographic apostrophe) andpython scripts/fr_sync.py checkconfirms nothing is missing. - Screenshots in a language.
npm run build, thennode scripts/language-shots.mjs fr <folder> models settings setup(hermetic preview host, scratch profile, headless Chrome).