Get Translation Status
get_translation_statusCheck translation coverage per locale and layer, with total, translated, missing, and empty key counts plus overall completion percentage. Use it to monitor translation health in one call instead of counting keys manually.
Instructions
Translation coverage in one call: per-locale and per-layer counts of total, translated, missing and empty keys, plus an overall completion percentage. Use this instead of calling get_missing_translations per layer and counting keys yourself. Empty-string values count as untranslated. Locales listed in protectedLocales are reported but excluded from the overall figure, since they are maintained by hand.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Layer name to scan (e.g., "root", "app-admin"). If omitted, scans all layers. | |
| outputFile | No | Absolute path to write the full per-locale and per-layer breakdown. Returns only the summary to the caller. | |
| projectDir | No | Absolute path to the project root. Defaults to I18N_PROJECT_DIR, then server cwd. | |
| referenceLocale | No | Locale code used as the source of truth (e.g., "en", "en-US"). Defaults to the project default locale. |