Closed s-damian closed 1 year ago
hi, does this fix any particular issue?
It doesn't fix a bug. But this is to make it consistent with Laravel's lang architecture >= 9
this will be reviewed with next release if doesn't have any side effects
@mc0de this PR is definitely needed.
When I installed this package in a project and published its assets, all of our lang references broke. Some views even start throwing array to string exceptions.
This is a Laravel 9 project where we had translation files within /lang
.
When I removed the resources/lang
folder, the issue was resolved. I found the tip at https://stackoverflow.com/a/71085860
I also submitted a PR for this, as I didn't see this one.
This is a serious problem...
Thank you for PR
InvoiceServiceProvider: Manage lang path for Laravel >= 9