Find Empty Translations
find_empty_translationsFind translation keys with empty values that render as blank in the UI. Use after a scaffold or interrupted translation run to locate unfilled entries across locale files and layers.
Instructions
Find keys whose value is an empty string. These exist in the locale file, so they are not reported as missing, and they render as nothing in the UI. Use this after a scaffold or an interrupted translation run to find keys that were created but never filled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Layer name to filter by (e.g., "root", "app-admin"). If omitted, checks all layers. Call discover to discover available layers. | |
| locale | No | Locale to check (e.g., "de"). If omitted, checks every locale. | |
| 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/empty-translations.json" | |
| projectDir | No | Absolute path to the Nuxt project root. Defaults to I18N_PROJECT_DIR, then server cwd. Example: "/home/user/my-app". |