Laravel-Lang / publisher

Publisher provides functionality for working with application localization

Home Page:https://laravel-lang.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why "lang:add" always implicitly includes en?

sergejostir opened this issue · comments

  • Lang Publisher Version: 11.1.9
  • Laravel Version: 8.73.2
  • PHP Version: 7.4.10

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

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

I will fix this bug shortly.

Fixed in the v11.1.10.

Thank you!