Skip to content

sonenta push

Push the whole local locales/ tree to Sonenta, BATCHED: creates missing keys and upserts translations (idempotent). Reads locales//.json (flat dot-notation). Each key carries all its languages in one batch, so the source value is never split from its translations.

Fenêtre de terminal
sonenta push [options]
FlagDescriptiondefault
--language <code>Restrict to a single language code-
--namespace <slug>Restrict to a single namespace slug-
--src <dir>Locales directory"locales"
--status <status>draft | translated (default: translated)-
--version <slug>Target version slug (default: production version)-
--batch-size <n>Max keys per import request (default 500)500
--dry-runPrint what would be pushed without sendingfalse
--no-create-namespacesDo not auto-create missing namespaces (let the backend reject unknown ones)-
--host <url>Override host (otherwise from config/credentials)-