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

Alignment = false still removes comments #193

Closed sergejostir closed 2 years ago

sergejostir commented 2 years ago

Description:

Considering the documentation (https://laravel-lang.github.io/publisher/features/alignment.html), I understand that if you disable alignment, then the comments should stay. Or why would that section even talk about comments being removed?

Steps To Reproduce:

  1. Set 'alignment' => false, in the config file
  2. Get comments still removed from the translation files
andrey-helldar commented 2 years ago

No, comments are always deleted, since the php array does not provide for storing comments.