potsky / laravel-localization-helpers

🎌 Artisan commands to generate and update lang files automatically
GNU General Public License v3.0
187 stars 39 forks source link

"Generated via "php artisan localization:missing" at xxx" not practical with version control #66

Closed philippejadin closed 7 years ago

philippejadin commented 7 years ago

Each time I run php artisan localization:missing, every file is updated with the "generated by" line. Then version control (git) want to update all the lang files and I need to unstage manually each file.

Would be great to have an option to not add this "generated" line. Ideally in config so it can be made a default.

Is it a good idea? Intended behavior?

And thank you for the great tool btw

potsky commented 7 years ago

Read the doc ;-)

Use the —no-date argument or with the short syntax :

php artisan localization:missing -d

It should save your commit history. Enjoy !

philippejadin commented 7 years ago

Oh my! Sorry for that :-/