Remove Translations
remove_translationsRemove translation keys from all locale files in a layer, with dry-run preview to verify changes before saving.
Instructions
Remove one or more translation keys from ALL locale files in the specified layer. Use dryRun to preview changes before applying them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Dot-separated key paths to remove from every locale file in the layer. Example: ["common.actions.delete", "auth.errors.expired"]. | |
| layer | Yes | Layer name from discover (e.g., "root", "app-admin"). The key will be removed from ALL locale files in this layer. | |
| dryRun | No | When true, returns a preview of what would be removed without writing any files. Default: false. | |
| projectDir | No | Absolute path to the Nuxt project root. Defaults to I18N_PROJECT_DIR, then server cwd. Example: "/home/user/my-app". |