Astrotomic / laravel-translatable

A Laravel package for multilingual models
https://docs.astrotomic.info/laravel-translatable/
MIT License
1.22k stars 152 forks source link

SoftDelete on application translations #372

Closed camohub closed 6 months ago

camohub commented 7 months ago

Hi there, I have a transation_locales table where are all awailable languages for application. Some of them can be deleted by softDelete. Then every model have its own xmodel_translations table where model translations are stored. There is not soft delete. In this situation app returns all translations for model regardless the deleted languages in translation_locales table.

How could I implement the filter which will return only translations which are allowed in application?

Thanks for help.

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 7 days