CLI reference

norcube langsync pull

Download the current server state into the local translation files (no push)

Not verified yet

Pulls every attached language's translations for each namespace in .langsync.json and writes them to disk. Equivalent to 'norcube langsync sync --strategy server' — use whichever you find more discoverable. Pull never modifies the server; if you want to push local edits, use norcube langsync sync.

By default sync waits for any in-flight server-side autotranslate to finish before returning, so the on-disk files are complete. Pass --wait=false to return immediately with whatever's there now.

Usage

norcube langsync pull [flags]

Examples

norcube langsync pull
norcube langsync pull -n ytracker-backend
norcube langsync pull --wait=false
norcube langsync pull -o json --query "[?status=='failed'].namespace"

Flags

FlagDefaultDescription
--configPath to .langsync.json (defaults to walking up from the cwd)
-n, --namespacePull only this namespace (repeat for multiple)
--poll-every1sHow often to poll the job's state
--waittrueBlock until any in-flight autotranslate has drained
--wait-timeout5m0sClient-side timeout for the polling loop

Every command also takes the global flags: --profile, --org, -o, --query, --debug and more.

See also

  • norcube langsync: Manage LangSync namespaces, terms, languages and translations

On this page