MCP Tools
remove_translations
Remove one or more translation keys from ALL locale files in the specified layer. Use dryRun to preview changes before applying them.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
layer | string | yes | Layer name from discover (e.g., "root", "app-admin"). The key will be removed from ALL locale files in this layer. |
keys | string[] | yes | Dot-separated key paths to remove from every locale file in the layer. Example: "common.actions.delete", "auth.errors.expired". |
dryRun | boolean | no | When true, returns a preview of what would be removed without writing any files. Default: false. |
projectDir | string | no | Absolute path to the Nuxt project root. Defaults to I18N_PROJECT_DIR, then server cwd. Example: "/home/user/my-app". |
Paired CLI Command
The same operation runs from a terminal as the-i18n-cli remove, whose page documents its flags. Both paths call the same @the-i18n-kit/cli functions, so the result is the same.
Every tool is advertised by the-i18n-mcp and listed on the MCP tools overview.