Get Missing Translations
get_missing_translationsFind translation keys present in the reference locale but absent in other locales. Scan a specific layer or all layers.
Instructions
Find translation keys that exist in the reference locale but are missing in other locales. Scans a specific layer or all layers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Layer name to scan (e.g., "root", "app-admin"). If omitted, scans all layers. Call discover to discover available layers. | |
| referenceLocale | No | Locale code used as the source of truth (e.g., "en", "en-US"). Defaults to the project default locale. | |
| targetLocales | No | Locale codes to check for missing keys (e.g., ["de", "fr", "es"]). Defaults to all locales except the reference. | |
| projectDir | No | Absolute path to the Nuxt project root. Defaults to server cwd. Example: "/home/user/my-app". | |
| outputFile | 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" |