Interface Translation Delete
interface_translation_deleteRemoves a single language's interface translation entry for a source string while keeping the source intact, so other languages remain unaffected.
Instructions
Remove an interface translation from one language.
Drops the row from locales_target for this source and language; the
source string itself stays, because it is Drupal's own string and other
languages still use it. There is no locale:translate:delete command,
and re-importing a .po file without the entry is no longer the only way
to do this.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>",
"langcode": "<langcode>"
},
"name": "interface_translation_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| context | No | ||
| langcode | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||