Download file
Make it executable and launch it :
chmod +x migrate_lang
./migrate_lang /path/to/laravel/project
Or you can use PHP to launch it :
php ./migrate_lang /path/to/laravel/project
On macOS, in order to replace all trans(
to __(
, you should force a gnu-sed
install :
brew install gnu-sed --with-default-names