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

ParameterTypeRequiredDescription
layerstringyesLayer name from discover (e.g., "root", "app-admin"). The key will be removed from ALL locale files in this layer.
keysstring[]yesDot-separated key paths to remove from every locale file in the layer. Example: "common.actions.delete", "auth.errors.expired".
dryRunbooleannoWhen true, returns a preview of what would be removed without writing any files. Default: false.
projectDirstringnoAbsolute 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.

Copyright © 2026