Remove Target tool
The Remove Target tool deletes target segments from blocks. With a target locale set, it removes only that locale's targets; with no locale, it removes all targets. It is useful for resetting translations before a fresh run, or for clearing targets in a specific locale.
Removal can be scoped to specific text units by ID, which restricts the operation to a comma-separated list of block IDs. Optionally, a block whose targets are all removed can itself be dropped from the stream.
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
filterByIDs | boolean | true | When true filter text units by ID; when false filter by target locale |
removeBlockIfEmpty | boolean | false | Remove the text unit entirely if it has no remaining targets after removal |
targetLocale | string | Target locale to remove (if empty all targets are removed) | |
textUnitIDs | string | Comma-delimited list of text unit IDs whose targets should be removed; empty removes all targets |
Configure these parameters interactively and copy the flow-step YAML on the Tool Reference.
Examples
Clear one locale's targets
Remove the French targets from every block.
targetLocale: fr-FR
Remove targets for selected text units
Restrict removal to specific block IDs.
filterByIDs: true textUnitIDs: "intro.title, intro.body"
Processing notes
Operates on translatable blocks only; non-translatable blocks pass through unchanged.
← Back to the Tool Reference