Laravel Translations UI package provides a user-friendly interface for managing translations in your Laravel application. It simplifies tasks such as adding, editing, deleting, and exporting translations. The package also includes a handy search feature and the ability to invite collaborators for easy translation management
MIT License
649
stars
91
forks
source link
not working with `JsonResource::withoutWrapping();` #78
If the laravel application is using JsonResource::withoutWrapping(); the whole translation ui won't work.
after a little of checking looks like in the translations main page the code is accessing the translations as follows translations.data which is in case of JsonResource::withoutWrapping(); It will be just translations.
tried to do this change as PR but as the package only have the compiled JS code it'll be so hard to do so
If the laravel application is using
JsonResource::withoutWrapping();
the whole translation ui won't work.after a little of checking looks like in the translations main page the code is accessing the translations as follows
translations.data
which is in case ofJsonResource::withoutWrapping();
It will be justtranslations
.tried to do this change as PR but as the package only have the compiled JS code it'll be so hard to do so