CLI referenceverbatra import

verbatra import

Import a filled workbook back into the locale files, running the same safety checks.

Read a workbook a translator filled in back into your locale files. Every value runs through the same placeholder integrity and ICU integrity checks as an automated run: values that pass are written and the lock file is updated; values that fail are withheld and reported instead of written, so a bad cell never lands in a locale file.

Synopsis

verbatra import <workbook> [flags]

<workbook> is the path to the workbook produced by verbatra export and filled in by the translator.

Flags

FlagArgumentDefaultEffect
--cwd<path>current directoryresolve config and locale files from this directory
--config<path>search for oneload this config file instead of searching for one
--dry-runnoneoffvalidate and report without writing locale files or updating the lock
--jsonnoneoffprint the run summary as one JSON object on stdout (the same RunSummary shape as translate); errors still go to stderr

Examples

# import the filled workbook
verbatra import verbatra-translations.xlsx

# validate and report, write nothing
verbatra import verbatra-translations.xlsx --dry-run

Exit codes

CodeMeaning
0every target locale succeeded
1the run finished but one or more locales failed
2could not run: a whole-run error (config, workbook, format, or lock), or a usage error

The contract matches verbatra translate, so a manual handoff branches the same way in CI.

Edit on GitHub