Remove Translations
remove_translationsRemove translation keys from all locale files in a specified layer. Preview changes with dry run before applying.
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 |
|---|---|---|---|
| layer | Yes | Layer name from discover (e.g., "root", "app-admin"). The key will be removed from ALL locale files in this layer. | |
| keys | Yes | Dot-separated key paths to remove from every locale file in the layer. Example: ["common.actions.delete", "auth.errors.expired"]. | |
| 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 server cwd. Example: "/home/user/my-app". |