public function getLocaleTitleAttribute()

    {
        $locale = app()->getlocale();
        return $this->title[$locale] ?? (($this->title["np"] ?? null) ? $this->title["np"] : $this->title["en"] );
    }

    public function getLocaleDescriptionAttribute()
    {
        $locale = app()->getlocale();
        return $this->description[$locale] ?? (($this->description["np"] ?? null) ? $this->description["np"] : $this->description["en"] );
    }

this is used in blade file

{{$data->localeTitle}}