This feature is experimental. Flags, output shape, and behavior may change between releases. Use in controlled workflows and pin versions in CI.Conflict handling and sync contracts may evolve as TMS integrations mature.
Usage
Safe default behavior
sync push defaults to dry-run mode and conflict failure.
During a real push, Hyperlocalise reads local files, fetches a fresh remote baseline for the same scope, computes an in-memory diff, and pushes only changed entries.
For string-oriented adapters such as Crowdin, the default mutation unit is the individual translation entry (key + context + locale), not a whole file upload.
Some adapters do not expose atomic compare-and-swap writes. In those cases, Hyperlocalise uses a best-effort safety model:
- fetch a fresh remote baseline immediately before push
- apply only changed entries
- re-read affected entries after push to detect divergence
Flags
--config: config path--locale: target locale(s), repeatable--key-prefix: limit sync scope to keys with any matching prefix, repeatable--dry-run: preview only (defaulttrue)--output:text,json, ormarkdown--fail-on-conflict: return error when conflicts are detected (defaulttrue)--force-conflicts: allow overwrite for mismatch cases where policy allows (defaultfalse)
Example
Notes
- unchanged entries are skipped
- filtered or invalid entries are not pushed
- adapters may emit warnings when they can only provide best-effort concurrency protection
- a post-push verification mismatch is reported as a conflict
--force-conflicts.