public function get()
{
return Tag::query()
->whereHasMorph('posts', Post::class,
fn ($query) => $query->where('is_active', '=', true))
->with('tagLocalization',
fn ($query) => $query
->where('lang', App::getLocale()))
->get();
}
public function posts(): MorphToMany
{
return $this->morphToMany(Post::class, 'tagable');
}