DEV Community

Discussion on: Multi Language App in Professional Way with Laravel !

Collapse
 
dostogirmir profile image
MIr Dostogir Ahmed • Edited

As my analyses i find this some important point.

using spatie/laravel-translatable stores translations in a JSON format within a single column. This approach can have some performance implications, particularly:

Slower Queries: Retrieving data with JSON columns can be slower than standard text columns because of the additional processing required to parse the JSON.

Indexing Limitations: JSON columns have limited indexing capabilities, which may impact query performance when filtering or sorting by translated fields.

Increased Complexity: Working with JSON columns can add complexity to your queries, especially if you need to filter or order by specific language values.