Remove Locales
warning
When executed, this command deletes the entire locale folder with all files except the default and fallback locales.
To delete localizations, you must use the php artisan lang:rm <locale> command, passing the letter abbreviations into it:
php artisan lang:rm fr de de_AT de_CH vi zh_CN
If you do not specify arguments when passing parameters, then an interactive question will be displayed in the console with a choice of localizations from among the available ones.
php artisan lang:rm
By default, the command returns an error message when it attempts to remove a protected locale.
Protected locales are the codes set in the locale and fallback_locale parameters of the config/app.php file.
To force the deletion of a protected locale, use the force option:
php artisan lang:rm en --force