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?
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.