check-translations
The check-translations command is part of the LightNet CLI.
pnpm lightnet check-translationsUse this command to find translations that are still missing your site’s languages.
Run it from the root of your LightNet site project.
The command asks whether to run pnpm build for you. When you confirm, the build runs as part of the check and the translation results are read from that build.
Use it when you want to:
- catch incomplete translations before deploying
- review translation work after adding a new language
- check inline translation maps after editing content or templates
Common checks
Section titled “Common checks”Check translations:
pnpm lightnet check-translationsRun a build before checking translations:
pnpm lightnet check-translations --buildCheck translations without running a build or showing a prompt:
pnpm lightnet check-translations --no-buildOptions
Section titled “Options”--build: runspnpm buildbefore checking translations.--no-build: skips the build prompt and checks the latest available build output.
If the command reports missing translations, add the missing values to the content or template that owns them.