Skip to content

kanjou missing

WARNING

This command is currently a WIP / Experimental stub.

Scans your source code to find translation keys that are used in your application but missing from your locale files.

Usage

bash
npx kanjou missing [options]

Options

OptionAliasDescription
--locales-dir <dir>-lDirectory containing locale files.
--base-locale <name>-bBase locale name (e.g. en).

WARNING

This command analyzes your code using ts-morph to extract used keys. It may not reliably detect translation keys if they are constructed dynamically at runtime (e.g., `t(`user.status.${status}`)`).

Released under the ISC License.