lingo.dev cleanup
CLI reference docs for cleanup command
Introduction
Remove translation keys from target locales that no longer exist in the source locale
Usage
lingo.dev cleanup [options]
Options
--locale <locale>
lingo.dev cleanup --locale <locale>
Limit cleanup to a specific target locale from i18n.json. Defaults to all configured target locales
Requires a value.
--bucket <bucket>
lingo.dev cleanup --bucket <bucket>
Limit cleanup to a specific bucket type defined under buckets in i18n.json
Requires a value.
Flags
--dry-run
lingo.dev cleanup --dry-run
Preview which keys would be deleted without making any changes
--verbose
lingo.dev cleanup --verbose
Print detailed output showing the specific keys to be removed for each locale