Manual
CLI
API
Log in Get started free

ct check

Fail when a language is behind or a translation file is out of date.

Shows the status of the branch, like ct status, then exits 1 when:

  • a language is less complete than --require-complete (default 100), or
  • a translation file differs from what ct pull would write.

It writes nothing, so it fits a pull request job.

SH
ct check --require-complete 95
OptionEffect
--require-complete 95The minimum completeness, a percentage from 0 to 100
--language deLimit the check to one language. Repeat the option for more

Inactive languages do not count towards the completeness. When everything is fine, check prints Everything is complete and up to date.

Needs #

An API key with the projects:read and translations:read scopes, which a Pull only key has.