After reflecting upon it I believe it's better to keep the language strings in the places where's they're used. This keeps a smaller footprint and easier way to edit them without having to move through different language files.
So how this would go is that we need to replace the keys with their actual language strings:
$this->success('settings.deleted');
Becomes
$this->success('Account was successfully removed.');
Additionally, SendsAlerts should be updated to use the __() helper instead of the obsolete trans helper.
Lastly, all language files, including its directory should be removed. It's not needed to add an en.json language file because it's highly unlikely we'll ever offer multi language support for Laravel.io
After reflecting upon it I believe it's better to keep the language strings in the places where's they're used. This keeps a smaller footprint and easier way to edit them without having to move through different language files.
So how this would go is that we need to replace the keys with their actual language strings:
Becomes
Additionally,
SendsAlerts
should be updated to use the__()
helper instead of the obsoletetrans
helper.Lastly, all language files, including its directory should be removed. It's not needed to add an
en.json
language file because it's highly unlikely we'll ever offer multi language support for Laravel.io