Delete a key that no longer exists
danyderigon opened this issue · 2 comments
danyderigon commented
Hello.
Is it possible that the extraction script automatically deletes the keys that no longer exist?
Example: A .blade.php file contained a string 'test'. This string doesn't exist anymore (it has been deleted from balde.php). Is it possible that it is automatically removed from the lang files so that we have a version that is always up to date and does not have a key that no longer exists?
amiranagram commented
Not currently, but It's a good feature that I can add, so we can have something like:
php artisan localize de,ru,es --remove-missing
Thanks for the suggestion.
danyderigon commented
Awesome, this would be a great feature !