CLI Commands

status

Translation coverage in one call: per-locale and per-layer counts of total, translated, missing and empty keys, plus an overall completion percentage.

Synopsis

the-i18n-cli status

Flags

FlagTypeRequiredDefaultDescription
--layerstringno—Layer name to scope this to (e.g., "root", "app-admin"). If omitted, every layer is included. Call discover to list the layers.
--referenceLocale, --refstringno—Locale code used as the source of truth (e.g., "en", "en-US"). Defaults to the project default locale.
--listEmptybooleannofalseAlso list the keys behind summary.emptyKeys under "empty" (locale → layer → keys), and keys that are empty in the reference locale itself under "emptyInReference" — useful after a scaffold or an interrupted translation run. Default: false, which returns counts only.
--outputFilestringno—Absolute path to write the full JSON output to. Only a compact summary is returned to the caller, which is what you want for a result too large to read in one piece. Example: ".i18n-reports/translation-status.json"
--codequalityOutputstringno—Also write the incomplete locales and unconsumed layers as a GitLab Code Quality (CodeClimate) JSON report to this file path.
--failUnderstringno—Exit 2 when overall completion is below this percentage (CI gate).
Copyright © 2026