MCP Tools
get_missing_translations
Find translation keys that exist in the reference locale but are missing in other locales. Scans a specific layer or all layers.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
layer | string | no | Layer name to scan (e.g., "root", "app-admin"). If omitted, scans all layers. Call discover to discover available layers. |
referenceLocale | string | no | Locale code used as the source of truth (e.g., "en", "en-US"). Defaults to the project default locale. |
targetLocales | string[] | no | Locale codes to check for missing keys (e.g., "de", "fr", "es"). Defaults to all locales except the reference. |
projectDir | string | no | Absolute path to the Nuxt project root. Defaults to I18N_PROJECT_DIR, then server cwd. Example: "/home/user/my-app". |
outputFile | string | no | Absolute path to write full JSON output. Returns only a compact summary to the caller — use this for large outputs to avoid flooding the conversation context. Example: "/tmp/missing-translations.json" |
Paired CLI Command
The same operation runs from a terminal as the-i18n-cli missing, whose page documents its flags. Both paths call the same @the-i18n-kit/cli functions, so the result is the same.
Every tool is advertised by the-i18n-mcp and listed on the MCP tools overview.