Locize-style publish workflow
The end-to-end flow: push source, translate, publish, ship, rollback.
| Step | Where | What |
|---|---|---|
| 1. Keys | Dashboard / CLI | Create project; copy projectId + sk_ |
| 2. Source | CLI sync / saveMissing | Push en (or reference) into working copy |
| 3. Translate | Dashboard editor / AI | Fill targets; revisions + stale flags |
| 4. Publish | UI or lexisync publish | Manifest → outbox → CDN tag |
| 5. Ship | App CDN client | version: "production" |
| 6. Rollback (optional) | Releases tab | Restore CDN from older manifest |
# 1) Source
npx lexisync sync -p $PROJECT_ID -f ./locales/en/common.json -l en -n common
# 2) Optional: more namespaces / languages
npx lexisync sync -p $PROJECT_ID -f ./locales/nl/common.json -l nl -n common
# 3) After UI review…
npx lexisync publish -p $PROJECT_ID -v production
# 4) App loads:
# GET https://lexisync.app/api/cdn/$PROJECT_ID/production/en/common