Laravel-Lang / publisher

Publisher provides functionality for working with application localization
https://laravel-lang.com/packages-publisher.html
MIT License
211 stars 25 forks source link

Why "lang:add" always implicitly includes en? #192

Closed sergejostir closed 2 years ago

sergejostir commented 2 years ago

Description:

When I run php artisan lang:add de, it also overwrites my en files. Shouldn't it only add de in this case?

Steps To Reproduce:

  1. Run php artisan lang:add de
  2. See your en files getting overwritten
andrey-helldar commented 2 years ago

That's right, in your case a new localization should be added. Existing localizations should not be changed.

I will fix this bug shortly.

andrey-helldar commented 2 years ago

Fixed in the v11.1.10.

Thank you!