locales delete
Deletes a target locale file <lang>.json under localesDir, and <lang>.meta.json when it exists. The source locale file cannot be deleted (same rule as fill / generate).
Safety
- Interactive: Confirmation prompt unless global
--yes. --ask(interactive): Adds one extra safety confirmation prompt.- Non-interactive: Requires global
--yesor the command errors.
Future
Auto-patching of app i18n loader wiring when a registered pattern is detected is planned (see Roadmap); today only the JSON files are removed.
Usage
i18nprune locales delete --lang ja
i18nprune locales delete --lang ja --ask